Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Module Shared/Theme

    Cyberpunk design system theme constants with dark/light mode support. Single source of truth for colors, breakpoints, and typography used across all dashboards.

    Theme architecture: – DARK_THEME_COLORS → Ingress-inspired neon palette (matches html[data-theme="dark"]) – LIGHT_THEME_COLORS → Professional green palette (matches html[data-theme="light"] / :root) – THEME_COLORS → Deprecated constant alias of DARK_THEME_COLORS (kept for backwards compatibility; not runtime-resolved)

    WCAG 2.1 AA compliance: Dark #001a1a / #f0f0f0 → 18.1:1 ✅ Cyan #00d9ff / #001a1a → 9.4:1 ✅ Light #f5f5f5 / #1a1a1a → 16.1:1 ✅ Cyan #0077b6 / #f5f5f5 → 5.2:1 ✅

    Visual intelligence presentation standards — cyberpunk design system encoding risk severity (CRITICAL red → LOW green), classification levels, and intelligence hierarchy through consistent color semantics and typography.

    Brand identity infrastructure — the cyberpunk theme is a key differentiator creating instant visual recognition. Design system consistency reduces development cost for new features and ensures professional appearance across all 14 language versions.

    Brand consistency engine — ensures every screenshot, embed, and shared visualization carries the distinctive Riksdagsmonitor visual identity. CSS custom properties enable white-label customization for enterprise/B2G clients.

    Variables

    DARK_THEME_COLORS
    LIGHT_THEME_COLORS
    THEME_COLORS
    BREAKPOINTS
    CHART_PALETTE
    CHART_PALETTE_LIGHT

    Functions

    getActiveThemeColors
    getChartPalette
    getPartyColor
    onThemeChange