mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-15 15:35:25 +02:00
🎨 Sort classes (#1750)
This commit is contained in:
parent
af7b0a82d1
commit
dcc41eb0f1
120 changed files with 374 additions and 365 deletions
|
@ -14,10 +14,10 @@ const iconVariants = cva("", {
|
|||
primary: "text-primary-600",
|
||||
},
|
||||
size: {
|
||||
sm: "w-3 h-3",
|
||||
md: "w-4 h-4",
|
||||
lg: "w-5 h-5",
|
||||
xl: "w-7 h-7",
|
||||
sm: "h-3 w-3",
|
||||
md: "h-4 w-4",
|
||||
lg: "h-5 w-5",
|
||||
xl: "h-7 w-7",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
@ -40,7 +40,7 @@ export function Icon({
|
|||
<Slot
|
||||
className={cn(
|
||||
iconVariants({ size, variant }),
|
||||
"group-[.bg-primary]:text-primary-50 group-[.bg-destructive]:text-destructive-foreground group shrink-0",
|
||||
"group shrink-0 group-[.bg-destructive]:text-destructive-foreground group-[.bg-primary]:text-primary-50",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue