Council for shadcn/ui

Council is a shadcn/ui theme built around a teal primary color (#6daeb0) with blue accents (#6d8db0). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the teal primary (#6daeb0) on a neutral background (#020808).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020808black
Foreground
#020808black
#ffffffwhite
Card
#fbfdfewhite
#020808black
Card foreground
#020808black
#ffffffwhite
Popover
#fbfdfewhite
#020808black
Popover foreground
#020808black
#ffffffwhite
Primary
#6daeb0cadetblue
#6daeb0cadetblue
Primary foreground
#000000black
#000000black
Secondary
#6db091cadetblue
#6db091cadetblue
Secondary foreground
#000000black
#000000black
Muted
#eef6f3whitesmoke
#09110dblack
Muted foreground
#5a635fdimgray
#9ca5a1darkgray
Accent
#6d8db0lightslategray
#6d8db0lightslategray
Accent foreground
#000000black
#000000black
Destructive
#d83503orangered
#ec3a04orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6daeb0cadetblue
#6daeb0cadetblue

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button8.35:1AAA
Secondary button8.30:1AAA
Muted text5.65:1AA
Accent6.06:1AA
Destructive4.74:1AA
Dark mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button8.35:1AAA
Secondary button8.30:1AAA
Muted text7.58:1AAA
Accent6.06:1AA
Destructive4.05:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 199.574);
  --foreground: oklch(0.126 0.015 197.479);
  --muted: oklch(0.967 0.009 166.642);
  --muted-foreground: oklch(0.49 0.014 166.134);
  --popover: oklch(0.994 0.002 199.574);
  --popover-foreground: oklch(0.126 0.015 197.479);
  --card: oklch(0.994 0.002 199.574);
  --card-foreground: oklch(0.126 0.015 197.479);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.709 0.067 198.559);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.705 0.083 163.095);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.632 0.065 252.174);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.579 0.205 34.309);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.067 198.559);
  --chart-1: oklch(0.709 0.067 198.559);
  --chart-2: oklch(0.705 0.083 163.095);
  --chart-3: oklch(0.632 0.065 252.174);
  --chart-4: oklch(0.725 0.078 163.519);
  --chart-5: oklch(0.716 0.072 198.51);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.014 197.653);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.166 0.014 164.466);
  --muted-foreground: oklch(0.714 0.012 166.427);
  --popover: oklch(0.125 0.014 197.653);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.014 197.653);
  --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.709 0.067 198.559);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.705 0.083 163.095);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.632 0.065 252.174);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.618 0.22 34.171);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.067 198.559);
  --chart-1: oklch(0.709 0.067 198.559);
  --chart-2: oklch(0.705 0.083 163.095);
  --chart-3: oklch(0.632 0.065 252.174);
  --chart-4: oklch(0.725 0.078 163.519);
  --chart-5: oklch(0.716 0.072 198.51);
}