Shakedown for shadcn/ui

Shakedown is a shadcn/ui theme built around a light teal primary color (#caf7e7) with muted light teal accents (#ced9d5). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the light teal primary (#caf7e7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#000000black
Foreground
#010906black
#fcfdfdwhite
Card
#f8fcfbmintcream
#000000black
Card foreground
#010906black
#fcfdfdwhite
Popover
#f8fcfbmintcream
#000000black
Popover foreground
#010906black
#fcfdfdwhite
Primary
#caf7e7paleturquoise
#caf7e7paleturquoise
Primary foreground
#062319black
#062319black
Secondary
#ced9d5lightgrey
#18201dblack
Secondary foreground
#34423ddarkslategray
#aac0b8silver
Muted
#dfece7gainsboro
#13201bblack
Muted foreground
#3d514adarkslategray
#aec2bbsilver
Accent
#ced9d5lightgrey
#18201dblack
Accent foreground
#34423ddarkslategray
#aac0b8silver
Destructive
#c2160afirebrick
#f54538tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#caf7e7paleturquoise
#caf7e7paleturquoise

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button14.21:1AAA
Secondary button7.28:1AAA
Muted text6.97:1AA
Accent7.28:1AAA
Destructive6.15:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button14.21:1AAA
Secondary button8.64:1AAA
Muted text9.00:1AAA
Accent8.64:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 173.432);
  --foreground: oklch(0.127 0.019 173.89);
  --muted: oklch(0.932 0.014 173.124);
  --muted-foreground: oklch(0.417 0.027 171.496);
  --popover: oklch(0.987 0.005 173.432);
  --popover-foreground: oklch(0.127 0.019 173.89);
  --card: oklch(0.987 0.005 173.432);
  --card-foreground: oklch(0.127 0.019 173.89);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.94 0.05 171.907);
  --primary-foreground: oklch(0.232 0.041 166.355);
  --secondary: oklch(0.876 0.012 173.161);
  --secondary-foreground: oklch(0.364 0.02 171.852);
  --accent: oklch(0.876 0.012 173.161);
  --accent-foreground: oklch(0.364 0.02 171.852);
  --destructive: oklch(0.518 0.202 29.751);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.94 0.05 171.907);
  --chart-1: oklch(0.94 0.05 171.907);
  --chart-2: oklch(0.876 0.012 173.161);
  --chart-3: oklch(0.876 0.012 173.161);
  --chart-4: oklch(0.898 0.01 173.245);
  --chart-5: oklch(0.941 0.052 171.839);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 173.524);
  --muted: oklch(0.229 0.019 170.831);
  --muted-foreground: oklch(0.796 0.024 172.671);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 173.524);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.002 173.524);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.94 0.05 171.907);
  --primary-foreground: oklch(0.232 0.041 166.355);
  --secondary: oklch(0.235 0.013 171.796);
  --secondary-foreground: oklch(0.789 0.027 172.559);
  --accent: oklch(0.235 0.013 171.796);
  --accent-foreground: oklch(0.789 0.027 172.559);
  --destructive: oklch(0.646 0.214 28.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.94 0.05 171.907);
  --chart-1: oklch(0.94 0.05 171.907);
  --chart-2: oklch(0.235 0.013 171.796);
  --chart-3: oklch(0.235 0.013 171.796);
  --chart-4: oklch(0.27 0.016 171.66);
  --chart-5: oklch(0.941 0.052 171.839);
}