summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/theme
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tui/internal/theme')
-rw-r--r--packages/tui/internal/theme/ayu.go2
-rw-r--r--packages/tui/internal/theme/everforest.go2
-rw-r--r--packages/tui/internal/theme/manager.go2
-rw-r--r--packages/tui/internal/theme/opencode.go2
-rw-r--r--packages/tui/internal/theme/theme.go6
-rw-r--r--packages/tui/internal/theme/tokyonight.go2
6 files changed, 8 insertions, 8 deletions
diff --git a/packages/tui/internal/theme/ayu.go b/packages/tui/internal/theme/ayu.go
index 108fa056d..2cb24a710 100644
--- a/packages/tui/internal/theme/ayu.go
+++ b/packages/tui/internal/theme/ayu.go
@@ -98,7 +98,7 @@ func NewAyuTheme() *AyuTheme {
Dark: lipgloss.Color(darkBg),
Light: lipgloss.Color(darkBg),
}
- theme.BackgroundSubtleColor = compat.AdaptiveColor{
+ theme.BackgroundPanelColor = compat.AdaptiveColor{
Dark: lipgloss.Color(darkBgAlt),
Light: lipgloss.Color(darkBgAlt),
}
diff --git a/packages/tui/internal/theme/everforest.go b/packages/tui/internal/theme/everforest.go
index d840867d3..60ea3849a 100644
--- a/packages/tui/internal/theme/everforest.go
+++ b/packages/tui/internal/theme/everforest.go
@@ -120,7 +120,7 @@ func NewEverforestTheme() *EverforestTheme {
Dark: lipgloss.Color(darkStep1),
Light: lipgloss.Color(lightStep1),
}
- theme.BackgroundSubtleColor = compat.AdaptiveColor{
+ theme.BackgroundPanelColor = compat.AdaptiveColor{
Dark: lipgloss.Color(darkStep2),
Light: lipgloss.Color(lightStep2),
}
diff --git a/packages/tui/internal/theme/manager.go b/packages/tui/internal/theme/manager.go
index c54ed1119..aaf0db26e 100644
--- a/packages/tui/internal/theme/manager.go
+++ b/packages/tui/internal/theme/manager.go
@@ -146,7 +146,7 @@ func LoadCustomTheme(customTheme map[string]any) (Theme, error) {
case "background":
theme.BackgroundColor = adaptiveColor
case "backgroundsubtle":
- theme.BackgroundSubtleColor = adaptiveColor
+ theme.BackgroundPanelColor = adaptiveColor
case "backgroundelement":
theme.BackgroundElementColor = adaptiveColor
case "border":
diff --git a/packages/tui/internal/theme/opencode.go b/packages/tui/internal/theme/opencode.go
index 8f188be3c..a9d3f3b41 100644
--- a/packages/tui/internal/theme/opencode.go
+++ b/packages/tui/internal/theme/opencode.go
@@ -119,7 +119,7 @@ func NewOpenCodeTheme() *OpenCodeTheme {
Dark: lipgloss.Color(darkStep1),
Light: lipgloss.Color(lightStep1),
}
- theme.BackgroundSubtleColor = compat.AdaptiveColor{
+ theme.BackgroundPanelColor = compat.AdaptiveColor{
Dark: lipgloss.Color(darkStep2),
Light: lipgloss.Color(lightStep2),
}
diff --git a/packages/tui/internal/theme/theme.go b/packages/tui/internal/theme/theme.go
index 2769a1720..9b1af1cce 100644
--- a/packages/tui/internal/theme/theme.go
+++ b/packages/tui/internal/theme/theme.go
@@ -14,7 +14,7 @@ import (
type Theme interface {
// Background colors
Background() compat.AdaptiveColor // Radix 1
- BackgroundSubtle() compat.AdaptiveColor // Radix 2
+ BackgroundPanel() compat.AdaptiveColor // Radix 2
BackgroundElement() compat.AdaptiveColor // Radix 3
// Border colors
@@ -84,7 +84,7 @@ type Theme interface {
type BaseTheme struct {
// Background colors
BackgroundColor compat.AdaptiveColor
- BackgroundSubtleColor compat.AdaptiveColor
+ BackgroundPanelColor compat.AdaptiveColor
BackgroundElementColor compat.AdaptiveColor
// Border colors
@@ -163,7 +163,7 @@ func (t *BaseTheme) Text() compat.AdaptiveColor { return t.TextColor }
func (t *BaseTheme) TextMuted() compat.AdaptiveColor { return t.TextMutedColor }
func (t *BaseTheme) Background() compat.AdaptiveColor { return t.BackgroundColor }
-func (t *BaseTheme) BackgroundSubtle() compat.AdaptiveColor { return t.BackgroundSubtleColor }
+func (t *BaseTheme) BackgroundPanel() compat.AdaptiveColor { return t.BackgroundPanelColor }
func (t *BaseTheme) BackgroundElement() compat.AdaptiveColor { return t.BackgroundElementColor }
func (t *BaseTheme) Border() compat.AdaptiveColor { return t.BorderColor }
diff --git a/packages/tui/internal/theme/tokyonight.go b/packages/tui/internal/theme/tokyonight.go
index 8bb32dced..1c160078a 100644
--- a/packages/tui/internal/theme/tokyonight.go
+++ b/packages/tui/internal/theme/tokyonight.go
@@ -117,7 +117,7 @@ func NewTokyoNightTheme() *TokyoNightTheme {
Dark: lipgloss.Color(darkStep1),
Light: lipgloss.Color(lightStep1),
}
- theme.BackgroundSubtleColor = compat.AdaptiveColor{
+ theme.BackgroundPanelColor = compat.AdaptiveColor{
Dark: lipgloss.Color(darkStep2),
Light: lipgloss.Color(lightStep2),
}