Skip to content

schema-apps: add polished dark mode#10

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
add-dark-mode
Jun 9, 2026
Merged

schema-apps: add polished dark mode#10
melvincarvalho merged 1 commit into
gh-pagesfrom
add-dark-mode

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

By Charlie 🤖. Adds a @media (prefers-color-scheme: dark) block to app.css. Light theme is completely untouched.

Approach

Color variable overrides — all semantic tokens remapped:

  • --ink → #e4e8f1 (high contrast on dark)
  • --ink-2 → #c9cdd8 (softer secondary text)
  • --muted → #8b8fa3, --muted-2 → #6b6f82
  • --line → #262a3a, --line-2 → #1e2130 (subtle dividers)
  • --card → #161927, --surface → #1c1f31 (layered dark surfaces)
  • Shadows shifted to darker RGBA values

Background — body goes to #0e1019 with softer radial gradients (8% opacity, down from 10%)

Header band — darkened via color-mix 85% with black, softer dot-grid (.08 opacity), dimmed sheen, glassmorphism icon with lower opacity

Inputs — surface background, darker hover borders, focus uses near-black background blend, adjusted focus ring opacity

Code block — already dark; nudged to #0a0d14 with #b8c0d0 text for better contrast on dark surrounds

What I did NOT touch: layout, spacing, typography sizes/weights, animations, any HTML/JS. Pure color-only overrides via the media query. All 7 apps pass gate.

@melvincarvalho melvincarvalho merged commit d2474a8 into gh-pages Jun 9, 2026
1 check passed
@melvincarvalho melvincarvalho deleted the add-dark-mode branch June 9, 2026 08:09
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