Skip to content

Fix incomplete light theme surfaces#150

Merged
Daren9m merged 1 commit into
mainfrom
codex/complete-light-mode
Jul 20, 2026
Merged

Fix incomplete light theme surfaces#150
Daren9m merged 1 commit into
mainfrom
codex/complete-light-mode

Conversation

@Daren9m

@Daren9m Daren9m commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • make shared cards, accented panels, page heroes, form controls, filter groups, and empty states follow the active theme
  • add theme-aware foreground tokens for bronze and difficulty surfaces
  • apply the accessible accent foreground to bestiary pins and badges, spell pins, and the battle forecast icon

Why

Light mode changed the global text palette but several shared components still used hard-coded dark backgrounds. That produced dark cards with dark text across the Bestiary, Spells, Maps, Puzzles & Challenges, and Encounters pages.

The shared surface and control rules now use theme tokens, fixing every affected route while preserving dark mode.

Validation

  • npm run typecheck -- --incremental false
  • npm run lint
  • npm test — 663 tests passed
  • npm run build
  • browser QA in light and dark modes across Bestiary, Spells, Maps, Puzzles & Challenges, and Encounters
  • measured light-mode contrast: 15.37:1 primary card text, 6.90:1 secondary empty-state text, 6.00:1 selected bronze controls

@Daren9m
Daren9m marked this pull request as ready for review July 20, 2026 03:11
@Daren9m
Daren9m merged commit 78ab3a6 into main Jul 20, 2026
1 check passed
@Daren9m
Daren9m deleted the codex/complete-light-mode branch July 20, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant