fix(theming): restore gruvbox as default via Default() helper

This commit is contained in:
MDietermann
2026-04-14 13:42:58 +02:00
parent 4f7411ca95
commit 698271a235
6 changed files with 28 additions and 14 deletions

View File

@@ -54,10 +54,7 @@ func NewWizardState(cfg config.Config, reg *module.Registry) WizardState {
}
sort.Slice(choices, func(i, j int) bool { return choices[i].ID < choices[j].ID })
var theme string
if list := theming.List(); len(list) > 0 {
theme = list[0].ID
}
theme := theming.Default().ID
if override, ok := cfg.ThemeOverrides["__active"]; ok && override != "" {
theme = override
}