Skip to content

feat(special): fixed-mode theme tokens#1171

Merged
tenphi merged 3 commits into
mainfrom
feat-special-theme
May 15, 2026
Merged

feat(special): fixed-mode theme tokens#1171
tenphi merged 3 commits into
mainfrom
feat-special-theme

Conversation

@tenphi
Copy link
Copy Markdown
Member

@tenphi tenphi commented May 15, 2026

Note

Medium Risk
Medium risk because it changes core color token generation and special item/button styling, which can cause broad visual regressions across themes/schemes. No security or data-path changes; impact is limited to styling, docs packaging, and a minor dependency bump.

Overview
Adds a new standalone specialTheme in palette.ts and exports #special-* fixed-mode tokens so special-variant components render identically across light/dark/high-contrast, with corresponding updates to SPECIAL_*_STYLES in item-themes.ts and legacy aliases (#fixed-dark, #fixed-primary-text) now pointing at #special-surface/#special-accent-text.

Fixes high-contrast rendering for brand-tinted disabled chips by correcting the accent-disabled-surface contrast pair from [1.4, 1.3] to [1.4, 1.5] (HC-only change).

Updates docs packaging to vendor Glaze docs alongside Tasty (new link rewriting + symlink restore) and bumps @tenphi/glaze to 0.11.1.

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

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

🦋 Changeset detected

Latest commit: 90ef893

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 Patch

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

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment May 15, 2026 0:44am

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-3a313d5.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

🏋️ Size limit report

Name Size Passed?
All 393.73 KB (+0.08% 🔺) Yes 🎉
Tree shaking (just a Button) 112.47 KB (+0.02% 🔺) Yes 🎉

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

🧪 Storybook is successfully deployed!

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

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 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 63d3120. Configure here.

Comment thread src/tokens/palette.ts Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
Bump @tenphi/glaze 0.11.0 → 0.11.1 and mirror the tasty docs setup:
symlink docs/glaze → ../node_modules/@tenphi/glaze/docs, copy at pack
time (prepare-docs.mjs) and restore the symlink afterwards (cleanup-docs.mjs).
Adds a fixGlazeLinks rewriter for in-MDX GitHub doc URLs and an AGENTS.md
section pointing at the new methodology / api / migration pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tenphi tenphi merged commit 5a28ef7 into main May 15, 2026
16 checks passed
@tenphi tenphi deleted the feat-special-theme branch May 15, 2026 13:41
@github-actions github-actions Bot mentioned this pull request May 15, 2026
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