Lizard for shadcn/ui

Lizard is a shadcn/ui theme built around a vivid deep red primary color (#1f040b) with vivid deep teal accents (#041f19). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep red primary (#1f040b) on a red-tinted background (#0e0708).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0708black
Foreground
#170308black
#fbf9fasnow
Card
#fcfcfcsnow
#11080ablack
Card foreground
#120206black
#fdfcfcsnow
Popover
#ffffffwhite
#0e0708black
Popover foreground
#170308black
#fbf9fasnow
Primary
#1f040bblack
#1f040bblack
Primary foreground
#eb6b8bpalevioletred
#eb6b8bpalevioletred
Secondary
#041f19black
#041f19black
Secondary foreground
#1dd3a5lightseagreen
#1dd3a5lightseagreen
Muted
#f0f5f3whitesmoke
#0a0f0eblack
Muted foreground
#404544darkslategray
#babfbesilver
Accent
#041f19black
#041f19black
Accent foreground
#1dd3a5lightseagreen
#1dd3a5lightseagreen
Destructive
#cf1302firebrick
#fd2a17orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1f040bblack
#1f040bblack

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.81:1AAA
Primary button6.47:1AA
Secondary button8.94:1AAA
Muted text8.82:1AAA
Accent8.94:1AAA
Destructive5.60:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.26:1AAA
Primary button6.47:1AA
Secondary button8.94:1AAA
Muted text10.36:1AAA
Accent8.94:1AAA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.142 0.043 3.724);
  --muted: oklch(0.965 0.005 179.715);
  --muted-foreground: oklch(0.385 0.007 179.313);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.142 0.043 3.724);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.129 0.038 1.928);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.167 0.05 6.876);
  --primary-foreground: oklch(0.69 0.16 6.6);
  --secondary: oklch(0.218 0.036 173.654);
  --secondary-foreground: oklch(0.773 0.15 169.485);
  --accent: oklch(0.218 0.036 173.654);
  --accent-foreground: oklch(0.773 0.15 169.485);
  --destructive: oklch(0.542 0.215 30.114);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.167 0.05 6.876);
  --chart-1: oklch(0.167 0.05 6.876);
  --chart-2: oklch(0.218 0.036 173.654);
  --chart-3: oklch(0.218 0.036 173.654);
  --chart-4: oklch(0.267 0.046 172.331);
  --chart-5: oklch(0.167 0.052 7.035);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.015 0.791);
  --foreground: oklch(0.984 0.001 359.908);
  --muted: oklch(0.163 0.008 178.449);
  --muted-foreground: oklch(0.801 0.006 179.646);
  --popover: oklch(0.138 0.015 0.791);
  --popover-foreground: oklch(0.984 0.001 359.908);
  --card: oklch(0.15 0.017 2.427);
  --card-foreground: oklch(0.992 0.001 359.887);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.167 0.05 6.876);
  --primary-foreground: oklch(0.69 0.16 6.6);
  --secondary: oklch(0.218 0.036 173.654);
  --secondary-foreground: oklch(0.773 0.15 169.485);
  --accent: oklch(0.218 0.036 173.654);
  --accent-foreground: oklch(0.773 0.15 169.485);
  --destructive: oklch(0.637 0.243 30.09);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.167 0.05 6.876);
  --chart-1: oklch(0.167 0.05 6.876);
  --chart-2: oklch(0.218 0.036 173.654);
  --chart-3: oklch(0.218 0.036 173.654);
  --chart-4: oklch(0.267 0.046 172.331);
  --chart-5: oklch(0.167 0.052 7.035);
}