Skip to content

Add design system and refactor styles; update HTML to use design tokens - #2

Closed
darrenintr wants to merge 4 commits into
mainfrom
codex/apply-design-system-from-master-to-main
Closed

Add design system and refactor styles; update HTML to use design tokens#2
darrenintr wants to merge 4 commits into
mainfrom
codex/apply-design-system-from-master-to-main

Conversation

@darrenintr

Copy link
Copy Markdown
Owner

Motivation

  • Introduce a shared design token layer to standardize colors, spacing and typography across pages.
  • Refresh the UI from a dark, bespoke stylesheet toward a lighter, token-driven layout to modernize the flashcards and history notes screens.
  • Align component styles (flashcards, feature cards, tables, wordle) to the new design tokens for easier future theming and maintenance.

Description

  • Added a new design-system.css file that declares CSS custom properties (tokens) and basic global rules.
  • Updated index.html and coldwarnotes.html to include design-system.css and reordered stylesheet includes so components consume the tokens.
  • Heavily refactored main.css to use the new tokens, simplify layout rules, and change spacing/visuals (sidebar, hero, cards, tables, wordle, update logs).
  • Adjusted flashcards.css to align flashcard appearance with the design tokens and applied several visual and spacing changes to the flashcard components.

Testing

  • No automated tests were run for this change.

Codex Task

@darrenintr darrenintr closed this Apr 21, 2026
@darrenintr
darrenintr deleted the codex/apply-design-system-from-master-to-main branch April 21, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant