Skip to content

[P1/doc-drift] NFR-5.2 custom themes — no theme editor, no import/export, no community repo #350

Closed

Description

@EVWorth

Context

DESIGN_REQUIREMENTS NFR-5.2 (docs/design/DESIGN_REQUIREMENTS.md:649) requires "CSS-based theme system; theme editor with live preview; import/export themes; community theme repository".

Problem

The implementation has 2 themes (dark, light) hardcoded in globals.css and a system mode that resolves to one of them. No theme editor, no import/export, no community repository. The ARCHITECTURE.md:1517 parenthetical explicitly acknowledges the gap: "Custom CSS themes use the existing theme localStorage key (single string dark | light | system)".

Files

  • src/styles/globals.css
  • docs/design/ARCHITECTURE.md:1517

Expected

A user can pick from ≥ 3 themes (dark, light, +1 custom), preview the theme before applying, and export it as a .css file.

Proposed fix

Scope L — add a themes/ directory with CSS files following the existing variable conventions; add a theme picker in FormatterSettingsDialog (or a new AppearanceSettingsDialog); add an import/export for theme files. Or, since the codebase explicitly downgraded this in ARCHITECTURE §9.3, reconcile the spec to [partial] in the doc-keeper sweep.

Acceptance

A user can pick from ≥ 3 themes (dark, light, +1 custom), preview the theme before applying, and export it as a .css file.

Needs human verify

yes

Doc drift

DESIGN_REQUIREMENTS NFR-5.2

Activity

  1. added
    audit
    severity/p1
    kind/doc-drift
    area/theming
    on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/themingauditkind/doc-driftseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions