ui: standardize 6-column grid and fix tab colors

This commit is contained in:
2026-04-21 00:21:33 +02:00
parent 980469b448
commit 8a887f23fe
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ package shared
func TabClass(active bool) string {
base := "shrink-0 whitespace-nowrap bg-(--panel-soft) px-2 py-1 text-xs text-(--text-muted) no-underline hover:bg-(--surface-tab-hover) hover:text-(--text) hover:no-underline"
if active {
return "shrink-0 whitespace-nowrap bg-(--surface-tab-active) px-2 py-1 text-xs text-(--accent) no-underline hover:no-underline"
return "shrink-0 whitespace-nowrap bg-(--surface-tab-active) px-2 py-1 text-xs text-(--text-tab-active) no-underline hover:no-underline"
}
return base
}