Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.68
    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) โ€“ getActiveThemeColors() โ†’ Runtime-resolved theme based on current data-theme attribute

    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
    BREAKPOINTS
    CHART_PALETTE
    CHART_PALETTE_LIGHT

    Functions

    getActiveThemeColors
    getChartPalette
    getPartyColor
    onThemeChange