summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/styles
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-06-20 11:52:26 -0500
committeradamdottv <[email protected]>2025-06-20 13:00:31 -0500
commit8b73c52f00661a516cd89d9bb45b036dcc93c0f0 (patch)
tree5c14ad5894e608801bc32505c4957dd2e50d6029 /packages/tui/internal/styles
parent5603098d174ee17d08a19908ee40a91cea9c9c05 (diff)
downloadopencode-8b73c52f00661a516cd89d9bb45b036dcc93c0f0.tar.gz
opencode-8b73c52f00661a516cd89d9bb45b036dcc93c0f0.zip
chore(tui): rename theme colors
Diffstat (limited to 'packages/tui/internal/styles')
-rw-r--r--packages/tui/internal/styles/styles.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/tui/internal/styles/styles.go b/packages/tui/internal/styles/styles.go
index fa82640fb..733fce55c 100644
--- a/packages/tui/internal/styles/styles.go
+++ b/packages/tui/internal/styles/styles.go
@@ -15,7 +15,7 @@ func BaseStyle() lipgloss.Style {
func Panel() lipgloss.Style {
t := theme.CurrentTheme()
return lipgloss.NewStyle().
- Background(t.BackgroundSubtle()).
+ Background(t.BackgroundPanel()).
Border(lipgloss.NormalBorder(), true, false, true, false).
BorderForeground(t.BorderSubtle()).
Foreground(t.Text())
@@ -131,9 +131,9 @@ func BackgroundColor() compat.AdaptiveColor {
return theme.CurrentTheme().Background()
}
-// BackgroundSubtleColor returns the subtle background color from the current theme
-func BackgroundSubtleColor() compat.AdaptiveColor {
- return theme.CurrentTheme().BackgroundSubtle()
+// BackgroundPanelColor returns the subtle background color from the current theme
+func BackgroundPanelColor() compat.AdaptiveColor {
+ return theme.CurrentTheme().BackgroundPanel()
}
// BackgroundElementColor returns the darker background color from the current theme