From 7d13baadc84d7377a352c6d58ed9deeea2c918be Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Thu, 26 Jun 2025 10:16:07 -0500 Subject: feat: default system theme (#419) Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com> --- packages/tui/internal/components/modal/modal.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'packages/tui/internal/components/modal') diff --git a/packages/tui/internal/components/modal/modal.go b/packages/tui/internal/components/modal/modal.go index 62cafe843..6bce64247 100644 --- a/packages/tui/internal/components/modal/modal.go +++ b/packages/tui/internal/components/modal/modal.go @@ -90,12 +90,8 @@ func (m *Modal) Render(contentView string, background string) string { innerWidth := outerWidth - 4 - // Base style for the modal - baseStyle := styles.BaseStyle(). - Background(t.BackgroundElement()). - Foreground(t.TextMuted()) + baseStyle := styles.NewStyle().Foreground(t.TextMuted()).Background(t.BackgroundElement()) - // Add title if provided var finalContent string if m.title != "" { titleStyle := baseStyle. -- cgit v1.2.3