feat: theme - 01

This commit is contained in:
kodi
2026-03-12 18:49:13 +01:00
parent ab83ee3f20
commit 09c3e14dea
17 changed files with 852 additions and 82 deletions
@@ -6,7 +6,7 @@ from backend.app.db.settings_repository import SettingsRepository
from backend.app.security.path_guard import PathGuard
VALID_THEMES = {"default"}
VALID_THEMES = {"default", "macos-soft", "midnight", "graphite", "windows11"}
VALID_COLOR_MODES = {"dark", "light"}
@@ -86,7 +86,7 @@ class SettingsService:
raise AppError(
status_code=400,
code="invalid_request",
message="Theme must be one of: default",
message="Theme must be one of: default, macos-soft, midnight, graphite, windows11",
)
return normalized