Preparation for shadcn/ui

Preparation is a shadcn/ui theme built around a vivid teal primary color (#2de6cb) with vivid blue accents (#2da6e6). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the vivid teal primary (#2de6cb) on a teal-tinted background (#060e0d).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#060e0dblack
Foreground
#030807black
#ffffffwhite
Card
#f8fcfbmintcream
#081210black
Card foreground
#010403black
#ffffffwhite
Popover
#f8fcfbmintcream
#081210black
Popover foreground
#010403black
#ffffffwhite
Primary
#2de6cbturquoise
#2de6cbturquoise
Primary foreground
#074037darkslategray
#074037darkslategray
Secondary
#2de66emediumseagreen
#2de66emediumseagreen
Secondary foreground
#07401bdarkgreen
#07401bdarkgreen
Muted
#d2e9dagainsboro
#162d1eblack
Muted foreground
#536559dimgray
#9aaca0darkgray
Accent
#2da6e6dodgerblue
#2da6e6dodgerblue
Accent foreground
#000000black
#000000black
Destructive
#ae4713sienna
#e97135tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2de6cbturquoise
#2de6cbturquoise

Contrast

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

Light mode
Text on background19.80:1AAA
Text on card19.87:1AAA
Primary button7.41:1AAA
Secondary button7.22:1AAA
Muted text4.88:1AA
Accent7.67:1AAA
Destructive5.64:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.04:1AAA
Primary button7.41:1AAA
Secondary button7.22:1AAA
Muted text6.17:1AA
Accent7.67:1AAA
Destructive6.85:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 186.546);
  --foreground: oklch(0.124 0.013 186.209);
  --muted: oklch(0.914 0.032 157.234);
  --muted-foreground: oklch(0.488 0.029 156.657);
  --popover: oklch(0.987 0.004 186.496);
  --popover-foreground: oklch(0.098 0.01 186.209);
  --card: oklch(0.987 0.004 186.496);
  --card-foreground: oklch(0.098 0.01 186.209);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.833 0.145 179.32);
  --primary-foreground: oklch(0.334 0.057 179.796);
  --secondary: oklch(0.813 0.216 149.238);
  --secondary-foreground: oklch(0.327 0.084 149.801);
  --accent: oklch(0.689 0.139 238.19);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.529 0.148 42.619);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.833 0.145 179.32);
  --chart-1: oklch(0.833 0.145 179.32);
  --chart-2: oklch(0.813 0.216 149.238);
  --chart-3: oklch(0.689 0.139 238.19);
  --chart-4: oklch(0.821 0.207 150.06);
  --chart-5: oklch(0.842 0.148 179.078);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.013 184.922);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.272 0.041 154.225);
  --muted-foreground: oklch(0.728 0.027 157.194);
  --popover: oklch(0.17 0.015 184.248);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.17 0.015 184.248);
  --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.833 0.145 179.32);
  --primary-foreground: oklch(0.334 0.057 179.796);
  --secondary: oklch(0.813 0.216 149.238);
  --secondary-foreground: oklch(0.327 0.084 149.801);
  --accent: oklch(0.689 0.139 238.19);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.68 0.165 44.643);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.833 0.145 179.32);
  --chart-1: oklch(0.833 0.145 179.32);
  --chart-2: oklch(0.813 0.216 149.238);
  --chart-3: oklch(0.689 0.139 238.19);
  --chart-4: oklch(0.821 0.207 150.06);
  --chart-5: oklch(0.842 0.148 179.078);
}