From 6cb8d03c5b993ab83366007eed180369af7877d5 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Wed, 13 Mar 2024 05:39:09 +0000 Subject: [PATCH] tui: style tweaks --- pkg/tui/tui.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkg/tui/tui.go b/pkg/tui/tui.go index 4d2e260..af689eb 100644 --- a/pkg/tui/tui.go +++ b/pkg/tui/tui.go @@ -72,15 +72,14 @@ type ( // styles var ( - userStyle = lipgloss.NewStyle().PaddingLeft(1).Bold(true).Foreground(lipgloss.Color("10")) - assistantStyle = lipgloss.NewStyle().PaddingLeft(1).Bold(true).Foreground(lipgloss.Color("12")) - messageStyle = lipgloss.NewStyle().PaddingLeft(2) + userStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("10")) + assistantStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("12")) + messageStyle = lipgloss.NewStyle().PaddingLeft(1) headerStyle = lipgloss.NewStyle(). PaddingLeft(1). Background(lipgloss.Color("0")) contentStyle = lipgloss.NewStyle(). - PaddingTop(1). - PaddingBottom(1) + Padding(1) footerStyle = lipgloss.NewStyle(). Faint(true). BorderTop(true).