Teriyaki for shadcn/ui

Teriyaki is a shadcn/ui theme built around a light green primary color (#c6e1b2) with muted light green accents (#c3cbbe). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#c6e1b2) on a neutral background (#050703).

Color palette

TokenLightDark
Background
#ffffffwhite
#050703black
Foreground
#091203black
#ffffffwhite
Card
#ffffffwhite
#050703black
Card foreground
#091203black
#ffffffwhite
Popover
#ffffffwhite
#050703black
Popover foreground
#091203black
#ffffffwhite
Primary
#c6e1b2silver
#c6e1b2silver
Primary foreground
#2d461bdarkslategray
#2d461bdarkslategray
Secondary
#dedfddgainsboro
#333333darkslategray
Secondary foreground
#454743darkslategray
#cccccclightgrey
Muted
#f2f3f2whitesmoke
#0d0c0cblack
Muted foreground
#565e50dimgray
#afa1a1darkgray
Accent
#c3cbbesilver
#534646darkslategray
Accent foreground
#2b3027darkslategray
#e8e3e3gainsboro
Destructive
#bb4411firebrick
#ed7440tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c6e1b2silver
#c6e1b2silver

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button7.38:1AAA
Secondary button7.01:1AAA
Muted text6.06:1AA
Accent8.10:1AAA
Destructive5.32:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button7.38:1AAA
Secondary button7.86:1AAA
Muted text7.83:1AAA
Accent7.06:1AAA
Destructive7.16:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.166 0.035 131.415);
  --muted: oklch(0.963 0.002 131.74);
  --muted-foreground: oklch(0.469 0.024 132.155);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.166 0.035 131.415);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.166 0.035 131.415);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.877 0.07 132.406);
  --primary-foreground: oklch(0.362 0.074 133.923);
  --secondary: oklch(0.902 0.003 131.751);
  --secondary-foreground: oklch(0.394 0.008 131.881);
  --accent: oklch(0.832 0.019 131.917);
  --accent-foreground: oklch(0.301 0.018 132.243);
  --destructive: oklch(0.545 0.163 39.743);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.877 0.07 132.406);
  --chart-1: oklch(0.877 0.07 132.406);
  --chart-2: oklch(0.902 0.003 131.751);
  --chart-3: oklch(0.832 0.019 131.917);
  --chart-4: oklch(0.925 0.002 131.744);
  --chart-5: oklch(0.88 0.074 132.452);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.014 130.745);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.156 0.002 17.389);
  --muted-foreground: oklch(0.722 0.016 17.534);
  --popover: oklch(0.123 0.014 130.745);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.014 130.745);
  --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.877 0.07 132.406);
  --primary-foreground: oklch(0.362 0.074 133.923);
  --secondary: oklch(0.321 0 180);
  --secondary-foreground: oklch(0.845 0 164.055);
  --accent: oklch(0.408 0.017 17.857);
  --accent-foreground: oklch(0.92 0.004 17.238);
  --destructive: oklch(0.692 0.164 42.416);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.877 0.07 132.406);
  --chart-1: oklch(0.877 0.07 132.406);
  --chart-2: oklch(0.321 0 180);
  --chart-3: oklch(0.408 0.017 17.857);
  --chart-4: oklch(0.351 0 167.471);
  --chart-5: oklch(0.88 0.074 132.452);
}