Archeology for shadcn/ui

Archeology is a shadcn/ui theme built around a green primary color (#93e35f) with pink accents (#e35f93). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#93e35f) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#fcfefbwhite
#020401black
Foreground
#0b1603black
#fcfdfcwhite
Card
#fcfefbwhite
#020401black
Card foreground
#0b1603black
#fcfdfcwhite
Popover
#fcfefbwhite
#020401black
Popover foreground
#0b1603black
#fcfdfcwhite
Primary
#93e35flightgreen
#93e35flightgreen
Primary foreground
#070d02black
#070d02black
Secondary
#5f93e3cornflowerblue
#5f93e3cornflowerblue
Secondary foreground
#02070dblack
#02070dblack
Muted
#d6dae0gainsboro
#1f2329darkslategray
Muted foreground
#4a525edarkslategray
#a1a9b5darkgray
Accent
#e35f93palevioletred
#e35f93palevioletred
Accent foreground
#0d0207black
#0d0207black
Destructive
#951a04darkred
#fa5133tomato
Destructive foreground
#fed5cdbisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#93e35flightgreen
#93e35flightgreen

Contrast

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

Light mode
Text on background18.31:1AAA
Text on card18.31:1AAA
Primary button12.52:1AAA
Secondary button6.53:1AA
Muted text5.64:1AA
Accent6.12:1AA
Destructive6.43:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button12.52:1AAA
Secondary button6.53:1AA
Muted text6.68:1AA
Accent6.12:1AA
Destructive6.27:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 132.39);
  --foreground: oklch(0.185 0.042 133.02);
  --muted: oklch(0.888 0.009 258.338);
  --muted-foreground: oklch(0.436 0.023 258.372);
  --popover: oklch(0.995 0.004 132.39);
  --popover-foreground: oklch(0.185 0.042 133.02);
  --card: oklch(0.995 0.004 132.39);
  --card-foreground: oklch(0.185 0.042 133.02);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.836 0.184 134.678);
  --primary-foreground: oklch(0.147 0.029 130.908);
  --secondary: oklch(0.663 0.131 258.284);
  --secondary-foreground: oklch(0.123 0.019 248.622);
  --accent: oklch(0.665 0.172 357.868);
  --accent-foreground: oklch(0.118 0.029 350.665);
  --destructive: oklch(0.434 0.161 31.966);
  --destructive-foreground: oklch(0.905 0.048 29.745);
  --ring: oklch(0.836 0.184 134.678);
  --chart-1: oklch(0.836 0.184 134.678);
  --chart-2: oklch(0.663 0.131 258.284);
  --chart-3: oklch(0.665 0.172 357.868);
  --chart-4: oklch(0.69 0.12 258.275);
  --chart-5: oklch(0.842 0.19 134.79);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.014 131.082);
  --foreground: oklch(0.994 0.002 132.377);
  --muted: oklch(0.253 0.013 258.372);
  --muted-foreground: oklch(0.732 0.02 258.363);
  --popover: oklch(0.099 0.014 131.082);
  --popover-foreground: oklch(0.994 0.002 132.377);
  --card: oklch(0.099 0.014 131.082);
  --card-foreground: oklch(0.994 0.002 132.377);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.836 0.184 134.678);
  --primary-foreground: oklch(0.147 0.029 130.908);
  --secondary: oklch(0.663 0.131 258.284);
  --secondary-foreground: oklch(0.123 0.019 248.622);
  --accent: oklch(0.665 0.172 357.868);
  --accent-foreground: oklch(0.118 0.029 350.665);
  --destructive: oklch(0.665 0.21 32.378);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.836 0.184 134.678);
  --chart-1: oklch(0.836 0.184 134.678);
  --chart-2: oklch(0.663 0.131 258.284);
  --chart-3: oklch(0.665 0.172 357.868);
  --chart-4: oklch(0.69 0.12 258.275);
  --chart-5: oklch(0.842 0.19 134.79);
}