Skip to content

Commit 62695cd

Browse files
committed
fix: adjust color palette to work with dark terminals
1 parent d692f11 commit 62695cd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

internal/iostreams/charm_theme.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import (
2424

2525
// Slack brand colors
2626
var (
27-
slackAubergine = lipgloss.Color("#4a154b")
28-
slackBrightAuberg = lipgloss.Color("#611f69")
27+
slackAubergine = lipgloss.Color("#83388a")
2928
slackBlue = lipgloss.Color("#36c5f0")
3029
slackGreen = lipgloss.Color("#2eb67d")
3130
slackYellow = lipgloss.Color("#ecb22e")
@@ -43,7 +42,7 @@ func ThemeSlack() *huh.Theme {
4342

4443
// Focused field styles
4544
t.Focused.Base = t.Focused.Base.
46-
BorderForeground(slackBrightAuberg)
45+
BorderForeground(slackAubergine)
4746
t.Focused.Title = lipgloss.NewStyle().
4847
Foreground(slackAubergine).
4948
Bold(true)
@@ -100,12 +99,12 @@ func ThemeSlack() *huh.Theme {
10099
Padding(0, 2).
101100
MarginRight(1)
102101
t.Focused.FocusedButton = button.
103-
Foreground(lipgloss.Color("#fff")).
102+
Foreground(lipgloss.Color("#ffffff")).
104103
Background(slackAubergine).
105104
Bold(true)
106105
t.Focused.BlurredButton = button.
107106
Foreground(slackLegalGray).
108-
Background(lipgloss.Color("#000"))
107+
Background(lipgloss.Color("#f8f8f8"))
109108

110109
// Blurred field styles — subdued version of focused
111110
t.Blurred = t.Focused

0 commit comments

Comments
 (0)