Be Spontaneous Mongoose is a shadcn/ui theme built around a green primary color (#9bcb5d) with green accents (#65cb5d). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#9bcb5d) on a neutral background (#050803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050803black |
| Foreground | #030501black | #ffffffwhite |
| Card | #fcfcfcsnow | #080b04black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #080b04black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #9bcb5ddarkkhaki | #9bcb5ddarkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #cbc35ddarkkhaki | #cbc35ddarkkhaki |
| Secondary foreground | #000000black | #000000black |
| Muted | #efefe6linen | #191910black |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #65cb5dmediumseagreen | #65cb5dmediumseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #842c01saddlebrown | #fe661borangered |
| Destructive foreground | #ffd0b8peachpuff | #000000black |
| Border | #e6e8e3gainsboro | #22241eblack |
| Input | #e6e8e3gainsboro | #22241eblack |
| Ring | #9bcb5ddarkkhaki | #9bcb5ddarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.46:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 11.05:1 | AAA |
| Secondary button | 11.51:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 10.20:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 11.05:1 | AAA |
| Secondary button | 11.51:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 10.20:1 | AAA |
| Destructive | 7.13:1 | AAA |
Paste this into your globals.css to use Be Spontaneous Mongoose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.021 124.617);
--muted: oklch(0.95 0.012 103.319);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.007 125.843);
--input: oklch(0.928 0.007 125.843);
--primary: oklch(0.784 0.148 128.82);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.803 0.124 105.133);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.755 0.176 142.374);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.42 0.129 40.904);
--destructive-foreground: oklch(0.891 0.062 48.002);
--ring: oklch(0.784 0.148 128.82);
--chart-1: oklch(0.784 0.148 128.82);
--chart-2: oklch(0.803 0.124 105.133);
--chart-3: oklch(0.755 0.176 142.374);
--chart-4: oklch(0.817 0.117 105.047);
--chart-5: oklch(0.791 0.155 128.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.017 124.991);
--foreground: oklch(1 0 180);
--muted: oklch(0.209 0.017 104.349);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.144 0.019 125.124);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.019 125.124);
--card-foreground: oklch(1 0 180);
--border: oklch(0.257 0.013 126.419);
--input: oklch(0.257 0.013 126.419);
--primary: oklch(0.784 0.148 128.82);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.803 0.124 105.133);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.755 0.176 142.374);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.695 0.2 41.931);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.784 0.148 128.82);
--chart-1: oklch(0.784 0.148 128.82);
--chart-2: oklch(0.803 0.124 105.133);
--chart-3: oklch(0.755 0.176 142.374);
--chart-4: oklch(0.817 0.117 105.047);
--chart-5: oklch(0.791 0.155 128.997);
}