Destroyer for shadcn/ui

Destroyer is a shadcn/ui theme built around a deep teal primary color (#092a1b) with muted light teal accents (#c8d5cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#092a1b) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#ffffffwhite
#010403black
Foreground
#030805black
#f5f9f8whitesmoke
Card
#ffffffwhite
#010403black
Card foreground
#030805black
#f5f9f8whitesmoke
Popover
#ffffffwhite
#010403black
Popover foreground
#030805black
#f5f9f8whitesmoke
Primary
#092a1bblack
#092a1bblack
Primary foreground
#2ed188mediumseagreen
#2ed188mediumseagreen
Secondary
#dfe2e1gainsboro
#141a17black
Secondary foreground
#444b48darkslategray
#a6bab1darkgray
Muted
#d2eadfgainsboro
#152d22black
Muted foreground
#5d6f67dimgray
#90a29adarkseagreen
Accent
#c8d5cflightgrey
#23382fdarkslategray
Accent foreground
#2e3d36darkslategray
#bad4c8silver
Destructive
#d12610firebrick
#ef452etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#092a1bblack
#092a1bblack

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button7.80:1AAA
Secondary button6.85:1AA
Muted text4.20:1AA Large
Accent7.56:1AAA
Destructive5.26:1AA
Dark mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button7.80:1AAA
Secondary button8.64:1AAA
Muted text5.45:1AA
Accent7.90:1AAA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.014 168.017);
  --muted: oklch(0.916 0.029 166.908);
  --muted-foreground: oklch(0.525 0.025 166.399);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.014 168.017);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.014 168.017);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.256 0.047 160.532);
  --primary-foreground: oklch(0.763 0.167 157.839);
  --secondary: oklch(0.91 0.004 167.698);
  --secondary-foreground: oklch(0.405 0.011 167.066);
  --accent: oklch(0.862 0.017 167.263);
  --accent-foreground: oklch(0.345 0.023 165.831);
  --destructive: oklch(0.555 0.207 30.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.256 0.047 160.532);
  --chart-1: oklch(0.256 0.047 160.532);
  --chart-2: oklch(0.91 0.004 167.698);
  --chart-3: oklch(0.862 0.017 167.263);
  --chart-4: oklch(0.933 0.003 167.729);
  --chart-5: oklch(0.258 0.049 160.227);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.011 168.021);
  --foreground: oklch(0.98 0.005 167.671);
  --muted: oklch(0.274 0.036 163.304);
  --muted-foreground: oklch(0.696 0.024 166.83);
  --popover: oklch(0.098 0.011 168.021);
  --popover-foreground: oklch(0.98 0.005 167.671);
  --card: oklch(0.098 0.011 168.021);
  --card-foreground: oklch(0.98 0.005 167.671);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.256 0.047 160.532);
  --primary-foreground: oklch(0.763 0.167 157.839);
  --secondary: oklch(0.21 0.01 166.371);
  --secondary-foreground: oklch(0.771 0.026 166.846);
  --accent: oklch(0.321 0.032 164.668);
  --accent-foreground: oklch(0.847 0.032 166.73);
  --destructive: oklch(0.636 0.21 30.91);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.256 0.047 160.532);
  --chart-1: oklch(0.256 0.047 160.532);
  --chart-2: oklch(0.21 0.01 166.371);
  --chart-3: oklch(0.321 0.032 164.668);
  --chart-4: oklch(0.245 0.013 166.22);
  --chart-5: oklch(0.258 0.049 160.227);
}