Download frontend/src/app/globals.css from new-arc/vector: direct link, hf CLI and curl.
- Browser
- Download file 8.99 kB
-
https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/globals.css
- Command line
-
hf download hf://spaces/new-arc/vector/frontend/src/app/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/globals.css
8.99 kB
| @import "tailwindcss"; | |
| @import "tw-animate-css"; | |
| @custom-variant dark (&:is(.dark *)); | |
| @theme inline { | |
| --color-background: var(--background); | |
| --color-foreground: var(--foreground); | |
| --font-sans: var(--font-geist-sans); | |
| --font-mono: var(--font-geist-mono); | |
| --color-sidebar-ring: var(--sidebar-ring); | |
| --color-sidebar-border: var(--sidebar-border); | |
| --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); | |
| --color-sidebar-accent: var(--sidebar-accent); | |
| --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); | |
| --color-sidebar-primary: var(--sidebar-primary); | |
| --color-sidebar-foreground: var(--sidebar-foreground); | |
| --color-sidebar: var(--sidebar); | |
| --color-chart-5: var(--chart-5); | |
| --color-chart-4: var(--chart-4); | |
| --color-chart-3: var(--chart-3); | |
| --color-chart-2: var(--chart-2); | |
| --color-chart-1: var(--chart-1); | |
| --color-ring: var(--ring); | |
| --color-input: var(--input); | |
| --color-border: var(--border); | |
| --color-destructive: var(--destructive); | |
| --color-accent-foreground: var(--accent-foreground); | |
| --color-accent: var(--accent); | |
| --color-muted-foreground: var(--muted-foreground); | |
| --color-muted: var(--muted); | |
| --color-secondary-foreground: var(--secondary-foreground); | |
| --color-secondary: var(--secondary); | |
| --color-primary-foreground: var(--primary-foreground); | |
| --color-primary: var(--primary); | |
| --color-popover-foreground: var(--popover-foreground); | |
| --color-popover: var(--popover); | |
| --color-card-foreground: var(--card-foreground); | |
| --color-card: var(--card); | |
| --color-brand: var(--brand); | |
| --color-brand-foreground: var(--brand-foreground); | |
| --color-brand-soft: var(--brand-soft); | |
| --color-canvas: var(--canvas); | |
| --font-display: var(--font-syne); | |
| --radius-sm: calc(var(--radius) - 4px); | |
| --radius-md: calc(var(--radius) - 2px); | |
| --radius-lg: var(--radius); | |
| --radius-xl: calc(var(--radius) + 4px); | |
| } | |
| :root { | |
| --radius: 0.75rem; | |
| --brand: oklch(0.64 0.2 38); | |
| --brand-foreground: oklch(0.99 0.005 60); | |
| --brand-soft: oklch(0.96 0.03 50); | |
| --canvas: oklch(0.985 0.002 75); | |
| --background: oklch(1 0 0); | |
| --foreground: oklch(0.147 0.004 49.25); | |
| --card: oklch(1 0 0); | |
| --card-foreground: oklch(0.147 0.004 49.25); | |
| --popover: oklch(1 0 0); | |
| --popover-foreground: oklch(0.147 0.004 49.25); | |
| --primary: oklch(0.216 0.006 56.043); | |
| --primary-foreground: oklch(0.985 0.001 106.423); | |
| --secondary: oklch(0.97 0.001 106.424); | |
| --secondary-foreground: oklch(0.216 0.006 56.043); | |
| --muted: oklch(0.97 0.001 106.424); | |
| --muted-foreground: oklch(0.553 0.013 58.071); | |
| --accent: oklch(0.97 0.001 106.424); | |
| --accent-foreground: oklch(0.216 0.006 56.043); | |
| --destructive: oklch(0.577 0.245 27.325); | |
| --border: oklch(0.923 0.003 48.717); | |
| --input: oklch(0.923 0.003 48.717); | |
| --ring: oklch(0.709 0.01 56.259); | |
| --chart-1: oklch(0.646 0.222 41.116); | |
| --chart-2: oklch(0.6 0.118 184.704); | |
| --chart-3: oklch(0.398 0.07 227.392); | |
| --chart-4: oklch(0.828 0.189 84.429); | |
| --chart-5: oklch(0.769 0.188 70.08); | |
| --sidebar: oklch(0.975 0.002 75); | |
| --sidebar-foreground: oklch(0.147 0.004 49.25); | |
| --sidebar-primary: oklch(0.216 0.006 56.043); | |
| --sidebar-primary-foreground: oklch(0.985 0.001 106.423); | |
| --sidebar-accent: oklch(0.97 0.001 106.424); | |
| --sidebar-accent-foreground: oklch(0.216 0.006 56.043); | |
| --sidebar-border: oklch(0.923 0.003 48.717); | |
| --sidebar-ring: oklch(0.709 0.01 56.259); | |
| } | |
| .dark { | |
| --brand: oklch(0.7 0.19 42); | |
| --brand-foreground: oklch(0.18 0.02 40); | |
| --brand-soft: oklch(0.3 0.06 40); | |
| --canvas: oklch(0.13 0.004 49.25); | |
| --background: oklch(0.147 0.004 49.25); | |
| --foreground: oklch(0.985 0.001 106.423); | |
| --card: oklch(0.216 0.006 56.043); | |
| --card-foreground: oklch(0.985 0.001 106.423); | |
| --popover: oklch(0.216 0.006 56.043); | |
| --popover-foreground: oklch(0.985 0.001 106.423); | |
| --primary: oklch(0.923 0.003 48.717); | |
| --primary-foreground: oklch(0.216 0.006 56.043); | |
| --secondary: oklch(0.268 0.007 34.298); | |
| --secondary-foreground: oklch(0.985 0.001 106.423); | |
| --muted: oklch(0.268 0.007 34.298); | |
| --muted-foreground: oklch(0.709 0.01 56.259); | |
| --accent: oklch(0.268 0.007 34.298); | |
| --accent-foreground: oklch(0.985 0.001 106.423); | |
| --destructive: oklch(0.704 0.191 22.216); | |
| --border: oklch(1 0 0 / 10%); | |
| --input: oklch(1 0 0 / 15%); | |
| --ring: oklch(0.553 0.013 58.071); | |
| --chart-1: oklch(0.488 0.243 264.376); | |
| --chart-2: oklch(0.696 0.17 162.48); | |
| --chart-3: oklch(0.769 0.188 70.08); | |
| --chart-4: oklch(0.627 0.265 303.9); | |
| --chart-5: oklch(0.645 0.246 16.439); | |
| --sidebar: oklch(0.216 0.006 56.043); | |
| --sidebar-foreground: oklch(0.985 0.001 106.423); | |
| --sidebar-primary: oklch(0.923 0.003 48.717); | |
| --sidebar-primary-foreground: oklch(0.216 0.006 56.043); | |
| --sidebar-accent: oklch(0.268 0.007 34.298); | |
| --sidebar-accent-foreground: oklch(0.985 0.001 106.423); | |
| --sidebar-border: oklch(1 0 0 / 10%); | |
| --sidebar-ring: oklch(0.553 0.013 58.071); | |
| } | |
| @layer base { | |
| * { | |
| @apply border-border outline-ring/50; | |
| } | |
| body { | |
| @apply bg-background text-foreground font-sans; | |
| } | |
| html[lang="zh-Hans"] body { | |
| font-family: var(--font-sans), "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; | |
| } | |
| } | |
| /* Landing page animations */ | |
| @keyframes landing-fade-in-up { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Batch command bar */ | |
| @keyframes command-bar-in { | |
| from { | |
| opacity: 0; | |
| transform: translateY(100%) scale(0.98); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| @keyframes command-bar-pulse { | |
| 0%, 100% { box-shadow: 0 -4px 30px oklch(0.216 0.006 56.043 / 0.12); } | |
| 50% { box-shadow: 0 -4px 30px oklch(0.216 0.006 56.043 / 0.22); } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| scroll-behavior: auto ; | |
| } | |
| } | |
| /* App shell polish */ | |
| @keyframes rise-in { | |
| from { opacity: 0; transform: translateY(6px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-rise { animation: rise-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; } | |
| @keyframes progress-sheen { | |
| from { transform: translateX(-100%); } | |
| to { transform: translateX(250%); } | |
| } | |
| .progress-sheen::after { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| width: 40%; | |
| background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.55), transparent); | |
| animation: progress-sheen 1.6s ease-in-out infinite; | |
| } | |
| /* Task processing: a muted iridescent metal bar and the step-tinted glow behind it */ | |
| @keyframes metal-flow { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 200% 50%; } } | |
| @keyframes aura-drift { | |
| 0%, 100% { transform: translate(0, 0) scale(1); } | |
| 33% { transform: translate(6%, -8%) scale(1.08); } | |
| 66% { transform: translate(-5%, 6%) scale(0.95); } | |
| } | |
| .metal-flow { | |
| background-image: | |
| linear-gradient(180deg, oklch(1 0 0 / 0.55), transparent 45%, oklch(0 0 0 / 0.08)), | |
| linear-gradient(100deg, | |
| oklch(0.83 0.05 245), oklch(0.95 0.015 260), oklch(0.72 0.04 270), oklch(0.85 0.06 305), | |
| oklch(0.96 0.02 340), oklch(0.8 0.06 20), oklch(0.93 0.04 75), oklch(0.74 0.03 110), | |
| oklch(0.86 0.05 165), oklch(0.96 0.015 200), oklch(0.83 0.05 245)); | |
| background-size: 100% 100%, 200% 100%; | |
| filter: saturate(0.75); | |
| animation: metal-flow 12s linear infinite; | |
| } | |
| /* Processing title: one faint light pass every ~7s, then rest. The band only | |
| lifts the text slightly toward the background, so words never wash out. */ | |
| @keyframes title-sheen { | |
| 0% { background-position: 100% 0; } | |
| 30%, 100% { background-position: -50% 0; } | |
| } | |
| .title-sheen { | |
| background-image: linear-gradient(100deg, | |
| var(--foreground) 42%, | |
| color-mix(in oklch, var(--foreground) 72%, var(--background)) 50%, | |
| var(--foreground) 58%); | |
| background-size: 250% 100%; | |
| background-position: 100% 0; | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| animation: title-sheen 7s ease-in-out infinite; | |
| } | |
| .aura-blob { animation: aura-drift 14s ease-in-out infinite; transition: background 1.2s ease; } | |
| @media (prefers-reduced-motion: reduce) { | |
| .metal-flow, .aura-blob, .title-sheen { animation: none; } | |
| } | |
| .scrollbar-none { scrollbar-width: none; } | |
| .scrollbar-none::-webkit-scrollbar { display: none; } | |
| /* Toast surfaces follow app tokens; descriptions must not follow the OS theme. */ | |
| .toaster [data-sonner-toast][data-styled="true"]:not([data-rich-colors="true"]) [data-description] { | |
| color: var(--muted-foreground); | |
| } | |
| /* Landing: the reframing crop drifting to follow the speaker */ | |
| @keyframes landing-pan { | |
| 0%, 100% { transform: translateX(-14%); } | |
| 50% { transform: translateX(14%); } | |
| } | |
| /* Landing: source stickers bobbing on the hero stage */ | |
| @keyframes landing-float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-3px); } | |
| } | |