diff options
| author | adamdottv <[email protected]> | 2025-06-20 11:52:26 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-20 13:00:31 -0500 |
| commit | 8b73c52f00661a516cd89d9bb45b036dcc93c0f0 (patch) | |
| tree | 5c14ad5894e608801bc32505c4957dd2e50d6029 /packages/tui/internal/components/diff/diff.go | |
| parent | 5603098d174ee17d08a19908ee40a91cea9c9c05 (diff) | |
| download | opencode-8b73c52f00661a516cd89d9bb45b036dcc93c0f0.tar.gz opencode-8b73c52f00661a516cd89d9bb45b036dcc93c0f0.zip | |
chore(tui): rename theme colors
Diffstat (limited to 'packages/tui/internal/components/diff/diff.go')
| -rw-r--r-- | packages/tui/internal/components/diff/diff.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 <entry type="TextWhitespace" style="%s"/> </style> `, - 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 |
