Simple for shadcn/ui

Simple is a shadcn/ui theme built around a muted teal primary color (#67897a) with muted teal accents (#678789). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#67897a) on a teal-tinted background (#050f0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#050f0bblack
Foreground
#020905black
#f5faf8mintcream
Card
#ffffffwhite
#050f0bblack
Card foreground
#020905black
#f5faf8mintcream
Popover
#ffffffwhite
#050f0bblack
Popover foreground
#020905black
#f5faf8mintcream
Primary
#67897aslategray
#67897aslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#678969dimgray
#678969dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f0f5f0whitesmoke
#0a0f0ablack
Muted foreground
#394c3adarkslategray
#b3c6b4silver
Accent
#678789slategray
#678789slategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d51f07firebrick
#f83e25orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#67897aslategray
#67897aslategray

Contrast

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

Light mode
Text on background20.11:1AAA
Text on card20.11:1AAA
Primary button3.87:1AA Large
Secondary button3.93:1AA Large
Muted text8.37:1AAA
Accent3.88:1AA Large
Destructive5.22:1AA
Dark mode
Text on background18.43:1AAA
Text on card18.43:1AAA
Primary button3.87:1AA Large
Secondary button3.93:1AA Large
Muted text10.70:1AAA
Accent3.88:1AA Large
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.019 168.086);
  --muted: oklch(0.964 0.009 146.953);
  --muted-foreground: oklch(0.394 0.038 146.101);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.019 168.086);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.019 168.086);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.599 0.044 165.574);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.594 0.061 146.023);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.6 0.036 200.257);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.558 0.215 30.743);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.599 0.044 165.574);
  --chart-1: oklch(0.599 0.044 165.574);
  --chart-2: oklch(0.594 0.061 146.023);
  --chart-3: oklch(0.6 0.036 200.257);
  --chart-4: oklch(0.621 0.064 146.017);
  --chart-5: oklch(0.605 0.053 165.095);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.019 165.87);
  --foreground: oklch(0.98 0.006 167.655);
  --muted: oklch(0.163 0.014 146.215);
  --muted-foreground: oklch(0.807 0.032 146.666);
  --popover: oklch(0.157 0.019 165.87);
  --popover-foreground: oklch(0.98 0.006 167.655);
  --card: oklch(0.157 0.019 165.87);
  --card-foreground: oklch(0.98 0.006 167.655);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.599 0.044 165.574);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.594 0.061 146.023);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.6 0.036 200.257);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.644 0.225 31.03);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.599 0.044 165.574);
  --chart-1: oklch(0.599 0.044 165.574);
  --chart-2: oklch(0.594 0.061 146.023);
  --chart-3: oklch(0.6 0.036 200.257);
  --chart-4: oklch(0.621 0.064 146.017);
  --chart-5: oklch(0.605 0.053 165.095);
}