add theming

This commit is contained in:
mr0xb 2026-08-24 15:43:03 -04:00
commit 8639799f6d
10 changed files with 1069 additions and 287 deletions

17
cmd/root_test.go Normal file
View file

@ -0,0 +1,17 @@
package cmd
import "testing"
func TestValidateTheme_Valid(t *testing.T) {
for _, name := range []string{"cyberpunk", "purplerain", "cactus"} {
if err := validateTheme(name); err != nil {
t.Errorf("validateTheme(%q) unexpected error: %v", name, err)
}
}
}
func TestValidateTheme_Invalid(t *testing.T) {
if err := validateTheme("not-a-theme"); err == nil {
t.Error("expected error for unrecognized theme name")
}
}