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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 3.12:1 | AA Large |
| Secondary button | 8.18:1 | AAA |
| Muted text | 5.34:1 | AA |
| Accent | 4.90:1 | AA |
| Destructive | 6.99:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 3.12:1 | AA Large |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 4.90:1 | AA |
| Destructive | 4.06:1 | AA Large |
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);
}