-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug: the background of btn-disabled
(or disabled btn
) should be transparent if combined with btn-ghost
#3285
Comments
Thank you @tats-u
for reporting issues. It helps daisyUI a lot 💚
|
btn-disabled
if combined with btn-ghost
should be transparentbtn-disabled
(or disabled btn
) should be transparent if combined with btn-ghost
Then it wouldn't be obvious that it's disabled… We don't want users to click on a button and wonder why it's not working. It should look clearly disabled. |
https://codepen.io/tats-u/pen/eYqqLRg The first one is sufficient. The disabled icons are sufficiently pale compared to active ones. I doubt users will mistakenly click them. The disabled icons in the last one look too obtrusive due to the gray background. We have to add |
At least users will try placing the mouse pointer on the "disabled" buttons with gray background once. |
I haven't seen the disabled ghost buttons with such a solid gray background surrounded by active ghost buttons. |
What version of daisyUI are you using?
4.12.x
Which browsers are you seeing the problem on?
Chrome, Firefox
Reproduction URL
https://codepen.io/tats-u/pen/wvVLOJE
Describe your issue
the background of disabled ghost buttons (the top 2 rows) should be transparent instead of gray.
The text was updated successfully, but these errors were encountered: