hook up config settings to light/dark appearance

This commit is contained in:
Drew Weymouth
2023-05-01 17:45:34 -07:00
parent cdac9ae66f
commit 62f8f821cc
3 changed files with 26 additions and 7 deletions
+8
View File
@@ -87,6 +87,10 @@ type ReplayGainConfig struct {
PreventClipping bool
}
type ThemeConfig struct {
Appearance string
}
type Config struct {
Application AppConfig
Servers []*ServerConfig
@@ -101,6 +105,7 @@ type Config struct {
LocalPlayback LocalPlaybackConfig
Scrobbling ScrobbleConfig
ReplayGain ReplayGainConfig
Theme ThemeConfig
}
var SupportedStartupPages = []string{"Albums", "Favorites", "Playlists"}
@@ -158,6 +163,9 @@ func DefaultConfig(appVersionTag string) *Config {
PreampGainDB: 0.0,
PreventClipping: true,
},
Theme: ThemeConfig{
Appearance: "Dark",
},
}
}