Vague for shadcn/ui

Vague is a shadcn/ui theme built around a near-black primary color (#0f0007) with near-black accents (#0f0100). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#0f0007) on a pink-tinted background (#0f060a).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f060ablack
Foreground
#120309black
#f9f6f7whitesmoke
Card
#ffffffwhite
#0f060ablack
Card foreground
#120309black
#f9f6f7whitesmoke
Popover
#ffffffwhite
#0f060ablack
Popover foreground
#120309black
#f9f6f7whitesmoke
Primary
#0f0007black
#0f0007black
Primary foreground
#fc4597hotpink
#fc4597hotpink
Secondary
#0f000eblack
#0f000eblack
Secondary foreground
#fc45f3orchid
#fc45f3orchid
Muted
#e7d9e7gainsboro
#261825black
Muted foreground
#585157dimgray
#aea7aedarkgray
Accent
#0f0100black
#0f0100black
Accent foreground
#fc4e45tomato
#fc4e45tomato
Destructive
#923201saddlebrown
#f25202orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0f0007black
#0f0007black

Contrast

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

Light mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button6.28:1AA
Secondary button7.08:1AAA
Muted text5.68:1AA
Accent6.16:1AA
Destructive7.82:1AAA
Dark mode
Text on background18.65:1AAA
Text on card18.65:1AAA
Primary button6.28:1AA
Secondary button7.08:1AAA
Muted text7.23:1AAA
Accent6.16:1AA
Destructive3.49:1AA Large

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.132 0.037 349.986);
  --muted: oklch(0.902 0.024 327.277);
  --muted-foreground: oklch(0.443 0.013 327.315);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.132 0.037 349.986);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.132 0.037 349.986);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.113 0.045 348.326);
  --primary-foreground: oklch(0.678 0.227 357.847);
  --secondary: oklch(0.119 0.052 329.795);
  --secondary-foreground: oklch(0.717 0.278 330.225);
  --accent: oklch(0.112 0.038 33.062);
  --accent-foreground: oklch(0.669 0.212 27.44);
  --destructive: oklch(0.453 0.139 40.588);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.113 0.045 348.326);
  --chart-1: oklch(0.113 0.045 348.326);
  --chart-2: oklch(0.119 0.052 329.795);
  --chart-3: oklch(0.112 0.038 33.062);
  --chart-4: oklch(0.165 0.073 330.295);
  --chart-5: oklch(0.112 0.047 348.364);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.021 349.27);
  --foreground: oklch(0.975 0.004 347.933);
  --muted: oklch(0.231 0.033 328.262);
  --muted-foreground: oklch(0.737 0.012 327.186);
  --popover: oklch(0.137 0.021 349.27);
  --popover-foreground: oklch(0.975 0.004 347.933);
  --card: oklch(0.137 0.021 349.27);
  --card-foreground: oklch(0.975 0.004 347.933);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.113 0.045 348.326);
  --primary-foreground: oklch(0.678 0.227 357.847);
  --secondary: oklch(0.119 0.052 329.795);
  --secondary-foreground: oklch(0.717 0.278 330.225);
  --accent: oklch(0.112 0.038 33.062);
  --accent-foreground: oklch(0.669 0.212 27.44);
  --destructive: oklch(0.653 0.207 39.191);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.113 0.045 348.326);
  --chart-1: oklch(0.113 0.045 348.326);
  --chart-2: oklch(0.119 0.052 329.795);
  --chart-3: oklch(0.112 0.038 33.062);
  --chart-4: oklch(0.165 0.073 330.295);
  --chart-5: oklch(0.112 0.047 348.364);
}