Skip to content

feat: migration to okhst#1229

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

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

Conversation

@tenphi

@tenphi tenphi commented Jul 9, 2026

Copy link
Copy Markdown
Member

Note

High Risk
Wide-reaching token and dependency changes affect every themed surface, button disabled state, and host apps that configure Glaze at startup; visual regressions across light/dark/HC are likely without thorough QA.

Overview
Migrates the design system to Glaze 1.x / Tasty 2.9 and rebuilds palette.ts around OKHST tone (replacing lightness), pastel themes, darkTone, and oklch export. Text, accents, disabled chips, syntax colors, and tinted semantic surfaces are retuned with relative tone deltas and ['AA','AAA'] floors; solid accent-disabled labels now use a fixed +15 tone step on the chip with autoFlip: false so disabled primary buttons stay readable in dark mode.

Defers color resolution via getPaletteTokens / getColorTokens / getTokens and lazy TOKENS proxies so hosts can run glaze.configure() after import; GlobalStyles calls getTokens() on first paint.

Adds s2s4 monospace presets (default s3 on PrismCode, CopySnippet, and Prism global CSS), Storybook Colors reference, docs updates, and bumps the bundle size limit to 450kB. Drops the hardcoded legacy #pink alias from colors.ts.

Reviewed by Cursor Bugbot for commit 9d16af8. 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 23, 2026 1:31pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9d16af8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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 437.96 KB (+1.57% 🔺) 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-7c63f24.

Comment thread src/tokens/palette.ts Outdated
Comment thread src/tokens/palette.ts

@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 2 potential issues.

Fix All in Cursor

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

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 18ca5d0. Configure here.

Comment thread src/tokens/palette.ts
Comment thread src/components/content/PrismCode/PrismCode.tsx
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