Base16 Dark Atelier Seaside for shadcn/ui

Base16 Dark Atelier Seaside is a shadcn/ui theme built around a muted green primary color (#8ca68c) with neutral gray accents (#383e38). The light mode uses a neutral background (#131513). Dark mode keeps the muted green primary (#8ca68c) on a neutral background (#131513).

Color palette

TokenLightDark
Background
#131513black
#131513black
Foreground
#8ca68cdarkseagreen
#8ca68cdarkseagreen
Card
#0f100fblack
#0f100fblack
Card foreground
#9ab19adarkseagreen
#9ab19adarkseagreen
Popover
#0c0d0cblack
#0c0d0cblack
Popover foreground
#a9bca9darkgray
#a9bca9darkgray
Primary
#8ca68cdarkseagreen
#8ca68cdarkseagreen
Primary foreground
#000000black
#000000black
Secondary
#3e423edarkslategray
#3e423edarkslategray
Secondary foreground
#d8dad8gainsboro
#d8dad8gainsboro
Muted
#222b22darkslategray
#222b22darkslategray
Muted foreground
#9bb09bdarkseagreen
#9bb09bdarkseagreen
Accent
#383e38darkslategray
#383e38darkslategray
Accent foreground
#d1d6d1lightgrey
#d1d6d1lightgrey
Destructive
#f11404red
#f11404red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#212121black
#212121black
Input
#292929darkslategray
#292929darkslategray
Ring
#8ca68cdarkseagreen
#8ca68cdarkseagreen

Contrast

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

Light mode
Text on background6.92:1AA
Text on card8.29:1AAA
Primary button7.96:1AAA
Secondary button7.30:1AAA
Muted text6.33:1AA
Accent7.48:1AAA
Destructive4.33:1AA Large
Dark mode
Text on background6.92:1AA
Text on card8.29:1AAA
Primary button7.96:1AAA
Secondary button7.30:1AAA
Muted text6.33:1AA
Accent7.48:1AAA
Destructive4.33:1AA Large

CSS variables

Paste this into your globals.css to use Base16 Dark Atelier Seaside in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.195 0.005 145.374);
  --foreground: oklch(0.698 0.048 145.036);
  --muted: oklch(0.276 0.021 144.979);
  --muted-foreground: oklch(0.736 0.039 145.17);
  --popover: oklch(0.159 0.003 145.414);
  --popover-foreground: oklch(0.776 0.035 145.224);
  --card: oklch(0.171 0.004 145.398);
  --card-foreground: oklch(0.737 0.042 145.136);
  --border: oklch(0.248 0 173.29);
  --input: oklch(0.28 0 180);
  --primary: oklch(0.698 0.048 145.036);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.373 0.008 145.408);
  --secondary-foreground: oklch(0.886 0.004 145.542);
  --accent: oklch(0.355 0.013 145.301);
  --accent-foreground: oklch(0.871 0.008 145.511);
  --destructive: oklch(0.606 0.243 29.775);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.698 0.048 145.036);
  --chart-1: oklch(0.698 0.048 145.036);
  --chart-2: oklch(0.373 0.008 145.408);
  --chart-3: oklch(0.355 0.013 145.301);
  --chart-4: oklch(0.402 0.009 145.405);
  --chart-5: oklch(0.702 0.059 144.913);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.195 0.005 145.374);
  --foreground: oklch(0.698 0.048 145.036);
  --muted: oklch(0.276 0.021 144.979);
  --muted-foreground: oklch(0.736 0.039 145.17);
  --popover: oklch(0.159 0.003 145.414);
  --popover-foreground: oklch(0.776 0.035 145.224);
  --card: oklch(0.171 0.004 145.398);
  --card-foreground: oklch(0.737 0.042 145.136);
  --border: oklch(0.248 0 173.29);
  --input: oklch(0.28 0 180);
  --primary: oklch(0.698 0.048 145.036);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.373 0.008 145.408);
  --secondary-foreground: oklch(0.886 0.004 145.542);
  --accent: oklch(0.355 0.013 145.301);
  --accent-foreground: oklch(0.871 0.008 145.511);
  --destructive: oklch(0.606 0.243 29.775);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.698 0.048 145.036);
  --chart-1: oklch(0.698 0.048 145.036);
  --chart-2: oklch(0.373 0.008 145.408);
  --chart-3: oklch(0.355 0.013 145.301);
  --chart-4: oklch(0.402 0.009 145.405);
  --chart-5: oklch(0.702 0.059 144.913);
}