diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-02-09 18:46:53 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-02-09 18:46:53 +0200 |
| commit | cb72418324abfe6b133f0607b7269f5c4ec1f274 (patch) | |
| tree | 651025fb142752dcb6fad234437b5b0332c16f33 /internal/client/ui/auth/auth.go | |
| parent | 4b4b09dee11aec2ca2b3b03d46a66e153ef4036a (diff) | |
Choice popup colors are now runtime-friendly
Diffstat (limited to 'internal/client/ui/auth/auth.go')
| -rw-r--r-- | internal/client/ui/auth/auth.go | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/internal/client/ui/auth/auth.go b/internal/client/ui/auth/auth.go index 2bfe5be..32fb232 100644 --- a/internal/client/ui/auth/auth.go +++ b/internal/client/ui/auth/auth.go @@ -65,9 +65,18 @@ ___] | |__] | \| | | \|`) return lipgloss.NewStyle().Background(colors.Background).Foreground(colors.White).PaddingLeft(1).Render(" ") } - popupStyle = func() lipgloss.Style { return lipgloss.NewStyle().Border(lipgloss.ThickBorder()) } - choiceSelectedStyle = func() lipgloss.Style { return lipgloss.NewStyle().Padding(0, 1).Margin(0, 1).Background(colors.Blue) } - choiceUnselectedStyle = func() lipgloss.Style { return lipgloss.NewStyle().Padding(0, 1).Margin(0, 1).Background(colors.Gray) } + popupStyle = func() lipgloss.Style { + return lipgloss.NewStyle(). + Background(colors.Background).Foreground(colors.White). + BorderBackground(colors.Background).BorderForeground(colors.White). + Border(lipgloss.ThickBorder()) + } + choiceSelectedStyle = func() lipgloss.Style { + return lipgloss.NewStyle().Padding(0, 1).Margin(0, 1).Background(colors.Blue).MarginBackground(colors.Background) + } + choiceUnselectedStyle = func() lipgloss.Style { + return lipgloss.NewStyle().Padding(0, 1).Margin(0, 1).Background(colors.Gray).MarginBackground(colors.Background) + } centerStyle = lipgloss.NewStyle().Width(authWidth).AlignHorizontal(lipgloss.Center) ) |
