Official Secret Garden for shadcn/ui

Official Secret Garden is a shadcn/ui theme built around a vivid teal primary color (#06a75f) with vivid orange accents (#a75f06). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#06a75f) on a neutral background (#020805).

Color palette

TokenLightDark
Background
#ffffffwhite
#020805black
Foreground
#000000black
#f7f8f7whitesmoke
Card
#fcfcfcsnow
#040c08black
Card foreground
#000000black
#f9fafaghostwhite
Popover
#ffffffwhite
#020805black
Popover foreground
#000000black
#f7f8f7whitesmoke
Primary
#06a75fseagreen
#06a75fseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#5f06a7indigo
#5f06a7indigo
Secondary foreground
#f1e1felavender
#f1e1felavender
Muted
#d9d5dcgainsboro
#27232adarkslategray
Muted foreground
#545256dimgray
#aba9addarkgray
Accent
#a75f06saddlebrown
#a75f06saddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#5f0907maroon
#ef322ecrimson
Destructive foreground
#f8a2a0lightsalmon
#ffffffwhite
Border
#f0f4f2whitesmoke
#18201cblack
Input
#f0f4f2whitesmoke
#18201cblack
Ring
#06a75fseagreen
#06a75fseagreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button3.12:1AA Large
Secondary button8.18:1AAA
Muted text5.34:1AA
Accent4.90:1AA
Destructive6.99:1AA
Dark mode
Text on background18.97:1AAA
Text on card18.95:1AAA
Primary button3.12:1AA Large
Secondary button8.18:1AAA
Muted text6.64:1AA
Accent4.90:1AA
Destructive4.06:1AA Large

CSS variables

Paste this into your globals.css to use Official Secret Garden in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.879 0.01 310.33);
  --muted-foreground: oklch(0.443 0.006 310.314);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.964 0.005 167.679);
  --input: oklch(0.964 0.005 167.679);
  --primary: oklch(0.641 0.159 154.589);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.406 0.213 299.902);
  --secondary-foreground: oklch(0.932 0.041 310.025);
  --accent: oklch(0.556 0.127 61.132);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.311 0.118 28.235);
  --destructive-foreground: oklch(0.796 0.103 20.681);
  --ring: oklch(0.641 0.159 154.589);
  --chart-1: oklch(0.641 0.159 154.589);
  --chart-2: oklch(0.406 0.213 299.902);
  --chart-3: oklch(0.556 0.127 61.132);
  --chart-4: oklch(0.431 0.227 299.712);
  --chart-5: oklch(0.648 0.162 154.268);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.015 168.031);
  --foreground: oklch(0.978 0.002 167.76);
  --muted: oklch(0.262 0.014 309.951);
  --muted-foreground: oklch(0.738 0.005 310.372);
  --popover: oklch(0.124 0.015 168.031);
  --popover-foreground: oklch(0.978 0.002 167.76);
  --card: oklch(0.142 0.018 167.707);
  --card-foreground: oklch(0.985 0.001 167.778);
  --border: oklch(0.235 0.014 166.026);
  --input: oklch(0.235 0.014 166.026);
  --primary: oklch(0.641 0.159 154.589);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.406 0.213 299.902);
  --secondary-foreground: oklch(0.932 0.041 310.025);
  --accent: oklch(0.556 0.127 61.132);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.62 0.224 27.48);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.641 0.159 154.589);
  --chart-1: oklch(0.641 0.159 154.589);
  --chart-2: oklch(0.406 0.213 299.902);
  --chart-3: oklch(0.556 0.127 61.132);
  --chart-4: oklch(0.431 0.227 299.712);
  --chart-5: oklch(0.648 0.162 154.268);
}