Archaeology for shadcn/ui

Archaeology is a shadcn/ui theme built around a vivid teal primary color (#0ffad7) with neutral gray accents (#dfe2e1). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the vivid teal primary (#0ffad7) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#030707black
Foreground
#000000black
#f9fbfbghostwhite
Card
#f8fcfbmintcream
#030707black
Card foreground
#000000black
#f9fbfbghostwhite
Popover
#f8fcfbmintcream
#030707black
Popover foreground
#000000black
#f9fbfbghostwhite
Primary
#0ffad7aqua
#0ffad7aqua
Primary foreground
#013c33darkslategray
#013c33darkslategray
Secondary
#dfe2e1gainsboro
#141414black
Secondary foreground
#454a49darkslategray
#adadaddarkgray
Muted
#d6dbdbgainsboro
#292424darkslategray
Muted foreground
#5c6a68dimgray
#a39595rosybrown
Accent
#dfe2e1gainsboro
#141414black
Accent foreground
#454a49darkslategray
#adadaddarkgray
Destructive
#9b120ddarkred
#ee443ftomato
Destructive foreground
#fcdfdemistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0ffad7aqua
#0ffad7aqua

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button9.25:1AAA
Secondary button6.90:1AA
Muted text4.05:1AA Large
Accent6.90:1AA
Destructive6.74:1AA
Dark mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button9.25:1AAA
Secondary button8.18:1AAA
Muted text5.33:1AA
Accent8.18:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 186.499);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.888 0.006 186.426);
  --muted-foreground: oklch(0.513 0.017 185.726);
  --popover: oklch(0.987 0.004 186.499);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.987 0.004 186.499);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.882 0.162 177.394);
  --primary-foreground: oklch(0.319 0.058 179.063);
  --secondary: oklch(0.91 0.003 186.52);
  --secondary-foreground: oklch(0.405 0.008 186.114);
  --accent: oklch(0.91 0.003 186.52);
  --accent-foreground: oklch(0.405 0.008 186.114);
  --destructive: oklch(0.441 0.17 28.861);
  --destructive-foreground: oklch(0.928 0.032 20.113);
  --ring: oklch(0.882 0.162 177.394);
  --chart-1: oklch(0.882 0.162 177.394);
  --chart-2: oklch(0.91 0.003 186.52);
  --chart-3: oklch(0.91 0.003 186.52);
  --chart-4: oklch(0.932 0.002 186.54);
  --chart-5: oklch(0.891 0.164 177.153);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.011 186.247);
  --foreground: oklch(0.986 0.002 186.541);
  --muted: oklch(0.265 0.008 17.675);
  --muted-foreground: oklch(0.681 0.017 17.566);
  --popover: oklch(0.123 0.011 186.247);
  --popover-foreground: oklch(0.986 0.002 186.541);
  --card: oklch(0.123 0.011 186.247);
  --card-foreground: oklch(0.986 0.002 186.541);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.882 0.162 177.394);
  --primary-foreground: oklch(0.319 0.058 179.063);
  --secondary: oklch(0.193 0 164.055);
  --secondary-foreground: oklch(0.749 0 158.199);
  --accent: oklch(0.193 0 164.055);
  --accent-foreground: oklch(0.749 0 158.199);
  --destructive: oklch(0.635 0.207 26.925);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.882 0.162 177.394);
  --chart-1: oklch(0.882 0.162 177.394);
  --chart-2: oklch(0.193 0 164.055);
  --chart-3: oklch(0.193 0 164.055);
  --chart-4: oklch(0.227 0 164.055);
  --chart-5: oklch(0.891 0.164 177.153);
}