diff options
| author | adamdottv <[email protected]> | 2025-07-04 10:29:40 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-07-04 10:55:02 -0500 |
| commit | f9abc7c84f2544f5844d795bf835064114734817 (patch) | |
| tree | 9719b89b2477e53021aad5fe94c5d465d3f5362b /packages/tui/internal/components/modal | |
| parent | 891ed6ebc006703d5a26f89ecc85bd86f9b2133e (diff) | |
| download | opencode-f9abc7c84f2544f5844d795bf835064114734817.tar.gz opencode-f9abc7c84f2544f5844d795bf835064114734817.zip | |
feat(tui): file attachments
Diffstat (limited to 'packages/tui/internal/components/modal')
| -rw-r--r-- | packages/tui/internal/components/modal/modal.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/internal/components/modal/modal.go b/packages/tui/internal/components/modal/modal.go index aa81a83e7..5c2fbf8bb 100644 --- a/packages/tui/internal/components/modal/modal.go +++ b/packages/tui/internal/components/modal/modal.go @@ -90,7 +90,7 @@ func (m *Modal) Render(contentView string, background string) string { innerWidth := outerWidth - 4 - baseStyle := styles.NewStyle().Foreground(t.TextMuted()).Background(t.BackgroundElement()) + baseStyle := styles.NewStyle().Foreground(t.TextMuted()).Background(t.BackgroundPanel()) var finalContent string if m.title != "" { @@ -140,6 +140,6 @@ func (m *Modal) Render(contentView string, background string) string { modalView, background, layout.WithOverlayBorder(), - layout.WithOverlayBorderColor(t.BorderActive()), + layout.WithOverlayBorderColor(t.Primary()), ) } |
