diff options
| author | adamdottv <[email protected]> | 2025-06-12 06:06:53 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-12 16:00:24 -0500 |
| commit | ae339015fc7c96a98c2e4c0a359d5500c7801c15 (patch) | |
| tree | bc2439001ed802ccf565070c8f9ccd5e70ea10b5 /packages/tui/internal/styles | |
| parent | cce2e4ad754479917fc8f6f24c1421cf19c04573 (diff) | |
| download | opencode-ae339015fc7c96a98c2e4c0a359d5500c7801c15.tar.gz opencode-ae339015fc7c96a98c2e4c0a359d5500c7801c15.zip | |
wip: refactoring tui
Diffstat (limited to 'packages/tui/internal/styles')
| -rw-r--r-- | packages/tui/internal/styles/styles.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/tui/internal/styles/styles.go b/packages/tui/internal/styles/styles.go index 4b29091c3..fa82640fb 100644 --- a/packages/tui/internal/styles/styles.go +++ b/packages/tui/internal/styles/styles.go @@ -9,9 +9,7 @@ import ( // BaseStyle returns the base style with background and foreground colors func BaseStyle() lipgloss.Style { t := theme.CurrentTheme() - return lipgloss.NewStyle(). - Background(t.Background()). - Foreground(t.Text()) + return lipgloss.NewStyle().Foreground(t.Text()) } func Panel() lipgloss.Style { @@ -30,7 +28,7 @@ func Regular() lipgloss.Style { func Muted() lipgloss.Style { t := theme.CurrentTheme() - return lipgloss.NewStyle().Background(t.Background()).Foreground(t.TextMuted()) + return lipgloss.NewStyle().Foreground(t.TextMuted()) } // Bold returns a bold style |
