feat: update the style for the application

This commit is contained in:
2025-04-29 22:38:52 +07:00
parent f20366bd55
commit f5e10784f4
7 changed files with 25 additions and 121 deletions
+3 -2
View File
@@ -14,14 +14,15 @@ function Progress({
<ProgressPrimitive.Root
data-slot="progress"
className={cn(
"bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
"relative h-3 w-full overflow-hidden rounded-full",
"border bg-transparent",
className
)}
{...props}
>
<ProgressPrimitive.Indicator
data-slot="progress-indicator"
className="bg-primary h-full w-full flex-1 transition-all"
className="bg-pink-400 h-full w-full flex-1 transition-all"
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
/>
</ProgressPrimitive.Root>