Skip to content

fix(Button): border styling#1199

Merged
tenphi merged 2 commits into
mainfrom
fix-button-colors
Jun 2, 2026
Merged

fix(Button): border styling#1199
tenphi merged 2 commits into
mainfrom
fix-button-colors

Conversation

@tenphi

@tenphi tenphi commented Jun 2, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Visual/token styling only for button borders; no logic, auth, or API changes.

Overview
Introduces a fixed-mode accent-surface-border Glaze token (anchored to accent-surface, brand-hue borders that do not invert in dark mode) and wires primary button borders to it instead of semi-transparent #white strokes.

Default primary buttons now use #primary-accent-surface-border for default and pressed borders (pressed no longer switches to accent text color). Special primary buttons use #special-accent-surface-border the same way. Special outline borders are retuned from #white.3 / #white.4 to #white.15 / #white.2 for subtler edges on the dark special surface.

TypeScript picks up the unprefixed token via tasty-augment.d.ts; a patch changeset documents the button border improvement.

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

@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 219a704

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

vercel Bot commented Jun 2, 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 Jun 2, 2026 12:41pm

Request Review

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-6fdf6b7.

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 396.15 KB (+0.02% 🔺) Yes 🎉
Tree shaking (just a Button) 113.1 KB (+0.04% 🔺) Yes 🎉

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

@tenphi tenphi merged commit 310031c into main Jun 2, 2026
16 checks passed
@tenphi tenphi deleted the fix-button-colors branch June 2, 2026 12:52
@github-actions github-actions Bot mentioned this pull request Jun 2, 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