Surviving Verditer for shadcn/ui

Surviving Verditer is a shadcn/ui theme built around a vivid teal primary color (#14b8a6) with near-white accents (#f5faff). The light mode uses a neutral background (#f6f8fb). Dark mode keeps the vivid teal primary (#14b8a6) on a neutral background (#151618).

Color palette

TokenLightDark
Background
#f6f8fbghostwhite
#151618black
Foreground
#475569darkslategray
#f8fafcghostwhite
Card
#ffffffwhite
#030303black
Card foreground
#475569darkslategray
#fcfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#475569darkslategray
#f8fafcghostwhite
Primary
#14b8a6lightseagreen
#14b8a6lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ebf2fbaliceblue
#212427darkslategray
Secondary foreground
#475569darkslategray
#bcc2c7silver
Muted
#eaeff5lavender
#182025black
Muted foreground
#525b66dimgray
#5f6b72dimgray
Accent
#f5faffghostwhite
#25292cdarkslategray
Accent foreground
#475569darkslategray
#bcc2c7silver
Destructive
#e92923crimson
#f7413btomato
Destructive foreground
#f9f8f8whitesmoke
#ffffffwhite
Border
#fdffffwhite
#17191bblack
Input
#fdffffwhite
#1e2125black
Ring
#14b8a6lightseagreen
#076fdfdodgerblue

Contrast

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

Light mode
Text on background7.12:1AAA
Text on card7.57:1AAA
Primary button2.48:1Fail
Secondary button6.70:1AA
Muted text5.96:1AA
Accent7.21:1AAA
Destructive4.10:1AA Large
Dark mode
Text on background17.29:1AAA
Text on card20.16:1AAA
Primary button2.48:1Fail
Secondary button8.66:1AAA
Muted text3.00:1AA Large
Accent8.17:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.978 0.005 258.325);
  --foreground: oklch(0.446 0.037 257.275);
  --muted: oklch(0.95 0.01 252.817);
  --muted-foreground: oklch(0.468 0.021 250.043);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.446 0.037 257.275);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.446 0.037 257.275);
  --border: oklch(0.998 0.002 185.169);
  --input: oklch(0.998 0.002 197.124);
  --primary: oklch(0.704 0.123 182.494);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.957 0.015 255.523);
  --secondary-foreground: oklch(0.446 0.037 257.275);
  --accent: oklch(0.983 0.009 247.912);
  --accent-foreground: oklch(0.446 0.037 257.275);
  --destructive: oklch(0.603 0.225 28.496);
  --destructive-foreground: oklch(0.98 0.001 19.622);
  --ring: oklch(0.704 0.123 182.494);
  --chart-1: oklch(0.704 0.123 182.494);
  --chart-2: oklch(0.957 0.015 255.523);
  --chart-3: oklch(0.983 0.009 247.912);
  --chart-4: oklch(0.984 0.005 255.478);
  --chart-5: oklch(0.712 0.125 182.286);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.2 0.003 249.802);
  --foreground: oklch(0.984 0.003 249.681);
  --muted: oklch(0.239 0.015 232.724);
  --muted-foreground: oklch(0.52 0.018 232.169);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.003 249.681);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.002 249.666);
  --border: oklch(0.213 0.005 249.875);
  --input: oklch(0.246 0.009 249.971);
  --primary: oklch(0.704 0.123 182.494);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.259 0.007 249.901);
  --secondary-foreground: oklch(0.81 0.01 249.764);
  --accent: oklch(0.278 0.009 249.93);
  --accent-foreground: oklch(0.81 0.01 249.764);
  --destructive: oklch(0.647 0.219 27.307);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.556 0.189 256.373);
  --chart-1: oklch(0.704 0.123 182.494);
  --chart-2: oklch(0.259 0.007 249.901);
  --chart-3: oklch(0.278 0.009 249.93);
  --chart-4: oklch(0.29 0.009 249.914);
  --chart-5: oklch(0.712 0.125 182.286);
}