Allow disabling theme picker

This commit is contained in:
Svilen Markov
2025-05-19 21:25:33 +01:00
parent b294839b79
commit b4094b28bd
5 changed files with 60 additions and 37 deletions
+4 -2
View File
@@ -47,8 +47,10 @@ type config struct {
Theme struct {
themeProperties `yaml:",inline"`
CustomCSSFile string `yaml:"custom-css-file"`
Presets orderedYAMLMap[string, *themeProperties] `yaml:"presets"`
CustomCSSFile string `yaml:"custom-css-file"`
DisablePicker bool `yaml:"disable-picker"`
Presets orderedYAMLMap[string, *themeProperties] `yaml:"presets"`
} `yaml:"theme"`
Branding struct {