Skip to content

fix(tui): reference inferred hues in migrated themes - #39183

Merged
jlongster merged 1 commit into
v2from
theme-v1-migration
Jul 27, 2026
Merged

fix(tui): reference inferred hues in migrated themes#39183
jlongster merged 1 commit into
v2from
theme-v1-migration

Conversation

@jlongster

Copy link
Copy Markdown
Contributor

Summary

  • replace migrated V1 token hex values with exact generated hue references where possible
  • make V1 accent and primary own their inferred base hue scales and alias accent/interactive to those hues
  • prefer primary when accent and primary infer the same hue

Tests

  • bun test test/theme/v2
  • bun typecheck
  • bunx prettier --check packages/tui/src/theme/v2/v1-migrate.ts packages/tui/test/theme/v2/v1-migrate.test.ts

@jlongster
jlongster merged commit 4f622fa into v2 Jul 27, 2026
7 of 9 checks passed
@jlongster
jlongster deleted the theme-v1-migration branch July 27, 2026 21:02
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.

1 participant