Vague for shadcn/ui

Vague is a shadcn/ui theme built around a vivid orange primary color (#993814) with vivid violet accents (#381499). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid orange primary (#993814) on an orange-tinted background (#100804).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#100804black
Foreground
#000000black
#ffffffwhite
Card
#fdfcfcsnow
#100804black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfcfcsnow
#100804black
Popover foreground
#000000black
#ffffffwhite
Primary
#993814saddlebrown
#993814saddlebrown
Primary foreground
#fbeae4linen
#fbeae4linen
Secondary
#149938forestgreen
#149938forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d5e2d8gainsboro
#1d2a21black
Muted foreground
#4f5f53dimgray
#a0b0a5darkgray
Accent
#381499indigo
#381499indigo
Accent foreground
#eae4fblavender
#eae4fblavender
Destructive
#db1200red
#fa1500red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#993814saddlebrown
#993814saddlebrown

Contrast

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

Light mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button6.13:1AA
Secondary button3.70:1AA Large
Muted text5.07:1AA
Accent9.83:1AAA
Destructive5.10:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button6.13:1AA
Secondary button3.70:1AA Large
Muted text6.55:1AA
Accent9.83:1AAA
Destructive4.06:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 41.293);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.9 0.02 154.135);
  --muted-foreground: oklch(0.467 0.027 153.478);
  --popover: oklch(0.992 0.001 41.293);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.001 41.293);
  --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.474 0.139 38.524);
  --primary-foreground: oklch(0.95 0.021 41.149);
  --secondary: oklch(0.598 0.174 146.483);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.355 0.192 282.804);
  --accent-foreground: oklch(0.931 0.032 297.959);
  --destructive: oklch(0.565 0.226 30.109);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.474 0.139 38.524);
  --chart-1: oklch(0.474 0.139 38.524);
  --chart-2: oklch(0.598 0.174 146.483);
  --chart-3: oklch(0.355 0.192 282.804);
  --chart-4: oklch(0.636 0.186 146.414);
  --chart-5: oklch(0.476 0.143 38.21);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.018 46.63);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.026 152.677);
  --muted-foreground: oklch(0.742 0.024 153.949);
  --popover: oklch(0.143 0.018 46.63);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.143 0.018 46.63);
  --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.474 0.139 38.524);
  --primary-foreground: oklch(0.95 0.021 41.149);
  --secondary: oklch(0.598 0.174 146.483);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.355 0.192 282.804);
  --accent-foreground: oklch(0.931 0.032 297.959);
  --destructive: oklch(0.623 0.25 30.014);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.474 0.139 38.524);
  --chart-1: oklch(0.474 0.139 38.524);
  --chart-2: oklch(0.598 0.174 146.483);
  --chart-3: oklch(0.355 0.192 282.804);
  --chart-4: oklch(0.636 0.186 146.414);
  --chart-5: oklch(0.476 0.143 38.21);
}