Planning for shadcn/ui

Planning is a shadcn/ui theme built around a muted light blue primary color (#e2e6e9) with muted light green accents (#e6e9e2). The light mode uses a neutral background (#f7fafd). Dark mode keeps the muted light blue primary (#e2e6e9) on a blue-tinted background (#070b0d).

Color palette

TokenLightDark
Background
#f7fafdghostwhite
#070b0dblack
Foreground
#03080cblack
#f8fafcghostwhite
Card
#f2f8fcaliceblue
#090d11black
Card foreground
#020508black
#fbfdfdwhite
Popover
#f7fafdghostwhite
#070b0dblack
Popover foreground
#03080cblack
#f8fafcghostwhite
Primary
#e2e6e9gainsboro
#e2e6e9gainsboro
Primary foreground
#424e57darkslategray
#424e57darkslategray
Secondary
#e9e2e6gainsboro
#e9e2e6gainsboro
Secondary foreground
#57424edarkslategray
#57424edarkslategray
Muted
#eee7eblinen
#181115black
Muted foreground
#584650darkslategray
#b9a7b1darkgray
Accent
#e6e9e2gainsboro
#e6e9e2gainsboro
Accent foreground
#4e5742darkolivegreen
#4e5742darkolivegreen
Destructive
#85190fmaroon
#cf2617firebrick
Destructive foreground
#f9d0cdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e2e6e9gainsboro
#e2e6e9gainsboro

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card19.07:1AAA
Primary button6.79:1AA
Secondary button7.18:1AAA
Muted text7.18:1AAA
Accent6.18:1AA
Destructive6.97:1AA
Dark mode
Text on background18.92:1AAA
Text on card19.08:1AAA
Primary button6.79:1AA
Secondary button7.18:1AAA
Muted text8.16:1AAA
Accent6.18:1AA
Destructive5.33:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.006 242.269);
  --foreground: oklch(0.13 0.014 235.311);
  --muted: oklch(0.935 0.008 342.84);
  --muted-foreground: oklch(0.417 0.028 344.188);
  --popover: oklch(0.984 0.006 242.269);
  --popover-foreground: oklch(0.13 0.014 235.311);
  --card: oklch(0.976 0.008 242.308);
  --card-foreground: oklch(0.114 0.012 234.652);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.922 0.006 242.281);
  --primary-foreground: oklch(0.416 0.022 242.917);
  --secondary: oklch(0.919 0.009 342.866);
  --secondary-foreground: oklch(0.406 0.035 344.604);
  --accent: oklch(0.93 0.01 126.568);
  --accent-foreground: oklch(0.443 0.036 127.517);
  --destructive: oklch(0.402 0.145 29.903);
  --destructive-foreground: oklch(0.892 0.047 24.169);
  --ring: oklch(0.922 0.006 242.281);
  --chart-1: oklch(0.922 0.006 242.281);
  --chart-2: oklch(0.919 0.009 342.866);
  --chart-3: oklch(0.93 0.01 126.568);
  --chart-4: oklch(0.944 0.006 342.786);
  --chart-5: oklch(0.922 0.007 242.299);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.009 240.652);
  --foreground: oklch(0.984 0.003 242.24);
  --muted: oklch(0.188 0.013 344.211);
  --muted-foreground: oklch(0.747 0.024 343.389);
  --popover: oklch(0.144 0.009 240.652);
  --popover-foreground: oklch(0.984 0.003 242.24);
  --card: oklch(0.157 0.011 242.821);
  --card-foreground: oklch(0.992 0.002 242.216);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.922 0.006 242.281);
  --primary-foreground: oklch(0.416 0.022 242.917);
  --secondary: oklch(0.919 0.009 342.866);
  --secondary-foreground: oklch(0.406 0.035 344.604);
  --accent: oklch(0.93 0.01 126.568);
  --accent-foreground: oklch(0.443 0.036 127.517);
  --destructive: oklch(0.552 0.205 30.028);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.922 0.006 242.281);
  --chart-1: oklch(0.922 0.006 242.281);
  --chart-2: oklch(0.919 0.009 342.866);
  --chart-3: oklch(0.93 0.01 126.568);
  --chart-4: oklch(0.944 0.006 342.786);
  --chart-5: oklch(0.922 0.007 242.299);
}