Fence Green Puffin for shadcn/ui

Fence Green Puffin is a shadcn/ui theme built around a deep teal primary color (#09342b) with deep cyan accents (#092834). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep teal primary (#09342b) on a teal-tinted background (#060e0c).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#060e0cblack
Foreground
#03110eblack
#f6f9f8whitesmoke
Card
#f8fcfbmintcream
#081210black
Card foreground
#020d0bblack
#f9fbfamintcream
Popover
#fcfdfdwhite
#060e0cblack
Popover foreground
#03110eblack
#f6f9f8whitesmoke
Primary
#09342bdarkslategray
#09342bdarkslategray
Primary foreground
#2edcb6turquoise
#2edcb6turquoise
Secondary
#093415darkgreen
#093415darkgreen
Secondary foreground
#2edc5fmediumseagreen
#2edc5fmediumseagreen
Muted
#d7e0d9gainsboro
#1f2822black
Muted foreground
#5c665fdimgray
#99a39cdarkgray
Accent
#092834darkslategray
#092834darkslategray
Accent foreground
#85ceeaskyblue
#85ceeaskyblue
Destructive
#8d2f07saddlebrown
#e54c0borangered
Destructive foreground
#fcd9c9bisque
#ffffffwhite
Border
#e5e6e6gainsboro
#232424black
Input
#e5e6e6gainsboro
#232424black
Ring
#09342bdarkslategray
#09342bdarkslategray

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card19.03:1AAA
Primary button7.79:1AAA
Secondary button7.58:1AAA
Muted text4.41:1AA Large
Accent8.79:1AAA
Destructive6.24:1AA
Dark mode
Text on background18.40:1AAA
Text on card18.33:1AAA
Primary button7.79:1AAA
Secondary button7.58:1AAA
Muted text5.81:1AA
Accent8.79:1AAA
Destructive3.90:1AA Large

CSS variables

Paste this into your globals.css to use Fence Green Puffin in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 182.012);
  --foreground: oklch(0.164 0.023 179.16);
  --muted: oklch(0.898 0.013 154.915);
  --muted-foreground: oklch(0.499 0.016 154.584);
  --popover: oklch(0.994 0.002 182.012);
  --popover-foreground: oklch(0.164 0.023 179.16);
  --card: oklch(0.987 0.004 181.957);
  --card-foreground: oklch(0.146 0.02 180.918);
  --border: oklch(0.924 0.001 182.033);
  --input: oklch(0.924 0.001 182.033);
  --primary: oklch(0.294 0.049 174.925);
  --primary-foreground: oklch(0.8 0.145 173.487);
  --secondary: oklch(0.288 0.072 148.741);
  --secondary-foreground: oklch(0.783 0.216 147.569);
  --accent: oklch(0.261 0.042 228.17);
  --accent-foreground: oklch(0.813 0.083 225.034);
  --destructive: oklch(0.441 0.136 39.22);
  --destructive-foreground: oklch(0.91 0.045 44.549);
  --ring: oklch(0.294 0.049 174.925);
  --chart-1: oklch(0.294 0.049 174.925);
  --chart-2: oklch(0.288 0.072 148.741);
  --chart-3: oklch(0.261 0.042 228.17);
  --chart-4: oklch(0.332 0.086 148.359);
  --chart-5: oklch(0.297 0.051 174.659);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.014 180.299);
  --foreground: oklch(0.979 0.003 181.986);
  --muted: oklch(0.267 0.018 153.891);
  --muted-foreground: oklch(0.705 0.015 154.8);
  --popover: oklch(0.155 0.014 180.299);
  --popover-foreground: oklch(0.979 0.003 181.986);
  --card: oklch(0.17 0.016 179.4);
  --card-foreground: oklch(0.986 0.002 182.013);
  --border: oklch(0.26 0.002 181.834);
  --input: oklch(0.26 0.002 181.834);
  --primary: oklch(0.294 0.049 174.925);
  --primary-foreground: oklch(0.8 0.145 173.487);
  --secondary: oklch(0.288 0.072 148.741);
  --secondary-foreground: oklch(0.783 0.216 147.569);
  --accent: oklch(0.261 0.042 228.17);
  --accent-foreground: oklch(0.813 0.083 225.034);
  --destructive: oklch(0.624 0.199 38.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.294 0.049 174.925);
  --chart-1: oklch(0.294 0.049 174.925);
  --chart-2: oklch(0.288 0.072 148.741);
  --chart-3: oklch(0.261 0.042 228.17);
  --chart-4: oklch(0.332 0.086 148.359);
  --chart-5: oklch(0.297 0.051 174.659);
}