Past for shadcn/ui

Past is a shadcn/ui theme built around a muted cyan primary color (#b2c6cd) with neutral gray accents (#cecfd0). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#b2c6cd) on a cyan-tinted background (#060d0f).

Color palette

TokenLightDark
Background
#fbfdfewhite
#060d0fblack
Foreground
#020708black
#f9fbfbghostwhite
Card
#f7fbfdghostwhite
#071013black
Card foreground
#010304black
#fcfdfdwhite
Popover
#fbfdfewhite
#060d0fblack
Popover foreground
#020708black
#f9fbfbghostwhite
Primary
#b2c6cdlightsteelblue
#b2c6cdlightsteelblue
Primary foreground
#1e2a2edarkslategray
#1e2a2edarkslategray
Secondary
#cecfd0lightgrey
#272e30darkslategray
Secondary foreground
#343637darkslategray
#bec8cbsilver
Muted
#dceaeflavender
#101e23black
Muted foreground
#40474adarkslategray
#b5bdbfsilver
Accent
#cecfd0lightgrey
#272e30darkslategray
Accent foreground
#343637darkslategray
#bec8cbsilver
Destructive
#882006darkred
#f44215orangered
Destructive foreground
#fcd0c5peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b2c6cdlightsteelblue
#b2c6cdlightsteelblue

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.88:1AAA
Primary button8.30:1AAA
Secondary button7.77:1AAA
Muted text7.70:1AAA
Accent7.77:1AAA
Destructive6.60:1AA
Dark mode
Text on background18.91:1AAA
Text on card18.90:1AAA
Primary button8.30:1AAA
Secondary button8.13:1AAA
Muted text8.90:1AAA
Accent8.13:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 219.524);
  --foreground: oklch(0.119 0.013 214.348);
  --muted: oklch(0.928 0.016 219.649);
  --muted-foreground: oklch(0.393 0.01 219.733);
  --popover: oklch(0.993 0.002 219.524);
  --popover-foreground: oklch(0.119 0.013 214.348);
  --card: oklch(0.986 0.005 219.541);
  --card-foreground: oklch(0.095 0.01 214.348);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.813 0.024 219.766);
  --primary-foreground: oklch(0.277 0.018 220.289);
  --secondary: oklch(0.854 0.002 219.522);
  --secondary-foreground: oklch(0.332 0.002 219.561);
  --accent: oklch(0.854 0.002 219.522);
  --accent-foreground: oklch(0.332 0.002 219.561);
  --destructive: oklch(0.415 0.143 34.016);
  --destructive-foreground: oklch(0.892 0.053 34.359);
  --ring: oklch(0.813 0.024 219.766);
  --chart-1: oklch(0.813 0.024 219.766);
  --chart-2: oklch(0.854 0.002 219.522);
  --chart-3: oklch(0.854 0.002 219.522);
  --chart-4: oklch(0.877 0.001 219.519);
  --chart-5: oklch(0.814 0.027 219.811);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.013 218.554);
  --foreground: oklch(0.985 0.002 219.524);
  --muted: oklch(0.225 0.022 220.992);
  --muted-foreground: oklch(0.792 0.009 219.591);
  --popover: oklch(0.15 0.013 218.554);
  --popover-foreground: oklch(0.985 0.002 219.524);
  --card: oklch(0.164 0.015 220.07);
  --card-foreground: oklch(0.993 0.001 219.516);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.813 0.024 219.766);
  --primary-foreground: oklch(0.277 0.018 220.289);
  --secondary: oklch(0.294 0.011 219.855);
  --secondary-foreground: oklch(0.825 0.012 219.616);
  --accent: oklch(0.294 0.011 219.855);
  --accent-foreground: oklch(0.825 0.012 219.616);
  --destructive: oklch(0.639 0.22 33.947);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.024 219.766);
  --chart-1: oklch(0.813 0.024 219.766);
  --chart-2: oklch(0.294 0.011 219.855);
  --chart-3: oklch(0.294 0.011 219.855);
  --chart-4: oklch(0.325 0.012 219.872);
  --chart-5: oklch(0.814 0.027 219.811);
}