Quinoa for shadcn/ui

Quinoa is a shadcn/ui theme built around a deep teal primary color (#12767d) with muted light teal accents (#d2dedf). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the deep teal primary (#12767d) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#020303black
Foreground
#030c0cblack
#f9fbfbghostwhite
Card
#f8fbfcghostwhite
#020303black
Card foreground
#030c0cblack
#f9fbfbghostwhite
Popover
#f8fbfcghostwhite
#020303black
Popover foreground
#030c0cblack
#f9fbfbghostwhite
Primary
#12767dteal
#12767dteal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2dedfgainsboro
#131a1bblack
Secondary foreground
#35494bdarkslategray
#a3bbbddarkgray
Muted
#e6e9ealavender
#151819black
Muted foreground
#45494adarkslategray
#b5b9basilver
Accent
#d2dedfgainsboro
#131a1bblack
Accent foreground
#35494bdarkslategray
#a3bbbddarkgray
Destructive
#6d0803maroon
#f92115red
Destructive foreground
#fdaaa5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#12767dteal
#12767dteal

Contrast

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

Light mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button5.37:1AA
Secondary button6.93:1AA
Muted text7.49:1AAA
Accent6.93:1AA
Destructive6.77:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button5.37:1AA
Secondary button8.72:1AAA
Muted text8.99:1AAA
Accent8.72:1AAA
Destructive3.99:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 202.178);
  --foreground: oklch(0.143 0.017 200.196);
  --muted: oklch(0.933 0.003 202.177);
  --muted-foreground: oklch(0.403 0.005 202.076);
  --popover: oklch(0.987 0.003 202.178);
  --popover-foreground: oklch(0.143 0.017 200.196);
  --card: oklch(0.987 0.003 202.178);
  --card-foreground: oklch(0.143 0.017 200.196);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.517 0.084 202.627);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.893 0.013 202.061);
  --secondary-foreground: oklch(0.39 0.025 201.661);
  --accent: oklch(0.893 0.013 202.061);
  --accent-foreground: oklch(0.39 0.025 201.661);
  --destructive: oklch(0.342 0.133 29.86);
  --destructive-foreground: oklch(0.817 0.099 22.765);
  --ring: oklch(0.517 0.084 202.627);
  --chart-1: oklch(0.517 0.084 202.627);
  --chart-2: oklch(0.893 0.013 202.061);
  --chart-3: oklch(0.893 0.013 202.061);
  --chart-4: oklch(0.914 0.01 202.093);
  --chart-5: oklch(0.522 0.085 202.745);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 200.685);
  --foreground: oklch(0.986 0.002 202.191);
  --muted: oklch(0.207 0.005 201.986);
  --muted-foreground: oklch(0.784 0.005 202.153);
  --popover: oklch(0.096 0.007 200.685);
  --popover-foreground: oklch(0.986 0.002 202.191);
  --card: oklch(0.096 0.007 200.685);
  --card-foreground: oklch(0.986 0.002 202.191);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.517 0.084 202.627);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.212 0.01 201.768);
  --secondary-foreground: oklch(0.774 0.026 201.886);
  --accent: oklch(0.212 0.01 201.768);
  --accent-foreground: oklch(0.774 0.026 201.886);
  --destructive: oklch(0.626 0.244 29.386);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.517 0.084 202.627);
  --chart-1: oklch(0.517 0.084 202.627);
  --chart-2: oklch(0.212 0.01 201.768);
  --chart-3: oklch(0.212 0.01 201.768);
  --chart-4: oklch(0.247 0.013 201.737);
  --chart-5: oklch(0.522 0.085 202.745);
}