Fix outline button background for glassmorphism consistency
The outline variant used bg-background (opaque near-black) which created a visible dark rectangle against semi-transparent card toolbars. Changed to bg-transparent so outline buttons blend with their parent container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8d854b703e
commit
91f929c39b
@ -9,7 +9,7 @@ const buttonVariants = cva(
|
|||||||
variant: {
|
variant: {
|
||||||
default: 'bg-accent text-accent-foreground hover:bg-accent/90',
|
default: 'bg-accent text-accent-foreground hover:bg-accent/90',
|
||||||
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
|
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
|
||||||
outline: 'border border-input bg-background hover:bg-accent/10 hover:text-accent',
|
outline: 'border border-input bg-transparent hover:bg-accent/10 hover:text-accent',
|
||||||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
||||||
ghost: 'hover:bg-accent/10 hover:text-accent',
|
ghost: 'hover:bg-accent/10 hover:text-accent',
|
||||||
link: 'text-accent underline-offset-4 hover:underline',
|
link: 'text-accent underline-offset-4 hover:underline',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user