Archaeology for shadcn/ui

Archaeology is a shadcn/ui theme built around a light cyan primary color (#a6d9ed) with muted cyan accents (#b9c2c6). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the light cyan primary (#a6d9ed) on a cyan-tinted background (#050d10).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#050d10black
Foreground
#051015black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#050d10black
Card foreground
#051015black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#050d10black
Popover foreground
#051015black
#fcfdfdwhite
Primary
#a6d9edlightblue
#a6d9edlightblue
Primary foreground
#103e50darkslategray
#103e50darkslategray
Secondary
#cecfcflightgrey
#1b2427black
Secondary foreground
#353636darkslategray
#adc0c7silver
Muted
#e6e9ealavender
#151819black
Muted foreground
#58656adimgray
#95a2a7darkgray
Accent
#b9c2c6silver
#21333bdarkslategray
Accent foreground
#22282adarkslategray
#b7ced7lightsteelblue
Destructive
#a02f0dbrown
#ec4613orangered
Destructive foreground
#fde9e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a6d9edlightblue
#a6d9edlightblue

Contrast

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

Light mode
Text on background18.49:1AAA
Text on card18.49:1AAA
Primary button7.52:1AAA
Secondary button7.75:1AAA
Muted text4.93:1AA
Accent8.24:1AAA
Destructive6.14:1AA
Dark mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button7.52:1AAA
Secondary button8.39:1AAA
Muted text6.81:1AA
Accent7.96:1AAA
Destructive3.86: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.986 0.005 223.177);
  --foreground: oklch(0.165 0.02 223.635);
  --muted: oklch(0.932 0.004 223.168);
  --muted-foreground: oklch(0.497 0.017 223.541);
  --popover: oklch(0.986 0.005 223.177);
  --popover-foreground: oklch(0.165 0.02 223.635);
  --card: oklch(0.986 0.005 223.177);
  --card-foreground: oklch(0.165 0.02 223.635);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.856 0.059 224.154);
  --primary-foreground: oklch(0.343 0.058 228.605);
  --secondary: oklch(0.853 0.001 223.141);
  --secondary-foreground: oklch(0.331 0.001 223.166);
  --accent: oklch(0.808 0.011 223.277);
  --accent-foreground: oklch(0.272 0.009 223.508);
  --destructive: oklch(0.475 0.155 35.809);
  --destructive-foreground: oklch(0.948 0.023 37.644);
  --ring: oklch(0.856 0.059 224.154);
  --chart-1: oklch(0.856 0.059 224.154);
  --chart-2: oklch(0.853 0.001 223.141);
  --chart-3: oklch(0.808 0.011 223.277);
  --chart-4: oklch(0.877 0.001 223.139);
  --chart-5: oklch(0.857 0.062 224.216);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.015 221.848);
  --foreground: oklch(0.993 0.001 223.144);
  --muted: oklch(0.206 0.005 223.408);
  --muted-foreground: oklch(0.703 0.016 223.38);
  --popover: oklch(0.15 0.015 221.848);
  --popover-foreground: oklch(0.993 0.001 223.144);
  --card: oklch(0.15 0.015 221.848);
  --card-foreground: oklch(0.993 0.001 223.144);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.856 0.059 224.154);
  --primary-foreground: oklch(0.343 0.058 228.605);
  --secondary: oklch(0.253 0.014 223.914);
  --secondary-foreground: oklch(0.795 0.023 223.462);
  --accent: oklch(0.31 0.027 224.605);
  --accent-foreground: oklch(0.836 0.027 223.512);
  --destructive: oklch(0.629 0.21 35.416);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.856 0.059 224.154);
  --chart-1: oklch(0.856 0.059 224.154);
  --chart-2: oklch(0.253 0.014 223.914);
  --chart-3: oklch(0.31 0.027 224.605);
  --chart-4: oklch(0.285 0.017 223.973);
  --chart-5: oklch(0.857 0.062 224.216);
}