nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.51k stars 1.4k forks source link

[BUG] - When the Button color is set to danger, the color is not displaying correctly. #3792

Closed baijunjie closed 3 hours ago

baijunjie commented 3 hours ago

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

linear[bot] commented 3 hours ago

ENG-1389 [BUG] - When the Button color is set to danger, the color is not displaying correctly.

wingkwong commented 3 hours ago

Fixed in https://github.com/nextui-org/nextui/pull/3764. you may use canary version at this moment or add data-[hover=true]:!text-danger-foreground.