refactor(ui): switch surfaces to shared shadow tokens
This commit is contained in:
@@ -12,10 +12,9 @@ const buttonVariants = cva(
|
||||
default: "bg-primary text-primary-foreground hover:opacity-92",
|
||||
destructive:
|
||||
"bg-destructive text-destructive-foreground hover:opacity-92 focus-visible:ring-destructive/25 dark:focus-visible:ring-destructive/35",
|
||||
outline:
|
||||
"bg-background text-foreground shadow-[0_0_0_1px_rgba(0,0,0,0.08)] hover:bg-accent",
|
||||
outline: "bg-background text-foreground shadow-xs hover:bg-accent",
|
||||
secondary:
|
||||
"bg-secondary text-secondary-foreground shadow-[0_0_0_1px_rgba(0,0,0,0.05)] hover:bg-accent",
|
||||
"bg-secondary text-secondary-foreground shadow-sm hover:bg-accent",
|
||||
ghost: "text-muted-foreground hover:bg-accent hover:text-foreground",
|
||||
link: "text-[#0072f5] underline-offset-4 hover:underline",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user