-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(colors v4): 6832 - Update destructive-foreground color to avoid overlap #6846
base: main
Are you sure you want to change the base?
fix(colors v4): 6832 - Update destructive-foreground color to avoid overlap #6846
Conversation
…erlap Changes the `destructive-foreground` CSS variable to the correct color to prevent it from matching the `destructive` color, ensuring better visual differentiation. Fixes shadcn-ui#6832
@Jacksonmills is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Jacksonmills This is breaking alert destructive, form error messages...etc everywhere text-destructive-foreground is used. |
Hm interesting, in v3 destructive-foreground was white-ish, so the change to red was intended? |
@shadcn I think it's redundant for If error/etc text should use Already seeing PRs addressing this mismatch: #6845. |
Agreed on this. We had a few a11y issues on v3 that I'm trying to address. There are other solutions I looked into but they are all breaking (i.e we'll need to introduce new variables). I'm going to take a look at this again. Let me get back to you later today or tomorrow. |
LMK if I can be of help if there are any a11y issues you wanted to delegate |
Changes the
destructive-foreground
CSS variable to the correct color to prevent it from matching thedestructive
color, ensuring better visual differentiation.Fixes #6832