mirror of
https://github.com/bitwarden/browser
synced 2025-01-29 20:50:58 +01:00
add button disabled state: cursor-not-allowed (#4436)
This commit is contained in:
parent
5907ebad3f
commit
b27e2605d5
@ -21,6 +21,7 @@ const buttonStyles: Record<ButtonType, string[]> = {
|
||||
"disabled:tw-border-primary-500/60",
|
||||
"disabled:!tw-text-contrast/60",
|
||||
"disabled:tw-bg-clip-padding",
|
||||
"disabled:tw-cursor-not-allowed",
|
||||
...focusRing,
|
||||
],
|
||||
secondary: [
|
||||
@ -33,6 +34,7 @@ const buttonStyles: Record<ButtonType, string[]> = {
|
||||
"disabled:tw-bg-transparent",
|
||||
"disabled:tw-border-text-muted/60",
|
||||
"disabled:!tw-text-muted/60",
|
||||
"disabled:tw-cursor-not-allowed",
|
||||
...focusRing,
|
||||
],
|
||||
danger: [
|
||||
@ -45,6 +47,7 @@ const buttonStyles: Record<ButtonType, string[]> = {
|
||||
"disabled:tw-bg-transparent",
|
||||
"disabled:tw-border-danger-500/60",
|
||||
"disabled:!tw-text-danger/60",
|
||||
"disabled:tw-cursor-not-allowed",
|
||||
...focusRing,
|
||||
],
|
||||
unstyled: [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user