mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-15 23:45:29 +02:00
✨ Show participated polls on polls page + UI refresh (#1089)
This commit is contained in:
parent
bd9e9fe95b
commit
f8a217ae75
125 changed files with 3007 additions and 2363 deletions
|
@ -9,11 +9,13 @@ const iconVariants = cva("", {
|
|||
default: "text-gray-500",
|
||||
success: "text-green-500",
|
||||
danger: "text-rose-500",
|
||||
primary: "text-primary-200",
|
||||
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",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
@ -31,7 +33,7 @@ export function Icon({ children, size, variant }: IconProps) {
|
|||
<Slot
|
||||
className={cn(
|
||||
iconVariants({ size, variant }),
|
||||
"group-[.bg-primary]:text-primary-200 group",
|
||||
"group-[.bg-primary]:text-primary-100 group shrink-0",
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue