Corrupt for shadcn/ui

Corrupt is a shadcn/ui theme built around a teal primary color (#84dcd3) with yellow accents (#dcd384). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#84dcd3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#031110black
#fcfdfdwhite
Card
#fbfefewhite
#000000black
Card foreground
#031110black
#fcfdfdwhite
Popover
#fbfefewhite
#000000black
Popover foreground
#031110black
#fcfdfdwhite
Primary
#84dcd3skyblue
#84dcd3skyblue
Primary foreground
#0a2421black
#0a2421black
Secondary
#d384dcorchid
#d384dcorchid
Secondary foreground
#210a24black
#210a24black
Muted
#eee1eflavender
#1c101eblack
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#dcd384burlywood
#dcd384burlywood
Accent foreground
#24210ablack
#24210ablack
Destructive
#671b04maroon
#f0400aorangered
Destructive foreground
#fbb7a2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#84dcd3skyblue
#84dcd3skyblue

Contrast

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

Light mode
Text on background18.95:1AAA
Text on card18.95:1AAA
Primary button10.23:1AAA
Secondary button7.14:1AAA
Muted text7.96:1AAA
Accent10.59:1AAA
Destructive7.14:1AAA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button10.23:1AAA
Secondary button7.14:1AAA
Muted text9.77:1AAA
Accent10.59:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 190.01);
  --foreground: oklch(0.165 0.022 187.553);
  --muted: oklch(0.924 0.023 322.725);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.994 0.003 190.01);
  --popover-foreground: oklch(0.165 0.022 187.553);
  --card: oklch(0.994 0.003 190.01);
  --card-foreground: oklch(0.165 0.022 187.553);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.837 0.087 187.474);
  --primary-foreground: oklch(0.239 0.032 186.419);
  --secondary: oklch(0.726 0.15 323.348);
  --secondary-foreground: oklch(0.196 0.058 323.538);
  --accent: oklch(0.857 0.101 102.794);
  --accent-foreground: oklch(0.245 0.038 102.992);
  --destructive: oklch(0.345 0.112 36.195);
  --destructive-foreground: oklch(0.837 0.085 37.619);
  --ring: oklch(0.837 0.087 187.474);
  --chart-1: oklch(0.837 0.087 187.474);
  --chart-2: oklch(0.726 0.15 323.348);
  --chart-3: oklch(0.857 0.101 102.794);
  --chart-4: oklch(0.751 0.136 323.273);
  --chart-5: oklch(0.842 0.09 187.354);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 190.056);
  --muted: oklch(0.197 0.033 323.231);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 190.056);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 190.056);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.837 0.087 187.474);
  --primary-foreground: oklch(0.239 0.032 186.419);
  --secondary: oklch(0.726 0.15 323.348);
  --secondary-foreground: oklch(0.196 0.058 323.538);
  --accent: oklch(0.857 0.101 102.794);
  --accent-foreground: oklch(0.245 0.038 102.992);
  --destructive: oklch(0.63 0.219 34.645);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.837 0.087 187.474);
  --chart-1: oklch(0.837 0.087 187.474);
  --chart-2: oklch(0.726 0.15 323.348);
  --chart-3: oklch(0.857 0.101 102.794);
  --chart-4: oklch(0.751 0.136 323.273);
  --chart-5: oklch(0.842 0.09 187.354);
}