fix: order of tailwind classes

This commit is contained in:
ner committed 2024-10-05 17:23:37 +03:00
1 parent 5528a84ee7
commit 3b03df3ff5
33 files changed
+135 -1250

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ const buttonVariants = cva(
{
variants: {
variant: {
default: 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm active:shadow',
default: 'bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:shadow',
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
@@ -19,7 +19,7 @@ const buttonVariants = cva(
default: 'h-10 px-4 py-2',
sm: 'h-9 rounded-md px-3',
lg: 'h-11 rounded-md px-8',
icon: 'h-10 w-10'
icon: 'size-10'
}
},
defaultVariants: {