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

View File

@@ -58,7 +58,7 @@ @theme {
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--spacing-safe-area: env(safe-area-inset-top);
}
@@ -78,36 +78,34 @@ @layer base {
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
@keyframes accordion-down {
from {
height: 0;
}
to {
height: var(--radix-accordion-content-height);
}
}
@keyframes accordion-up {
from {
height: var(--radix-accordion-content-height);
@keyframes accordion-down {
from {
height: 0;
}
to {
height: var(--radix-accordion-content-height);
}
}
to {
height: 0;
@keyframes accordion-up {
from {
height: var(--radix-accordion-content-height);
}
to {
height: 0;
}
}
}
}
@utility animate-accordion-down {
animation: accordion-down 0.2s ease-out;
animation: accordion-down 0.2s ease-out;
}
@utility animate-accordion-up {
animation: accordion-up 0.2s ease-out;
animation: accordion-up 0.2s ease-out;
}
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
@@ -203,20 +201,22 @@ @theme inline {
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--animate-pulse: pulse var(--duration) ease-out infinite;
@keyframes pulse {
0%, 100% {
boxShadow: 0 0 0 0 var(--pulse-color);
@keyframes pulse {
0%,
100% {
boxshadow: 0 0 0 0 var(--pulse-color);
}
50% {
boxShadow: 0 0 0 8px var(--pulse-color);
50% {
boxshadow: 0 0 0 8px var(--pulse-color);
}
}
@keyframes pulse {
0%, 100% {
boxShadow: 0 0 0 0 var(--pulse-color);
@keyframes pulse {
0%,
100% {
boxshadow: 0 0 0 0 var(--pulse-color);
}
50% {
boxShadow: 0 0 0 8px var(--pulse-color);
50% {
boxshadow: 0 0 0 8px var(--pulse-color);
}
}
}
@@ -226,10 +226,10 @@ @theme inline {
*/
@layer base {
* {
@apply border-border outline-ring/50;
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
body {
@apply bg-background text-foreground;
}
}
}