Crystal Gem Goat for shadcn/ui

Crystal Gem Goat is a shadcn/ui theme built around a teal primary color (#6ecfa0) with muted light teal accents (#b9cbc2). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the teal primary (#6ecfa0) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#050a08black
Foreground
#010403black
#f8fbfamintcream
Card
#f8fcfamintcream
#060e0ablack
Card foreground
#000000black
#fcfdfcwhite
Popover
#fbfdfcwhite
#050a08black
Popover foreground
#010403black
#f8fbfamintcream
Primary
#6ecfa0mediumaquamarine
#6ecfa0mediumaquamarine
Primary foreground
#030805black
#030805black
Secondary
#d2dad6lightgrey
#232a26darkslategray
Secondary foreground
#37433ddarkslategray
#bac5bfsilver
Muted
#d3e9degainsboro
#162c22black
Muted foreground
#4d6057dimgray
#9fb2a9darkgray
Accent
#b9cbc2silver
#2f4238darkslategray
Accent foreground
#232f29darkslategray
#c9d9d1lightgrey
Destructive
#6b240amaroon
#eb5924chocolate
Destructive foreground
#f8c3b0lightpink
#ffffffwhite
Border
#e6eae8lavender
#181b1ablack
Input
#e6eae8lavender
#181b1ablack
Ring
#6ecfa0mediumaquamarine
#6ecfa0mediumaquamarine

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.28:1AAA
Primary button10.61:1AAA
Secondary button7.26:1AAA
Muted text5.27:1AA
Accent8.19:1AAA
Destructive7.12:1AAA
Dark mode
Text on background19.11:1AAA
Text on card19.14:1AAA
Primary button10.61:1AAA
Secondary button8.29:1AAA
Muted text6.61:1AA
Accent7.35:1AAA
Destructive3.52:1AA Large

CSS variables

Paste this into your globals.css to use Crystal Gem Goat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 165.95);
  --foreground: oklch(0.099 0.014 166.213);
  --muted: oklch(0.915 0.028 165.174);
  --muted-foreground: oklch(0.471 0.028 164.346);
  --popover: oklch(0.994 0.003 165.95);
  --popover-foreground: oklch(0.099 0.014 166.213);
  --card: oklch(0.987 0.005 165.881);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.933 0.004 165.902);
  --input: oklch(0.933 0.004 165.902);
  --primary: oklch(0.781 0.115 161.059);
  --primary-foreground: oklch(0.123 0.014 166.177);
  --secondary: oklch(0.882 0.01 165.702);
  --secondary-foreground: oklch(0.371 0.019 164.581);
  --accent: oklch(0.826 0.023 165.238);
  --accent-foreground: oklch(0.291 0.02 164.046);
  --destructive: oklch(0.365 0.108 38.44);
  --destructive-foreground: oklch(0.859 0.066 40.911);
  --ring: oklch(0.781 0.115 161.059);
  --chart-1: oklch(0.781 0.115 161.059);
  --chart-2: oklch(0.882 0.01 165.702);
  --chart-3: oklch(0.826 0.023 165.238);
  --chart-4: oklch(0.904 0.008 165.77);
  --chart-5: oklch(0.787 0.121 160.766);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.013 166.121);
  --foreground: oklch(0.987 0.004 165.915);
  --muted: oklch(0.272 0.035 161.803);
  --muted-foreground: oklch(0.746 0.025 165.094);
  --popover: oklch(0.139 0.013 166.121);
  --popover-foreground: oklch(0.987 0.004 165.915);
  --card: oklch(0.154 0.015 164.551);
  --card-foreground: oklch(0.993 0.002 165.967);
  --border: oklch(0.219 0.006 165.221);
  --input: oklch(0.219 0.006 165.221);
  --primary: oklch(0.781 0.115 161.059);
  --primary-foreground: oklch(0.123 0.014 166.177);
  --secondary: oklch(0.276 0.011 164.855);
  --secondary-foreground: oklch(0.813 0.015 165.524);
  --accent: oklch(0.358 0.029 163.616);
  --accent-foreground: oklch(0.871 0.02 165.401);
  --destructive: oklch(0.649 0.191 38.476);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.781 0.115 161.059);
  --chart-1: oklch(0.781 0.115 161.059);
  --chart-2: oklch(0.276 0.011 164.855);
  --chart-3: oklch(0.358 0.029 163.616);
  --chart-4: oklch(0.308 0.013 164.801);
  --chart-5: oklch(0.787 0.121 160.766);
}