Verification for shadcn/ui

Verification is a shadcn/ui theme built around a deep green primary color (#082611) with neutral gray accents (#e2e4e2). The light mode uses a neutral background (#f8fbf9). Dark mode keeps the deep green primary (#082611) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbf9mintcream
#000000black
Foreground
#020904black
#f9fbf9mintcream
Card
#f8fbf9mintcream
#000000black
Card foreground
#020904black
#f9fbf9mintcream
Popover
#f8fbf9mintcream
#000000black
Popover foreground
#020904black
#f9fbf9mintcream
Primary
#082611black
#082611black
Primary foreground
#2dcd5amediumseagreen
#2dcd5amediumseagreen
Secondary
#e2e4e2gainsboro
#303632darkslategray
Secondary foreground
#474d49darkslategray
#c9cfcblightgrey
Muted
#edf7f0honeydew
#08120bblack
Muted foreground
#4b5d50darkslategray
#a2b4a7darkgray
Accent
#e2e4e2gainsboro
#303632darkslategray
Accent foreground
#474d49darkslategray
#c9cfcblightgrey
Destructive
#771009maroon
#f04033tomato
Destructive foreground
#fabcb8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#082611black
#082611black

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button7.73:1AAA
Secondary button6.77:1AA
Muted text6.44:1AA
Accent6.77:1AA
Destructive6.97:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button7.73:1AAA
Secondary button7.83:1AAA
Muted text8.74:1AAA
Accent7.83:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 155.108);
  --foreground: oklch(0.125 0.023 154.532);
  --muted: oklch(0.968 0.014 154.915);
  --muted-foreground: oklch(0.46 0.031 153.878);
  --popover: oklch(0.987 0.004 155.108);
  --popover-foreground: oklch(0.125 0.023 154.532);
  --card: oklch(0.987 0.004 155.108);
  --card-foreground: oklch(0.125 0.023 154.532);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.238 0.053 149.855);
  --primary-foreground: oklch(0.745 0.202 147.75);
  --secondary: oklch(0.917 0.003 155.126);
  --secondary-foreground: oklch(0.413 0.01 154.724);
  --accent: oklch(0.917 0.003 155.126);
  --accent-foreground: oklch(0.413 0.01 154.724);
  --destructive: oklch(0.366 0.137 29.564);
  --destructive-foreground: oklch(0.851 0.072 23.344);
  --ring: oklch(0.238 0.053 149.855);
  --chart-1: oklch(0.238 0.053 149.855);
  --chart-2: oklch(0.917 0.003 155.126);
  --chart-3: oklch(0.917 0.003 155.126);
  --chart-4: oklch(0.94 0.002 155.146);
  --chart-5: oklch(0.24 0.055 149.669);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.004 155.121);
  --muted: oklch(0.169 0.022 152.944);
  --muted-foreground: oklch(0.752 0.028 154.495);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.004 155.121);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.004 155.121);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.238 0.053 149.855);
  --primary-foreground: oklch(0.745 0.202 147.75);
  --secondary: oklch(0.325 0.009 154.646);
  --secondary-foreground: oklch(0.848 0.007 155.029);
  --accent: oklch(0.325 0.009 154.646);
  --accent-foreground: oklch(0.848 0.007 155.029);
  --destructive: oklch(0.632 0.214 28.821);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.238 0.053 149.855);
  --chart-1: oklch(0.238 0.053 149.855);
  --chart-2: oklch(0.325 0.009 154.646);
  --chart-3: oklch(0.325 0.009 154.646);
  --chart-4: oklch(0.355 0.011 154.631);
  --chart-5: oklch(0.24 0.055 149.669);
}