feat(ui): add shimmer component and integrate into torrent details

This commit is contained in:
spinline
2026-02-20 23:53:37 +03:00
parent f075a87668
commit ec23285a6a
4 changed files with 30 additions and 8 deletions

View File

@@ -45,8 +45,15 @@
--ring: oklch(0.556 0 0);
}
@theme inline {
--animate-shimmer: shimmer 2s infinite;
@keyframes shimmer {
100% {
transform: translateX(100%);
}
}
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
@@ -76,6 +83,7 @@
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
@@ -88,4 +96,4 @@
dialog {
margin: auto;
}
}
}