Archaeologist for shadcn/ui

Archaeologist is a shadcn/ui theme built around a light teal primary color (#cff7f6) with light yellow accents (#f7f6cf). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#cff7f6) on a teal-tinted background (#030c0c).

Color palette

TokenLightDark
Background
#fbfefewhite
#030c0cblack
Foreground
#041010black
#f9fafaghostwhite
Card
#f7fdfdmintcream
#041010black
Card foreground
#030c0cblack
#fcfdfdwhite
Popover
#fbfefewhite
#030c0cblack
Popover foreground
#041010black
#f9fafaghostwhite
Primary
#cff7f6lightcyan
#cff7f6lightcyan
Primary foreground
#072726black
#072726black
Secondary
#f6cff7lavender
#f6cff7lavender
Secondary foreground
#7c167epurple
#7c167epurple
Muted
#e9cde9gainsboro
#311632darkslategray
Muted foreground
#504950darkslategray
#b6afb6darkgray
Accent
#f7f6cflightgoldenrodyellow
#f7f6cflightgoldenrodyellow
Accent foreground
#272607black
#272607black
Destructive
#a73601saddlebrown
#fe6620tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cff7f6lightcyan
#cff7f6lightcyan

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card19.22:1AAA
Primary button13.74:1AAA
Secondary button6.69:1AA
Muted text5.97:1AA
Accent13.91:1AAA
Destructive6.61:1AA
Dark mode
Text on background18.90:1AAA
Text on card18.95:1AAA
Primary button13.74:1AAA
Secondary button6.69:1AA
Muted text7.59:1AAA
Accent13.91:1AAA
Destructive7.13:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 195.916);
  --foreground: oklch(0.162 0.02 194.123);
  --muted: oklch(0.881 0.048 325.47);
  --muted-foreground: oklch(0.414 0.016 325.363);
  --popover: oklch(0.995 0.003 195.916);
  --popover-foreground: oklch(0.162 0.02 194.123);
  --card: oklch(0.989 0.007 195.858);
  --card-foreground: oklch(0.145 0.017 194.306);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.947 0.04 195.245);
  --primary-foreground: oklch(0.25 0.037 193.481);
  --secondary: oklch(0.9 0.067 325.601);
  --secondary-foreground: oklch(0.423 0.177 327.395);
  --accent: oklch(0.964 0.05 106.507);
  --accent-foreground: oklch(0.263 0.048 108.369);
  --destructive: oklch(0.494 0.158 38.986);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.947 0.04 195.245);
  --chart-1: oklch(0.947 0.04 195.245);
  --chart-2: oklch(0.9 0.067 325.601);
  --chart-3: oklch(0.964 0.05 106.507);
  --chart-4: oklch(0.927 0.049 325.456);
  --chart-5: oklch(0.948 0.042 195.217);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.016 194.396);
  --foreground: oklch(0.986 0.001 195.955);
  --muted: oklch(0.252 0.063 326.629);
  --muted-foreground: oklch(0.762 0.014 325.224);
  --popover: oklch(0.144 0.016 194.396);
  --popover-foreground: oklch(0.986 0.001 195.955);
  --card: oklch(0.161 0.018 194.212);
  --card-foreground: oklch(0.993 0.001 195.964);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.947 0.04 195.245);
  --primary-foreground: oklch(0.25 0.037 193.481);
  --secondary: oklch(0.9 0.067 325.601);
  --secondary-foreground: oklch(0.423 0.177 327.395);
  --accent: oklch(0.964 0.05 106.507);
  --accent-foreground: oklch(0.263 0.048 108.369);
  --destructive: oklch(0.695 0.2 41.237);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.947 0.04 195.245);
  --chart-1: oklch(0.947 0.04 195.245);
  --chart-2: oklch(0.9 0.067 325.601);
  --chart-3: oklch(0.964 0.05 106.507);
  --chart-4: oklch(0.927 0.049 325.456);
  --chart-5: oklch(0.948 0.042 195.217);
}