Revert "feat(tui): overhaul latency sparkline scaling, color, and layout"

This reverts commit 63926e2932.
This commit is contained in:
2026-06-04 19:37:20 -04:00
parent 63926e2932
commit e53077fe70
8 changed files with 35 additions and 349 deletions
-9
View File
@@ -25,10 +25,6 @@ var (
titleStyle lipgloss.Style
activeTab lipgloss.Style
inactiveTab lipgloss.Style
sparkSuccess string
sparkWarning string
sparkDanger string
)
func applyTheme(t Theme) {
@@ -37,11 +33,6 @@ func applyTheme(t Theme) {
warnStyle = lipgloss.NewStyle().Foreground(t.Warning)
staleStyle = lipgloss.NewStyle().Foreground(t.Stale)
dangerStyle = lipgloss.NewStyle().Foreground(t.Danger)
sparkSuccess = string(t.Success)
sparkWarning = string(t.Warning)
sparkDanger = string(t.Danger)
titleStyle = lipgloss.NewStyle().Foreground(t.Accent).Bold(true)
activeTab = lipgloss.NewStyle().Border(lipgloss.NormalBorder(), false, false, true, false).BorderForeground(t.Accent).Foreground(t.Accent).Bold(true).Padding(0, 1)
inactiveTab = lipgloss.NewStyle().Padding(0, 1).Foreground(t.Muted)