This commit is contained in:
ct
2025-07-03 21:59:10 +08:00
parent 948504c260
commit b337db2a2c

View File

@@ -79,35 +79,33 @@ @layer base {
border-color: var(--color-gray-200, currentColor); border-color: var(--color-gray-200, currentColor);
} }
@keyframes accordion-down { @keyframes accordion-down {
from { from {
height: 0; height: 0;
}
to {
height: var(--radix-accordion-content-height);
}
} }
to {
height: var(--radix-accordion-content-height);
}
}
@keyframes accordion-up { @keyframes accordion-up {
from { from {
height: var(--radix-accordion-content-height); height: var(--radix-accordion-content-height);
}
to {
height: 0;
}
} }
to {
height: 0;
}
}
} }
@utility animate-accordion-down { @utility animate-accordion-down {
animation: accordion-down 0.2s ease-out; animation: accordion-down 0.2s ease-out;
} }
@utility animate-accordion-up { @utility animate-accordion-up {
animation: accordion-up 0.2s ease-out; animation: accordion-up 0.2s ease-out;
} }
:root { :root {
--background: oklch(1 0 0); --background: oklch(1 0 0);
--foreground: oklch(0.145 0 0); --foreground: oklch(0.145 0 0);
@@ -203,20 +201,22 @@ @theme inline {
--color-sidebar-border: var(--sidebar-border); --color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring); --color-sidebar-ring: var(--sidebar-ring);
--animate-pulse: pulse var(--duration) ease-out infinite; --animate-pulse: pulse var(--duration) ease-out infinite;
@keyframes pulse { @keyframes pulse {
0%, 100% { 0%,
boxShadow: 0 0 0 0 var(--pulse-color); 100% {
boxshadow: 0 0 0 0 var(--pulse-color);
} }
50% { 50% {
boxShadow: 0 0 0 8px var(--pulse-color); boxshadow: 0 0 0 8px var(--pulse-color);
} }
} }
@keyframes pulse { @keyframes pulse {
0%, 100% { 0%,
boxShadow: 0 0 0 0 var(--pulse-color); 100% {
boxshadow: 0 0 0 0 var(--pulse-color);
} }
50% { 50% {
boxShadow: 0 0 0 8px var(--pulse-color); boxshadow: 0 0 0 8px var(--pulse-color);
} }
} }
} }
@@ -226,10 +226,10 @@ @theme inline {
*/ */
@layer base { @layer base {
* { * {
@apply border-border outline-ring/50; @apply border-border outline-ring/50;
} }
body { body {
@apply bg-background text-foreground; @apply bg-background text-foreground;
} }
} }