mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 19:26:38 +00:00
Fix: Danger color not working on disabled buttons
This commit is contained in:
@@ -29,7 +29,7 @@ const buttonVariants = cva(
|
|||||||
colorSchema: {
|
colorSchema: {
|
||||||
primary: ["bg-primary", "text-black", "border-primary bg-opacity-90 hover:bg-opacity-100"],
|
primary: ["bg-primary", "text-black", "border-primary bg-opacity-90 hover:bg-opacity-100"],
|
||||||
secondary: ["bg-mineshaft", "text-gray-300", "border-mineshaft hover:bg-opacity-80"],
|
secondary: ["bg-mineshaft", "text-gray-300", "border-mineshaft hover:bg-opacity-80"],
|
||||||
danger: ["bg-red", "text-white", "border-red hover:bg-opacity-90"],
|
danger: ["!bg-red", "!text-white", "!border-red hover:!bg-opacity-90"],
|
||||||
gray: ["bg-bunker-500", "text-bunker-200"]
|
gray: ["bg-bunker-500", "text-bunker-200"]
|
||||||
},
|
},
|
||||||
variant: {
|
variant: {
|
||||||
|
|||||||
Reference in New Issue
Block a user