Shady for shadcn/ui

Shady is a shadcn/ui theme built around a vivid teal primary color (#7af5e1) with muted light teal accents (#caddda). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid teal primary (#7af5e1) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#010404black
Foreground
#000000black
#f8fcfbmintcream
Card
#f3fcfbmintcream
#020807black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f3fcfbmintcream
#020807black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#7af5e1aquamarine
#7af5e1aquamarine
Primary foreground
#043930darkslategray
#043930darkslategray
Secondary
#dee7e6gainsboro
#27302edarkslategray
Secondary foreground
#3e5652darkslategray
#becac8silver
Muted
#d5ece8gainsboro
#132a26black
Muted foreground
#576b67dimgray
#94a8a5darkgray
Accent
#cadddalightgrey
#334844darkslategray
Accent foreground
#2e4843darkslategray
#cfdddbgainsboro
Destructive
#953a09saddlebrown
#f27431tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7af5e1aquamarine
#7af5e1aquamarine

Contrast

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

Light mode
Text on background20.40:1AAA
Text on card20.11:1AAA
Primary button9.78:1AAA
Secondary button6.29:1AA
Muted text4.57:1AA
Accent7.00:1AAA
Destructive7.28:1AAA
Dark mode
Text on background19.90:1AAA
Text on card19.80:1AAA
Primary button9.78:1AAA
Secondary button8.07:1AAA
Muted text6.06:1AA
Accent7.01:1AAA
Destructive7.33:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 185.269);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.925 0.024 184.748);
  --muted-foreground: oklch(0.509 0.024 184.183);
  --popover: oklch(0.984 0.01 185.177);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.01 185.177);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.894 0.115 181.275);
  --primary-foreground: oklch(0.309 0.054 178.102);
  --secondary: oklch(0.922 0.01 185.17);
  --secondary-foreground: oklch(0.432 0.03 183.537);
  --accent: oklch(0.883 0.021 184.824);
  --accent-foreground: oklch(0.378 0.032 182.964);
  --destructive: oklch(0.469 0.133 42.953);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.115 181.275);
  --chart-1: oklch(0.894 0.115 181.275);
  --chart-2: oklch(0.922 0.01 185.17);
  --chart-3: oklch(0.883 0.021 184.824);
  --chart-4: oklch(0.943 0.007 185.252);
  --chart-5: oklch(0.898 0.118 181.141);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 185.12);
  --foreground: oklch(0.987 0.004 185.356);
  --muted: oklch(0.265 0.03 181.985);
  --muted-foreground: oklch(0.715 0.022 184.622);
  --popover: oklch(0.125 0.014 185.12);
  --popover-foreground: oklch(0.994 0.002 185.403);
  --card: oklch(0.125 0.014 185.12);
  --card-foreground: oklch(0.994 0.002 185.403);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.894 0.115 181.275);
  --primary-foreground: oklch(0.309 0.054 178.102);
  --secondary: oklch(0.299 0.012 184.348);
  --secondary-foreground: oklch(0.83 0.013 185.034);
  --accent: oklch(0.382 0.027 183.485);
  --accent-foreground: oklch(0.887 0.015 184.997);
  --destructive: oklch(0.698 0.173 45.556);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.894 0.115 181.275);
  --chart-1: oklch(0.894 0.115 181.275);
  --chart-2: oklch(0.299 0.012 184.348);
  --chart-3: oklch(0.382 0.027 183.485);
  --chart-4: oklch(0.331 0.014 184.308);
  --chart-5: oklch(0.898 0.118 181.141);
}