Rename the Default theme option to System.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-04 21:49:06 +03:00
parent 648325a690
commit b2402f4c72
10 changed files with 57 additions and 23 deletions
+2 -2
View File
@@ -483,8 +483,8 @@ func validateConfig(config domain.Config) error {
}
// Empty Theme is accepted and normalized to the branded theme on load, so
// older configs (and hand-built ones) stay valid without an explicit theme.
if config.Theme != "" && config.Theme != domain.ThemeDefault && config.Theme != domain.ThemeGoSentry {
return errors.New("theme must be 'default' or 'gosentry'")
if config.Theme != "" && config.Theme != domain.ThemeSystem && config.Theme != domain.ThemeGoSentry {
return errors.New("theme must be 'system' or 'gosentry'")
}
return nil
}