Verifiable for shadcn/ui

Verifiable is a shadcn/ui theme built around a green primary color (#a6d095) with violet accents (#bf95d0). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#a6d095) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#ffffffwhite
#040703black
Foreground
#060d03black
#fcfdfcwhite
Card
#ffffffwhite
#040703black
Card foreground
#060d03black
#fcfdfcwhite
Popover
#ffffffwhite
#040703black
Popover foreground
#060d03black
#fcfdfcwhite
Primary
#a6d095darkseagreen
#a6d095darkseagreen
Primary foreground
#152310black
#152310black
Secondary
#bf95d0plum
#bf95d0plum
Secondary foreground
#1e1023black
#1e1023black
Muted
#e7d9edlavender
#201226black
Muted foreground
#434144darkslategray
#bdbbbesilver
Accent
#bf95d0plum
#bf95d0plum
Accent foreground
#1e1023black
#1e1023black
Destructive
#770808maroon
#f13232crimson
Destructive foreground
#fab7b7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a6d095darkseagreen
#a6d095darkseagreen

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button9.45:1AAA
Secondary button7.29:1AAA
Muted text7.48:1AAA
Accent7.29:1AAA
Destructive6.85:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button9.45:1AAA
Secondary button7.29:1AAA
Muted text9.34:1AAA
Accent7.29:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.028 134.892);
  --muted: oklch(0.903 0.03 316.51);
  --muted-foreground: oklch(0.378 0.005 316.569);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0.028 134.892);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.145 0.028 134.892);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.813 0.093 137.008);
  --primary-foreground: oklch(0.239 0.041 137.316);
  --secondary: oklch(0.729 0.096 316.209);
  --secondary-foreground: oklch(0.201 0.043 315.885);
  --accent: oklch(0.729 0.096 316.209);
  --accent-foreground: oklch(0.201 0.043 315.885);
  --destructive: oklch(0.363 0.142 28.202);
  --destructive-foreground: oklch(0.842 0.078 18.82);
  --ring: oklch(0.813 0.093 137.008);
  --chart-1: oklch(0.813 0.093 137.008);
  --chart-2: oklch(0.729 0.096 316.209);
  --chart-3: oklch(0.729 0.096 316.209);
  --chart-4: oklch(0.756 0.086 316.269);
  --chart-5: oklch(0.817 0.1 137.043);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.013 135.582);
  --foreground: oklch(0.993 0.001 136.613);
  --muted: oklch(0.212 0.042 315.953);
  --muted-foreground: oklch(0.796 0.004 316.593);
  --popover: oklch(0.121 0.013 135.582);
  --popover-foreground: oklch(0.993 0.001 136.613);
  --card: oklch(0.121 0.013 135.582);
  --card-foreground: oklch(0.993 0.001 136.613);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.813 0.093 137.008);
  --primary-foreground: oklch(0.239 0.041 137.316);
  --secondary: oklch(0.729 0.096 316.209);
  --secondary-foreground: oklch(0.201 0.043 315.885);
  --accent: oklch(0.729 0.096 316.209);
  --accent-foreground: oklch(0.201 0.043 315.885);
  --destructive: oklch(0.623 0.225 26.795);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.093 137.008);
  --chart-1: oklch(0.813 0.093 137.008);
  --chart-2: oklch(0.729 0.096 316.209);
  --chart-3: oklch(0.729 0.096 316.209);
  --chart-4: oklch(0.756 0.086 316.269);
  --chart-5: oklch(0.817 0.1 137.043);
}