Commit 3ad1ad3
fix: improve confirm prompt button visibility in appkit theme (#4925)
## Summary
- The Yes/No confirm buttons in `databricks apps init` inherited
`ThemeBase` defaults (ANSI colors 0/7), making it very hard to tell
which option was currently selected.
- Style the focused button with bold yellow underlined text and the
blurred button with dim adaptive gray, removing background rectangles
for a cleaner text-only look.
- Uses `lipgloss.AdaptiveColor` for the blurred button so it's legible
on both light and dark terminals.
### After
<img width="515" height="135" alt="image"
src="https://github.com/user-attachments/assets/0de502e9-0786-468d-84ef-1ad032212622"
/>
## Test plan
- [ ] Run `databricks apps init` and verify the Yes/No confirm prompt
clearly highlights the selected option with yellow bold underlined text
- [ ] Test on both light and dark terminal backgrounds to confirm
legibility
Co-authored-by: MarioCadenas <MarioCadenas@users.noreply.github.com>
Co-authored-by: simon <4305831+simonfaltum@users.noreply.github.com>1 parent e8391f4 commit 3ad1ad3
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
44 | 58 | | |
45 | 59 | | |
46 | 60 | | |
| |||
0 commit comments