Everything for shadcn/ui

Everything is a shadcn/ui theme built around a muted orange primary color (#999080) with muted green accents (#959980). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#999080) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#ffffffwhite
#030302black
Foreground
#040301black
#fdfdfcwhite
Card
#ffffffwhite
#030302black
Card foreground
#040301black
#fdfdfcwhite
Popover
#ffffffwhite
#030302black
Popover foreground
#040301black
#fdfdfcwhite
Primary
#999080gray
#999080gray
Primary foreground
#000000black
#000000black
Secondary
#998380gray
#998380gray
Secondary foreground
#000000black
#000000black
Muted
#eddcd9gainsboro
#261512black
Muted foreground
#554b4adarkslategray
#b5acaadarkgray
Accent
#959980gray
#959980gray
Accent foreground
#000000black
#000000black
Destructive
#bd4f14chocolate
#e7641dchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#999080gray
#999080gray

Contrast

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

Light mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button6.65:1AA
Secondary button5.93:1AA
Muted text6.34:1AA
Accent7.13:1AAA
Destructive4.88:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button6.65:1AA
Secondary button5.93:1AA
Muted text7.88:1AAA
Accent7.13:1AAA
Destructive6.23:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.014 90.658);
  --muted: oklch(0.907 0.02 29.557);
  --muted-foreground: oklch(0.422 0.013 29.603);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.014 90.658);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.014 90.658);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.656 0.026 83.032);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.63 0.027 29.678);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.672 0.036 114.308);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.564 0.156 43.608);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.656 0.026 83.032);
  --chart-1: oklch(0.656 0.026 83.032);
  --chart-2: oklch(0.63 0.027 29.678);
  --chart-3: oklch(0.672 0.036 114.308);
  --chart-4: oklch(0.656 0.025 29.646);
  --chart-5: oklch(0.661 0.033 82.995);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 87.303);
  --foreground: oklch(0.993 0.001 83.054);
  --muted: oklch(0.218 0.03 30.551);
  --muted-foreground: oklch(0.752 0.011 29.523);
  --popover: oklch(0.096 0.007 87.303);
  --popover-foreground: oklch(0.993 0.001 83.054);
  --card: oklch(0.096 0.007 87.303);
  --card-foreground: oklch(0.993 0.001 83.054);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.656 0.026 83.032);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.63 0.027 29.678);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.672 0.036 114.308);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.658 0.18 43.834);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.656 0.026 83.032);
  --chart-1: oklch(0.656 0.026 83.032);
  --chart-2: oklch(0.63 0.027 29.678);
  --chart-3: oklch(0.672 0.036 114.308);
  --chart-4: oklch(0.656 0.025 29.646);
  --chart-5: oklch(0.661 0.033 82.995);
}