Skip to content

feat: migration to okhst#1229

Open
tenphi wants to merge 8 commits into
mainfrom
feat-migration-to-okhsl
Open

feat: migration to okhst#1229
tenphi wants to merge 8 commits into
mainfrom
feat-migration-to-okhsl

Conversation

@tenphi

@tenphi tenphi commented Jul 9, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Global color values and contrast behavior change for every consumer of Glaze tokens across light/dark/high-contrast, though legacy # aliases are largely preserved; visual regression review in Storybook/Chromatic is the main safeguard.

Overview
Migrates the design-token pipeline to @tenphi/glaze 1.1.1 and @tenphi/tasty 2.9.0, rebuilding palette.ts on Glaze’s OKHST tone API (replacing lightness and numeric contrast targets with relative tone deltas and ['AA','AAA'] floors). Exported CSS colors now use format: 'oklch', seed saturation is lowered, tinted semantic themes get explicit surface-text overrides, and the standalone #pink alias is removed from colors.ts.

Adds a Getting Started / Colors Storybook reference (Colors.stories.tsx + Colors.docs.mdx) that documents surface/foreground pairing, semantic accents, disabled states, syntax, borders, and shadows across schemes.

The full bundle size-limit ceiling is raised from 445kB to 450kB to match the dependency bump.

Reviewed by Cursor Bugbot for commit 66ccb20. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Jul 20, 2026 5:16pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 66ccb20

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 435.78 KB (+1.48% 🔺) Yes 🎉
Tree shaking (just a Button) 114.75 KB (+0.35% 🔺) Yes 🎉

Click here if you want to find out what is changed in this build

Comment thread src/tokens/colors.ts
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-709608e.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7a7143f. Configure here.

Comment thread src/tokens/palette.ts Outdated
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