Skip to content

High-contrast theme tokens #6

@PythonLuvr

Description

@PythonLuvr

War Room currently ships one dark theme. For accessibility (especially for users with low vision), we should ship a high-contrast variant.

Scope:

  1. Define a data-theme-mode attribute on <html>: default (current dark) and high-contrast.
  2. Override the relevant CSS variables in app/globals.css under [data-theme-mode="high-contrast"] — background pure black, text pure white, borders #fff, accent colors WCAG AAA against background.
  3. Add a theme toggle in Settings → Appearance (this section may need to be created if it doesn't exist).
  4. Persist the choice in system_settings table.

No need to touch component code if it's all CSS-variable driven. Audit any hardcoded color literals as part of the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions