Vague for shadcn/ui

Vague is a shadcn/ui theme built around a deep red primary color (#310d14) with deep orange accents (#31170d). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep red primary (#310d14) on a red-tinted background (#0b0406).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0406black
Foreground
#040101black
#fdfcfcsnow
Card
#fcfcfcsnow
#0f0607black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0b0406black
Popover foreground
#040101black
#fdfcfcsnow
Primary
#310d14black
#310d14black
Primary foreground
#e28d9epalevioletred
#e28d9epalevioletred
Secondary
#310d26black
#310d26black
Secondary foreground
#e28dc8plum
#e28dc8plum
Muted
#f1dfecmistyrose
#200e1bblack
Muted foreground
#594a55dimgray
#b5a6b0darkgray
Accent
#31170dblack
#31170dblack
Accent foreground
#e2a78dburlywood
#e2a78dburlywood
Destructive
#99110fdarkred
#e31a16crimson
Destructive foreground
#fcdfdfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#310d14black
#310d14black

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.79:1AAA
Text on card20.54:1AAA
Primary button7.14:1AAA
Secondary button7.32:1AAA
Muted text6.51:1AA
Accent8.05:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.81:1AAA
Text on card20.04:1AAA
Primary button7.14:1AAA
Secondary button7.32:1AAA
Muted text7.94:1AAA
Accent8.05:1AAA
Destructive4.73:1AA

CSS variables

Paste this into your globals.css to use Vague in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.08 0.021 3.599);
  --muted: oklch(0.922 0.026 336.382);
  --muted-foreground: oklch(0.429 0.025 336.948);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.08 0.021 3.599);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.221 0.059 11.179);
  --primary-foreground: oklch(0.736 0.104 6.951);
  --secondary: oklch(0.229 0.069 341.241);
  --secondary-foreground: oklch(0.75 0.126 338.797);
  --accent: oklch(0.239 0.045 43.388);
  --accent-foreground: oklch(0.777 0.078 44.206);
  --destructive: oklch(0.437 0.168 28.403);
  --destructive-foreground: oklch(0.927 0.032 18.906);
  --ring: oklch(0.221 0.059 11.179);
  --chart-1: oklch(0.221 0.059 11.179);
  --chart-2: oklch(0.229 0.069 341.241);
  --chart-3: oklch(0.239 0.045 43.388);
  --chart-4: oklch(0.26 0.082 341.577);
  --chart-5: oklch(0.221 0.062 11.684);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.016 3.449);
  --foreground: oklch(0.991 0.002 3.228);
  --muted: oklch(0.196 0.037 339.177);
  --muted-foreground: oklch(0.741 0.022 336.422);
  --popover: oklch(0.123 0.016 3.449);
  --popover-foreground: oklch(0.991 0.002 3.228);
  --card: oklch(0.136 0.019 4.414);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.221 0.059 11.179);
  --primary-foreground: oklch(0.736 0.104 6.951);
  --secondary: oklch(0.229 0.069 341.241);
  --secondary-foreground: oklch(0.75 0.126 338.797);
  --accent: oklch(0.239 0.045 43.388);
  --accent-foreground: oklch(0.777 0.078 44.206);
  --destructive: oklch(0.584 0.229 28.666);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.221 0.059 11.179);
  --chart-1: oklch(0.221 0.059 11.179);
  --chart-2: oklch(0.229 0.069 341.241);
  --chart-3: oklch(0.239 0.045 43.388);
  --chart-4: oklch(0.26 0.082 341.577);
  --chart-5: oklch(0.221 0.062 11.684);
}