Skip to content

feat(app): color themes#30824

Merged
Hona merged 8 commits into
anomalyco:devfrom
arvsrn:feat/app-color-themes
Jun 5, 2026
Merged

feat(app): color themes#30824
Hona merged 8 commits into
anomalyco:devfrom
arvsrn:feat/app-color-themes

Conversation

@arvsrn

@arvsrn arvsrn commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  • Added resolveThemeVariantV2 to generate v2 tokens from theme palettes at runtime
  • Added static mapping from v2 semantic tokens → v2 primitive/color tokens
  • Generate grey + hue ramps from each theme’s palette; text tokens generated separately
  • Inject v2 CSS vars in ThemeProvider alongside v1 (v1 resolve unchanged)
  • Added per-theme v2OverridesOC-2 is fully overridden, Matrix has targeted overrides
  • Added dev script build-oc2-v2-overrides.ts to regenerate OC-2 overrides

How did you verify your code works?

  • Visually compared every theme to current desktop themes (in light/dark mode)
  • Ran type checks locally (bun turbo typecheck)

Screenshots / recordings

image image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@Hona Hona enabled auto-merge (squash) June 5, 2026 00:45
@Hona Hona merged commit 605ae48 into anomalyco:dev Jun 5, 2026
9 checks passed
ShamirSecret pushed a commit to ShamirSecret/auto-code-machine that referenced this pull request Jun 5, 2026
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
(cherry picked from commit 605ae48)
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants