Pottery for shadcn/ui

Pottery is a shadcn/ui theme built around a green primary color (#69ce8b) with teal accents (#69cebd). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the green primary (#69ce8b) on a green-tinted background (#070d09).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#070d09black
Foreground
#000000black
#ffffffwhite
Card
#fbfdfcwhite
#070d09black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfdfcwhite
#070d09black
Popover foreground
#000000black
#ffffffwhite
Primary
#69ce8bmediumaquamarine
#69ce8bmediumaquamarine
Primary foreground
#010402black
#010402black
Secondary
#7ace69darkseagreen
#7ace69darkseagreen
Secondary foreground
#020401black
#020401black
Muted
#e9ede9linen
#131612black
Muted foreground
#3d443cdarkslategray
#bdc3bbsilver
Accent
#69cebdmediumaquamarine
#69cebdmediumaquamarine
Accent foreground
#010403black
#010403black
Destructive
#cb3701firebrick
#fe662ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#69ce8bmediumaquamarine
#69ce8bmediumaquamarine

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button10.61:1AAA
Secondary button10.66:1AAA
Muted text8.47:1AAA
Accent10.97:1AAA
Destructive5.14:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button10.61:1AAA
Secondary button10.66:1AAA
Muted text10.11:1AAA
Accent10.97:1AAA
Destructive7.15:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 157.209);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.941 0.007 140.521);
  --muted-foreground: oklch(0.377 0.015 140.469);
  --popover: oklch(0.994 0.003 157.209);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 157.209);
  --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.773 0.137 152.813);
  --primary-foreground: oklch(0.097 0.013 156.948);
  --secondary: oklch(0.775 0.16 140.356);
  --secondary-foreground: oklch(0.098 0.016 138.953);
  --accent: oklch(0.786 0.099 181.418);
  --accent-foreground: oklch(0.098 0.01 185.147);
  --destructive: oklch(0.558 0.192 35.76);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.773 0.137 152.813);
  --chart-1: oklch(0.773 0.137 152.813);
  --chart-2: oklch(0.775 0.16 140.356);
  --chart-3: oklch(0.786 0.099 181.418);
  --chart-4: oklch(0.791 0.149 140.342);
  --chart-5: oklch(0.779 0.143 152.56);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.014 156.33);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.197 0.01 140.457);
  --muted-foreground: oklch(0.81 0.013 140.507);
  --popover: oklch(0.152 0.014 156.33);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.152 0.014 156.33);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.773 0.137 152.813);
  --primary-foreground: oklch(0.097 0.013 156.948);
  --secondary: oklch(0.775 0.16 140.356);
  --secondary-foreground: oklch(0.098 0.016 138.953);
  --accent: oklch(0.786 0.099 181.418);
  --accent-foreground: oklch(0.098 0.01 185.147);
  --destructive: oklch(0.696 0.197 38.899);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.773 0.137 152.813);
  --chart-1: oklch(0.773 0.137 152.813);
  --chart-2: oklch(0.775 0.16 140.356);
  --chart-3: oklch(0.786 0.099 181.418);
  --chart-4: oklch(0.791 0.149 140.342);
  --chart-5: oklch(0.779 0.143 152.56);
}