Shakedown for shadcn/ui

Shakedown is a shadcn/ui theme built around a vivid teal primary color (#11dde4) with vivid red accents (#e41811). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#11dde4) on a teal-tinted background (#060e0e).

Color palette

TokenLightDark
Background
#ffffffwhite
#060e0eblack
Foreground
#010404black
#f8fbfbghostwhite
Card
#ffffffwhite
#060e0eblack
Card foreground
#010404black
#f8fbfbghostwhite
Popover
#ffffffwhite
#060e0eblack
Popover foreground
#010404black
#f8fbfbghostwhite
Primary
#11dde4darkturquoise
#11dde4darkturquoise
Primary foreground
#032526black
#032526black
Secondary
#e41811red
#e41811red
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0d7d6gainsboro
#291f1fblack
Muted foreground
#625b5bdimgray
#a49d9ddarkgray
Accent
#e41811red
#e41811red
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#862904saddlebrown
#f96c34tomato
Destructive foreground
#fdd0bfpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#11dde4darkturquoise
#11dde4darkturquoise

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.57:1AAA
Primary button9.59:1AAA
Secondary button4.74:1AA
Muted text4.68:1AA
Accent4.74:1AA
Destructive6.43:1AA
Dark mode
Text on background18.75:1AAA
Text on card18.75:1AAA
Primary button9.59:1AAA
Secondary button4.74:1AA
Muted text6.02:1AA
Accent4.74:1AA
Destructive7.20:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.013 197.338);
  --muted: oklch(0.886 0.011 19.776);
  --muted-foreground: oklch(0.477 0.009 19.889);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.013 197.338);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.1 0.013 197.338);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.815 0.137 198.947);
  --primary-foreground: oklch(0.24 0.038 198.275);
  --secondary: oklch(0.583 0.23 29.124);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.583 0.23 29.124);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.419 0.133 38.098);
  --destructive-foreground: oklch(0.893 0.056 42.691);
  --ring: oklch(0.815 0.137 198.947);
  --chart-1: oklch(0.815 0.137 198.947);
  --chart-2: oklch(0.583 0.23 29.124);
  --chart-3: oklch(0.583 0.23 29.124);
  --chart-4: oklch(0.604 0.235 29.007);
  --chart-5: oklch(0.824 0.139 199.011);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.012 198.512);
  --foreground: oklch(0.987 0.003 199.563);
  --muted: oklch(0.251 0.015 20.521);
  --muted-foreground: oklch(0.703 0.009 19.777);
  --popover: oklch(0.155 0.012 198.512);
  --popover-foreground: oklch(0.987 0.003 199.563);
  --card: oklch(0.155 0.012 198.512);
  --card-foreground: oklch(0.987 0.003 199.563);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.815 0.137 198.947);
  --primary-foreground: oklch(0.24 0.038 198.275);
  --secondary: oklch(0.583 0.23 29.124);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.583 0.23 29.124);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.696 0.186 40.403);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.815 0.137 198.947);
  --chart-1: oklch(0.815 0.137 198.947);
  --chart-2: oklch(0.583 0.23 29.124);
  --chart-3: oklch(0.583 0.23 29.124);
  --chart-4: oklch(0.604 0.235 29.007);
  --chart-5: oklch(0.824 0.139 199.011);
}