mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
3b14814740
Theme choices via /theme or ctx.SetTheme() were previously lost on restart. Now the selected theme name is saved to ~/.config/kit/preferences.yml and restored on next launch. Precedence: .kit.yml theme > preferences.yml > default (kitt). - Add internal/ui/preferences.go with atomic save/load - ApplyTheme() now persists; ApplyThemeWithoutSave() for startup - Fallback to saved preference in cmd/root.go init()