aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:04:23 -0800
committerFuwn <[email protected]>2026-01-20 05:04:23 -0800
commit44a6f0c5acb1984b9565b0c093898a99b9330d81 (patch)
tree1d20916424ec88209604a171f60e3d73070be39b /internal/config
parentchore: Add justfile (diff)
downloadkaze-44a6f0c5acb1984b9565b0c093898a99b9330d81.tar.xz
kaze-44a6f0c5acb1984b9565b0c093898a99b9330d81.zip
refactor: Use CSS prefers-color-scheme instead of JS-based theme toggle
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 68a88f7..dfd403a 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -30,8 +30,6 @@ type DisplayConfig struct {
PingFixedSlots bool `yaml:"ping_fixed_slots"`
// Timezone for display (e.g., "UTC", "America/New_York", "Local")
Timezone string `yaml:"timezone"`
- // ShowThemeToggle controls whether to show the theme toggle button (defaults to true)
- ShowThemeToggle *bool `yaml:"show_theme_toggle"`
}
// SiteConfig contains site metadata
@@ -204,10 +202,6 @@ func (c *Config) applyDefaults() {
if c.Display.Timezone == "" {
c.Display.Timezone = "Local"
}
- if c.Display.ShowThemeToggle == nil {
- defaultShow := true
- c.Display.ShowThemeToggle = &defaultShow
- }
// Apply group defaults
for i := range c.Groups {