Merge branch 'worktree-agent-a8614479561696864' into v2

This commit is contained in:
bilalgursen
2026-10-07 23:25:11 +03:00
5 changed files with 180 additions and 83 deletions

View File

@@ -334,16 +334,13 @@ export function TextShimmerLoader({
lg: "text-base",
}
// prompt-kit'in özgün gradyanı `--muted-foreground/--foreground` token'ı ve
// projede tanımsız bir `shimmer` keyframe'i kullanıyordu (hareket etmiyordu).
// Sitenin tek parıltı kaynağı shadcn `shimmer` utility'sidir (currentColor
// üstünden; liste-uretici.tsx ve tercih-degisti-modali.tsx ile aynı), renk
// çağıranın `text-slate-*` sınıfından gelir, karanlık mod token'dan döner.
return (
<div
className={cn(
"bg-[linear-gradient(to_right,var(--muted-foreground)_40%,var(--foreground)_60%,var(--muted-foreground)_80%)]",
"bg-size-[200%_auto] bg-clip-text font-medium text-transparent",
"animate-[shimmer_4s_infinite_linear]",
textSizes[size],
className
)}
>
<div className={cn("shimmer font-medium", textSizes[size], className)}>
{text}
</div>
)