-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Incorrect background color opacity #47
Comments
I agree that this is an important issue as well, regardless of how small it is. Color details like this really do make a difference in design so I hope this gets fixed soon |
Hello @Teraskull This will be fixed on v2. Notice that shadcn website uses a different destructive HSL
So, hex will be different. But, opacity are indeed incorrect. Good catch! |
Didn't notice that hsl color difference, thanks for the info! But what about the styling method for hover color? Since you are using I assume the same issue is affecting the default button hover color. shadcn-svelte (For the same Thank you and sorry for bothering over these nits! |
Haha no worries, these are indeed bugs!
Yup, this has been fixed too. The background was set to transparent when it should be a background, on hover, it should be accent. |
Hi,
Noticed that the destructive button background color does not match the shadcn color on hover.
shadcn:
franken-ui:
I assume this is unintentional, as all other Zinc theme colors and CSS variables seem to match the shadcn colors.
This happens in both version 1 and 2.
In version 1:
In version 2:
Shadcn does this, instead of just
opacity
:But for the secondary button background color, shadcn uses 80% opacity:
Which means
.uk-btn
cannot have the same hover opacity for all buttons, since they differ.I know this is a very minor nitpick, but I thought maybe this issue was missed.
Thanks for the great work!
The text was updated successfully, but these errors were encountered: