""" theme.py SkyOS Dashboard Theme Zentrale Darstellungskonfiguration für das Armaturenbrett. Autor: Sky Meilin Projekt: SkyOS """ from __future__ import annotations from dataclasses import dataclass # --------------------------------------------------------- # Theme Definition # --------------------------------------------------------- @dataclass(frozen=True) class DashboardTheme: """ Farb- und Style-Konfiguration des Dashboards. """ # Hintergrund background: str = "#0b1120" surface: str = "#111827" panel: str = "#1f2937" # Text text: str = "#f8fafc" muted: str = "#94a3b8" # Statusfarben online: str = "#22c55e" warning: str = "#eab308" error: str = "#ef4444" offline: str = "#64748b" # Akzente primary: str = "#38bdf8" secondary: str = "#6366f1" # UI border_radius: str = "12px" panel_padding: str = "16px" # --------------------------------------------------------- # Standard Theme # --------------------------------------------------------- DEFAULT_THEME = DashboardTheme() # --------------------------------------------------------- # Theme Zugriff # --------------------------------------------------------- def get_theme() -> DashboardTheme: """ Gibt das aktive Dashboard Theme zurück. """ return DEFAULT_THEME