Ready for shadcn/ui

Ready is a shadcn/ui theme built around a vivid deep teal primary color (#022627) with vivid deep yellow accents (#262702). The light mode uses a neutral background (#f6fdfd). Dark mode keeps the vivid deep teal primary (#022627) on a teal-tinted background (#050b0b).

Color palette

TokenLightDark
Background
#f6fdfdmintcream
#050b0bblack
Foreground
#021212black
#ffffffwhite
Card
#f6fdfdmintcream
#050b0bblack
Card foreground
#021212black
#ffffffwhite
Popover
#f6fdfdmintcream
#050b0bblack
Popover foreground
#021212black
#ffffffwhite
Primary
#022627black
#022627black
Primary foreground
#0be6eaaqua
#0be6eaaqua
Secondary
#270226black
#270226black
Secondary foreground
#f863f5violet
#f863f5violet
Muted
#eeddeelavender
#221122black
Muted foreground
#554455darkslategray
#bbaabbsilver
Accent
#262702black
#262702black
Accent foreground
#e6ea0bgold
#e6ea0bgold
Destructive
#751306maroon
#db230afirebrick
Destructive foreground
#fbbab1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#022627black
#022627black

Contrast

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

Light mode
Text on background18.61:1AAA
Text on card18.61:1AAA
Primary button10.29:1AAA
Secondary button7.21:1AAA
Muted text6.91:1AA
Accent11.74:1AAA
Destructive6.90:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button10.29:1AAA
Secondary button7.21:1AAA
Muted text8.18:1AAA
Accent11.74:1AAA
Destructive4.93:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 198.255);
  --foreground: oklch(0.167 0.024 196.409);
  --muted: oklch(0.916 0.029 326.31);
  --muted-foreground: oklch(0.411 0.035 326.713);
  --popover: oklch(0.99 0.007 198.255);
  --popover-foreground: oklch(0.167 0.024 196.409);
  --card: oklch(0.99 0.007 198.255);
  --card-foreground: oklch(0.167 0.024 196.409);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.246 0.04 196.537);
  --primary-foreground: oklch(0.839 0.142 196.884);
  --secondary: oklch(0.194 0.083 328.912);
  --secondary-foreground: oklch(0.739 0.243 328.358);
  --accent: oklch(0.263 0.055 110.6);
  --accent-foreground: oklch(0.904 0.197 110.93);
  --destructive: oklch(0.364 0.134 31.177);
  --destructive-foreground: oklch(0.846 0.078 27.32);
  --ring: oklch(0.246 0.04 196.537);
  --chart-1: oklch(0.246 0.04 196.537);
  --chart-2: oklch(0.194 0.083 328.912);
  --chart-3: oklch(0.263 0.055 110.6);
  --chart-4: oklch(0.235 0.102 328.995);
  --chart-5: oklch(0.248 0.041 196.522);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.011 197.065);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.209 0.042 327.515);
  --muted-foreground: oklch(0.758 0.03 326.368);
  --popover: oklch(0.14 0.011 197.065);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.011 197.065);
  --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.246 0.04 196.537);
  --primary-foreground: oklch(0.839 0.142 196.884);
  --secondary: oklch(0.194 0.083 328.912);
  --secondary-foreground: oklch(0.739 0.243 328.358);
  --accent: oklch(0.263 0.055 110.6);
  --accent-foreground: oklch(0.904 0.197 110.93);
  --destructive: oklch(0.572 0.218 30.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.246 0.04 196.537);
  --chart-1: oklch(0.246 0.04 196.537);
  --chart-2: oklch(0.194 0.083 328.912);
  --chart-3: oklch(0.263 0.055 110.6);
  --chart-4: oklch(0.235 0.102 328.995);
  --chart-5: oklch(0.248 0.041 196.522);
}