Forge theme

Forge visual language: warm amber on near-black or warm white, serif headings, hairline borders and square corners.

pnpm dlx shadcn@latest add @leo/forge-theme

Theme variables

{
  "cssVars": {
    "theme": {
      "font-heading": "\"Lora\", ui-serif, Georgia, serif",
      "font-sans": "\"Be Vietnam Pro\", ui-sans-serif, system-ui, sans-serif",
      "font-mono": "\"JetBrains Mono\", ui-monospace, monospace"
    },
    "light": {
      "radius": "0rem",
      "background": "#fafaf9",
      "foreground": "#0a0a0b",
      "card": "#ffffff",
      "card-foreground": "#0a0a0b",
      "popover": "#ffffff",
      "popover-foreground": "#0a0a0b",
      "muted": "#f5f5f4",
      "muted-foreground": "#57534e",
      "border": "#e7e5e4",
      "input": "#e7e5e4",
      "primary": "#b45309",
      "primary-foreground": "#fafaf9",
      "secondary": "#f5f5f4",
      "secondary-foreground": "#0a0a0b",
      "accent": "#f5f5f4",
      "accent-foreground": "#0a0a0b",
      "ring": "#b45309",
      "destructive": "#dc2626",
      "forge-glow": "0"
    },
    "dark": {
      "background": "#0a0a0b",
      "foreground": "#fafaf9",
      "card": "#111113",
      "card-foreground": "#fafaf9",
      "popover": "#111113",
      "popover-foreground": "#fafaf9",
      "muted": "#18181b",
      "muted-foreground": "#a1a1aa",
      "border": "#222225",
      "input": "#222225",
      "primary": "#d97706",
      "primary-foreground": "#0a0a0b",
      "secondary": "#18181b",
      "secondary-foreground": "#fafaf9",
      "accent": "#18181b",
      "accent-foreground": "#fafaf9",
      "ring": "#f59e0b",
      "destructive": "#ef4444",
      "forge-glow": "1"
    }
  },
  "css": {
    "@layer base": {
      "h1, h2, h3": {
        "font-family": "var(--font-heading)"
      }
    }
  }
}