Skip to content

feat(theme): named theme system v1 (11 themes)#59

Merged
0xmrpeter merged 26 commits intoOpen-ACP:developfrom
lngdao:develop
Apr 24, 2026
Merged

feat(theme): named theme system v1 (11 themes)#59
0xmrpeter merged 26 commits intoOpen-ACP:developfrom
lngdao:develop

Conversation

@lngdao
Copy link
Copy Markdown
Contributor

@lngdao lngdao commented Apr 24, 2026

Summary

  • Introduces a named theme system replacing the prior light/dark toggle with 11 curated themes (AMOLED, Catppuccin Latte/Mocha, Tokyo Night, Gruvbox, Nord, One Dark, GitHub Light/Dark, plus defaults).
  • Migrates theming to data-theme + data-mode attributes, extracts palettes into per-theme CSS files, and adds a registry with migration helpers for legacy settings.
  • Updates the settings UI to a grouped theme Select, ships docs for the architecture + "add a theme" procedure, and adds dev-mode registry consistency assertions.

Test plan

  • Verify every theme renders correctly in both light and dark modes on /ds-demo.html
  • Confirm legacy settings (old light/dark toggle) migrate cleanly on first launch
  • Pre-paint script applies correct theme before first render (no flash)
  • AMOLED / GitHub / Nord dark backgrounds have acceptable contrast for bg-strong
  • Dev-mode registry assertions do not fire on valid theme definitions

🤖 Generated with Claude Code

nakamoto-hiru and others added 26 commits April 23, 2026 16:11
feat(theme): named theme system v1 (11 themes)
@0xmrpeter 0xmrpeter merged commit 55d64da into Open-ACP:develop Apr 24, 2026
5 checks passed
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.

3 participants