Skip to content

fix(TextInput): autofill text and caret color#1197

Merged
tenphi merged 1 commit into
mainfrom
fix-autofill-text-color
Jun 1, 2026
Merged

fix(TextInput): autofill text and caret color#1197
tenphi merged 1 commit into
mainfrom
fix-autofill-text-color

Conversation

@tenphi

@tenphi tenphi commented Jun 1, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Single-token swap in global input autofill CSS with no auth, data, or API impact.

Overview
Fixes browser autofill styling for text inputs by updating the global input-autofill recipe in Root.tsx.

When :-webkit-autofill / :autofill applies, autofilled text (-webkit-text-fill-color) and the caret now use #primary-text instead of #primary, so filled values and the insertion caret match intended primary-theme text color rather than the accent/fill token.

Patch release noted in the changeset for @cube-dev/ui-kit.

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

@changeset-bot

changeset-bot Bot commented Jun 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f906844

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 1, 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 1, 2026 2:32pm

Request Review

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-7595fc7.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 396.1 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 113.07 KB (0% 🟰) Yes 🎉

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

@tenphi tenphi merged commit 146e5cf into main Jun 1, 2026
16 checks passed
@tenphi tenphi deleted the fix-autofill-text-color branch June 1, 2026 16:40
@github-actions github-actions Bot mentioned this pull request Jun 1, 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