--- name: "Haze UI" version: "1.0.0" framework: "Astro + Tailwind CSS v4" defaultTheme: "dark" tokens: radius: "0.4rem" fontSans: "\"Sora Variable\", ui-sans-serif, system-ui, sans-serif" fontMono: "\"Inter Variable\", ui-monospace, SFMono-Regular, monospace" dark: background: "oklch(0.19 0 0)" foreground: "oklch(0.96 0 0)" card: "oklch(0.215 0 0)" card-foreground: "oklch(0.96 0 0)" popover: "oklch(0.24 0 0)" popover-foreground: "oklch(0.96 0 0)" primary: "oklch(0.96 0 0)" primary-foreground: "oklch(0.19 0 0)" secondary: "oklch(0.215 0 0)" secondary-foreground: "oklch(0.96 0 0)" muted: "oklch(0.26 0 0)" muted-foreground: "oklch(0.72 0 0)" accent: "oklch(0.285 0 0)" accent-foreground: "oklch(0.96 0 0)" destructive: "oklch(0.71 0.155 8)" destructive-foreground: "oklch(0.19 0 0)" success: "oklch(0.79 0.14 162)" success-foreground: "oklch(0.19 0 0)" warning: "oklch(0.83 0.12 78)" warning-foreground: "oklch(0.19 0 0)" border: "oklch(0.29 0 0)" border-strong: "oklch(0.4 0 0)" border-hover: "oklch(0.46 0 0)" border-control: "oklch(0.56 0 0)" input: "oklch(0.4 0 0)" control: "oklch(1 0 0 / 4%)" highlight: "oklch(1 0 0 / 6%)" ring: "oklch(0.62 0 0)" brand: "oklch(0.74 0.13 255)" brand-foreground: "oklch(0.19 0 0)" brand-border: "oklch(0.38 0.045 255)" success-border: "oklch(0.39 0.05 162)" warning-border: "oklch(0.41 0.045 78)" destructive-border: "oklch(0.38 0.065 8)" light: background: "oklch(1 0 0)" foreground: "oklch(0.15 0 0)" card: "oklch(1 0 0)" card-foreground: "oklch(0.15 0 0)" popover: "oklch(1 0 0)" popover-foreground: "oklch(0.15 0 0)" primary: "oklch(0.23 0 0)" primary-foreground: "oklch(1 0 0)" secondary: "oklch(0.978 0 0)" secondary-foreground: "oklch(0.15 0 0)" muted: "oklch(0.958 0 0)" muted-foreground: "oklch(0.42 0 0)" accent: "oklch(0.935 0 0)" accent-foreground: "oklch(0.15 0 0)" destructive: "oklch(0.48 0.175 12)" destructive-foreground: "oklch(0.985 0 0)" success: "oklch(0.46 0.125 162)" success-foreground: "oklch(0.985 0 0)" warning: "oklch(0.48 0.115 68)" warning-foreground: "oklch(0.985 0 0)" border: "oklch(0.935 0 0)" border-strong: "oklch(0.82 0 0)" border-hover: "oklch(0.72 0 0)" border-control: "oklch(0.54 0 0)" input: "oklch(0.71 0 0)" control: "oklch(0 0 0 / 4%)" highlight: "oklch(1 0 0 / 75%)" ring: "oklch(0.55 0 0)" brand: "oklch(0.47 0.14 255)" brand-foreground: "oklch(0.985 0 0)" brand-border: "oklch(0.76 0.075 255)" success-border: "oklch(0.76 0.075 162)" warning-border: "oklch(0.76 0.075 68)" destructive-border: "oklch(0.76 0.085 12)" --- # Haze UI Design System ## Overview Haze UI is an Astro-first library of 376 dark, shadcn-style page blocks and UI components distributed as plain `.astro` source files via the shadcn CLI (`@haze/*`). Components rely on native HTML interactivity (``, `popover`, `
`) and semantic Tailwind CSS v4 tokens with zero UI framework runtime. ## Colors All colors live in `src/styles/haze.css` as perceptual OKLCH tokens. Base neutrals carry zero chroma so product content, data charts, and semantic status tokens read cleanly. - **Dark surfaces (default):** `--background` (`oklch(0.19 0 0)`), `--card` (`oklch(0.215 0 0)`), `--popover` (`oklch(0.24 0 0)`), `--muted` (`oklch(0.26 0 0)`), `--accent` (`oklch(0.285 0 0)`). - **Opaque hairlines:** `--border` (`oklch(0.29 0 0)` dark / `oklch(0.935 0 0)` light) and `--border-strong` prevent double-brightness seams where bordered items meet. - **Status colors:** `--brand`, `--success`, `--warning`, and `--destructive` (each with a `-foreground` partner and `-border` edge). Chips cap tints at `/14`; alert panels cap at `/8` or `/10` to maintain >= 4.5:1 WCAG 2.2 AA contrast. ## Typography - **Primary sans:** `Sora Variable` (`--font-sans`) with `letter-spacing: -0.011em`. - **Monospace / code / numeric:** `Inter Variable` (`--font-mono`) with `tabular-nums` on counts, metrics, prices, and table columns. - **Scale:** Labels `text-sm/5 font-medium`, body copy `text-sm/6`, helper text `text-[0.8125rem]/5 text-muted-foreground`, micro-labels `text-[0.6875rem]/4 uppercase tracking-wider`. ## Layout - **Responsive baseline:** Mobile-first from `320px` up with zero horizontal scroll. - **Control sizing:** `h-10` (40 px) default controls, `h-8` (32 px) small, `h-11` (44 px) large; interactive targets are at least 24 × 24 px. - **Landmarks:** One `

` per page; `
`/`