Developer for shadcn/ui

Developer is a shadcn/ui theme built around a teal primary color (#45d9de) with red accents (#de4a45). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#45d9de) on a neutral background (#020808).

Color palette

TokenLightDark
Background
#ffffffwhite
#020808black
Foreground
#031617black
#f6f9f9whitesmoke
Card
#fcfcfcsnow
#030c0cblack
Card foreground
#021212black
#f9fbfbghostwhite
Popover
#ffffffwhite
#020808black
Popover foreground
#031617black
#f6f9f9whitesmoke
Primary
#45d9deturquoise
#45d9deturquoise
Primary foreground
#0d484adarkslategray
#0d484adarkslategray
Secondary
#de4a45indianred
#de4a45indianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ede3e3mistyrose
#1c1212black
Muted foreground
#494141darkslategray
#beb6b6silver
Accent
#de4a45indianred
#de4a45indianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7a1905maroon
#f75a3btomato
Destructive foreground
#fcc1b6lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#45d9deturquoise
#45d9deturquoise

Contrast

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

Light mode
Text on background18.56:1AAA
Text on card18.71:1AAA
Primary button5.98:1AA
Secondary button4.06:1AA Large
Muted text7.91:1AAA
Accent4.06:1AA Large
Destructive6.81:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.04:1AAA
Primary button5.98:1AA
Secondary button4.06:1AA Large
Muted text9.21:1AAA
Accent4.06:1AA Large
Destructive6.48:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.184 0.027 197.984);
  --muted: oklch(0.924 0.011 19.768);
  --muted-foreground: oklch(0.383 0.011 20.022);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.184 0.027 197.984);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.166 0.024 197.79);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.811 0.122 198.42);
  --primary-foreground: oklch(0.366 0.057 198.475);
  --secondary: oklch(0.615 0.186 26.145);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.615 0.186 26.145);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.381 0.135 32.832);
  --destructive-foreground: oklch(0.861 0.07 31.426);
  --ring: oklch(0.811 0.122 198.42);
  --chart-1: oklch(0.811 0.122 198.42);
  --chart-2: oklch(0.615 0.186 26.145);
  --chart-3: oklch(0.615 0.186 26.145);
  --chart-4: oklch(0.635 0.174 25.279);
  --chart-5: oklch(0.819 0.125 198.442);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.014 197.577);
  --foreground: oklch(0.98 0.004 199.553);
  --muted: oklch(0.196 0.016 20.923);
  --muted-foreground: oklch(0.784 0.009 19.769);
  --popover: oklch(0.125 0.014 197.577);
  --popover-foreground: oklch(0.98 0.004 199.553);
  --card: oklch(0.144 0.016 197.797);
  --card-foreground: oklch(0.986 0.003 199.571);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.811 0.122 198.42);
  --primary-foreground: oklch(0.366 0.057 198.475);
  --secondary: oklch(0.615 0.186 26.145);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.615 0.186 26.145);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.672 0.197 33.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.811 0.122 198.42);
  --chart-1: oklch(0.811 0.122 198.42);
  --chart-2: oklch(0.615 0.186 26.145);
  --chart-3: oklch(0.615 0.186 26.145);
  --chart-4: oklch(0.635 0.174 25.279);
  --chart-5: oklch(0.819 0.125 198.442);
}