Show participated polls on polls page + UI refresh (#1089)

This commit is contained in:
Luke Vella 2024-05-12 13:20:00 +08:00 committed by GitHub
parent bd9e9fe95b
commit f8a217ae75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 3007 additions and 2363 deletions

View file

@ -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}