File size: 2,404 Bytes
61558b1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | @import "tailwindcss";
@theme inline {
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--font-mono: var(--font-geist-mono), ui-monospace, monospace;
--color-canvas: #fafafa;
--color-ink: #0b0b0c;
--color-muted: #77777d;
--color-faint: #a1a1a8;
--color-line: rgba(10, 10, 12, 0.07);
--color-soft: #f3f3f4;
--color-accent: #3b82f6;
--color-accent-deep: #2f6df0;
--radius-card: 28px;
--shadow-card: 0 1px 2px rgba(10, 10, 12, 0.04), 0 8px 28px -12px rgba(10, 10, 12, 0.1);
--shadow-pop: 0 1px 2px rgba(10, 10, 12, 0.05), 0 24px 60px -16px rgba(10, 10, 12, 0.22);
--shadow-btn: 0 1px 1px rgba(10, 10, 12, 0.05), 0 2px 6px -2px rgba(10, 10, 12, 0.08);
}
html {
background: var(--color-canvas);
color: var(--color-ink);
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-feature-settings: "cv11", "ss01";
}
::selection {
background: rgba(59, 130, 246, 0.2);
}
* {
scrollbar-width: thin;
scrollbar-color: rgba(10, 10, 12, 0.14) transparent;
}
.display {
letter-spacing: -0.045em;
line-height: 1;
}
.hairline {
box-shadow: inset 0 0 0 1px var(--color-line);
}
@keyframes hf-fade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes hf-pop {
from { opacity: 0; transform: translate(-50%, -48%) scale(0.97); }
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes hf-slide {
from { opacity: 0; transform: translateX(24px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes hf-shimmer {
from { background-position: 200% 0; }
to { background-position: -200% 0; }
}
@keyframes hf-marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
@keyframes hf-pulse-ring {
0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.hf-overlay { animation: hf-fade 0.18s ease-out; }
.hf-dialog { animation: hf-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
.hf-sheet { animation: hf-slide 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.hf-marquee { animation: hf-marquee 38s linear infinite; }
.hf-live { animation: hf-pulse-ring 1.8s ease-out infinite; }
.hf-skeleton {
background: linear-gradient(90deg, #f1f1f2 25%, #e8e8ea 50%, #f1f1f2 75%);
background-size: 200% 100%;
animation: hf-shimmer 1.6s linear infinite;
} |