@import '@hanzo/font/css'; @import 'tailwindcss'; @import '@hanzo/docs-base-ui/css/neutral.css'; @import '@hanzo/docs-base-ui/css/preset.css'; @plugin 'tailwindcss-animate'; /* Zen is the family. The import above declares the faces and publishes --font-zen-sans / --font-zen-mono; they are spelled HERE and nowhere else, bound to the --font-sans / --font-mono pair every rule and every font-* utility already reads — so the next face swap is these two lines, not a sweep. Unlayered, so it outranks Tailwind's own @layer theme defaults. */ :root { --font-sans: var(--font-zen-sans), ui-sans-serif, system-ui, sans-serif; --font-mono: var(--font-zen-mono), ui-monospace, SFMono-Regular, Menlo, monospace; } @theme { --spacing-page: 1436px; --color-brand: hsl(217, 91%, 60%); --color-brand-foreground: white; --color-brand-secondary: hsl(190, 90%, 50%); --color-brand-secondary-foreground: white; --color-brand-200: hsl(217, 80%, 70%); --color-landing-foreground: #1a1a2e; --color-landing-foreground-200: #4a4a6a; } .dark { --color-landing-foreground: #e4e4f0; --color-landing-foreground-200: #a0a0c0; --color-brand: hsl(217, 100%, 68%); --color-brand-secondary: hsl(190, 100%, 60%); --color-brand-secondary-foreground: black; --color-brand-foreground: white; --color-brand-200: hsl(217, 90%, 80%); } @theme inline { --default-mono-font-family: var(--font-mono); } html { scrollbar-gutter: stable; } html:has(body[data-scroll-locked]) { scrollbar-gutter: auto; } body { background-color: var(--color-fd-background); } :root { color-scheme: dark; --color-fd-background: hsl(0, 0%, 2%); --color-fd-foreground: hsl(0, 0%, 96%); --color-fd-muted: hsl(0, 0%, 10%); --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.85); --color-fd-popover: hsl(0, 0%, 4%); --color-fd-popover-foreground: hsl(0, 0%, 90%); --color-fd-card: hsl(0, 0%, 4%); --color-fd-card-foreground: hsl(0, 0%, 96%); --color-fd-border: hsla(0, 0%, 40%, 0.2); --color-fd-primary: hsl(0, 0%, 96%); --color-fd-primary-foreground: hsl(0, 0%, 8%); --color-fd-secondary: hsl(0, 0%, 12%); --color-fd-secondary-foreground: hsl(0, 0%, 92%); --color-fd-accent: hsla(0, 0%, 40%, 0.3); --color-fd-accent-foreground: hsl(0, 0%, 92%); --color-fd-ring: hsl(0, 0%, 55%); --color-fd-overlay: hsla(0, 0%, 0%, 0.3); } .dark { --color-fd-background: hsl(0, 0%, 2%); --color-fd-foreground: hsl(0, 0%, 96%); }