Easy for shadcn/ui

Easy is a shadcn/ui theme built around a cyan primary color (#217183) with muted cyan accents (#b1c9ce). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#217183) on a cyan-tinted background (#070c0d).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#070c0dblack
Foreground
#051214black
#f4f9famintcream
Card
#f8fbfcghostwhite
#070c0dblack
Card foreground
#051214black
#f4f9famintcream
Popover
#f8fbfcghostwhite
#070c0dblack
Popover foreground
#051214black
#f4f9famintcream
Primary
#217183teal
#217183teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c5d0d3lightgrey
#141515black
Secondary foreground
#2c373adarkslategray
#abafb0darkgray
Muted
#e5eaeblavender
#14191ablack
Muted foreground
#505f62dimgray
#9dabafdarkgray
Accent
#b1c9celightsteelblue
#1f2628darkslategray
Accent foreground
#1d2c2fdarkslategray
#b5c2c5silver
Destructive
#91230dsaddlebrown
#ec5132tomato
Destructive foreground
#fbdbd5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#217183teal
#217183teal

Contrast

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

Light mode
Text on background18.33:1AAA
Text on card18.33:1AAA
Primary button5.62:1AA
Secondary button7.79:1AAA
Muted text5.49:1AA
Accent8.29:1AAA
Destructive6.61:1AA
Dark mode
Text on background18.51:1AAA
Text on card18.51:1AAA
Primary button5.62:1AA
Secondary button8.28:1AAA
Muted text7.49:1AAA
Accent8.36:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 212.664);
  --foreground: oklch(0.17 0.02 212.789);
  --muted: oklch(0.934 0.006 212.667);
  --muted-foreground: oklch(0.474 0.019 212.78);
  --popover: oklch(0.986 0.004 212.664);
  --popover-foreground: oklch(0.17 0.02 212.789);
  --card: oklch(0.986 0.004 212.664);
  --card-foreground: oklch(0.17 0.02 212.789);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.508 0.079 216.18);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.851 0.012 212.68);
  --secondary-foreground: oklch(0.329 0.015 212.823);
  --accent: oklch(0.818 0.027 212.745);
  --accent-foreground: oklch(0.281 0.02 213.082);
  --destructive: oklch(0.434 0.148 32.915);
  --destructive-foreground: oklch(0.917 0.036 31.17);
  --ring: oklch(0.508 0.079 216.18);
  --chart-1: oklch(0.508 0.079 216.18);
  --chart-2: oklch(0.851 0.012 212.68);
  --chart-3: oklch(0.818 0.027 212.745);
  --chart-4: oklch(0.873 0.01 212.675);
  --chart-5: oklch(0.513 0.082 216.506);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.009 212.083);
  --foreground: oklch(0.98 0.006 212.666);
  --muted: oklch(0.209 0.009 212.798);
  --muted-foreground: oklch(0.732 0.017 212.705);
  --popover: oklch(0.15 0.009 212.083);
  --popover-foreground: oklch(0.98 0.006 212.666);
  --card: oklch(0.15 0.009 212.083);
  --card-foreground: oklch(0.98 0.006 212.666);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.508 0.079 216.18);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.194 0.002 212.669);
  --secondary-foreground: oklch(0.751 0.005 212.667);
  --accent: oklch(0.264 0.01 212.779);
  --accent-foreground: oklch(0.804 0.015 212.69);
  --destructive: oklch(0.643 0.197 33.207);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.508 0.079 216.18);
  --chart-1: oklch(0.508 0.079 216.18);
  --chart-2: oklch(0.194 0.002 212.669);
  --chart-3: oklch(0.264 0.01 212.779);
  --chart-4: oklch(0.228 0.002 212.671);
  --chart-5: oklch(0.513 0.082 216.506);
}