From 8b73c52f00661a516cd89d9bb45b036dcc93c0f0 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Fri, 20 Jun 2025 11:52:26 -0500 Subject: chore(tui): rename theme colors --- packages/tui/internal/styles/styles.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/tui/internal/styles') 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 -- cgit v1.2.3