Adds website theme serialization system

This commit is contained in:
Your Name
2026-07-06 06:52:18 +00:00
parent b932d65658
commit 8cd54459ec
29 changed files with 418 additions and 4 deletions
+8
View File
@@ -98,6 +98,10 @@ class StationConfigResponse(BaseModel):
color_success: str
color_danger: str
color_info: str
color_white: str
color_light: str
color_medium: str
color_black: str
model_config = {"from_attributes": True}
@@ -145,6 +149,10 @@ class StationConfigUpdate(BaseModel):
color_success: Optional[str] = None
color_danger: Optional[str] = None
color_info: Optional[str] = None
color_white: Optional[str] = None
color_light: Optional[str] = None
color_medium: Optional[str] = None
color_black: Optional[str] = None
# ── HistoryEntry ──────────────────────────────────────────