Skip to content
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] - When the Button color is set to danger, the color is not displaying correctly. #3792

Closed
baijunjie opened this issue Sep 23, 2024 · 2 comments

Comments

@baijunjie
Copy link

NextUI Version

2.4.8

Describe the bug

component: "Button"
variant: "ghost"
color: "danger"
the color is not displaying correctly.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Left button is "danger"
image

Left button hover
image
image

Right button hover
image
image

Expected behavior

The behavior of "danger" and "primary" should be consistent.

Screenshots or Videos

No response

Operating System Version

MacOS

Browser

Chrome

@wingkwong
Copy link
Member

Fixed in #3764. you may use canary version at this moment or add data-[hover=true]:!text-danger-foreground.

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

No branches or pull requests

2 participants