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/components/diff/diff.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/tui/internal/components/diff') diff --git a/packages/tui/internal/components/diff/diff.go b/packages/tui/internal/components/diff/diff.go index 2f655554e..13f0f562f 100644 --- a/packages/tui/internal/components/diff/diff.go +++ b/packages/tui/internal/components/diff/diff.go @@ -441,10 +441,10 @@ func SyntaxHighlight(w io.Writer, source, fileName, formatter string, bg color.C `, - getColor(t.BackgroundSubtle()), // Background - getColor(t.Text()), // Text - getColor(t.Text()), // Other - getColor(t.Error()), // Error + getColor(t.BackgroundPanel()), // Background + getColor(t.Text()), // Text + getColor(t.Text()), // Other + getColor(t.Error()), // Error getColor(t.SyntaxKeyword()), // Keyword getColor(t.SyntaxKeyword()), // KeywordConstant @@ -614,7 +614,7 @@ func applyHighlighting(content string, segments []Segment, segmentType LineType, // Get the appropriate color based on terminal background bgColor := lipgloss.Color(getColor(highlightBg)) - fgColor := lipgloss.Color(getColor(theme.CurrentTheme().BackgroundSubtle())) + fgColor := lipgloss.Color(getColor(theme.CurrentTheme().BackgroundPanel())) for i := 0; i < len(content); { // Check if we're at an ANSI sequence -- cgit v1.2.3