fix: button fixes v3 (#20557)
* fix button styling * add button usage --------- Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
1 parent
ec9384858b
commit
f5ec696e15
2 files changed
+34
-2
No files matched your search
@@ -53,6 +53,8 @@ export const buttonClasses = cva(
|
||||
// Base colors
|
||||
"bg-brand-default",
|
||||
"text-brand",
|
||||
// Hover state
|
||||
"enabled:hover:bg-brand-emphasis",
|
||||
// Focus state
|
||||
"focus-visible:outline-none",
|
||||
"focus-visible:ring-0",
|
||||
@@ -78,7 +80,6 @@ export const buttonClasses = cva(
|
||||
"border-default",
|
||||
// Hover state
|
||||
"enabled:hover:bg-muted",
|
||||
"enabled:hover:border-emphasis",
|
||||
"enabled:hover:text-emphasis",
|
||||
// Disabled
|
||||
"disabled:opacity-30",
|
||||
@@ -125,7 +126,7 @@ export const buttonClasses = cva(
|
||||
"text-error",
|
||||
// Hover state
|
||||
"dark:hover:text-red-100",
|
||||
"hover:border-semantic-danager-subtle",
|
||||
"hover:border-semantic-error",
|
||||
"hover:bg-error",
|
||||
// Focus state
|
||||
"focus-visible:text-red-700",
|
||||
|
||||
Reference in new issue
Block a user