Stumbling is a shadcn/ui theme built around a vivid light green primary color (#87fdae) with vivid light orange accents (#fdae87). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#87fdae) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #000000black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #fbfefcwhite | #000000black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #000000black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #87fdaepalegreen | #87fdaepalegreen |
| Primary foreground | #02501cdarkgreen | #02501cdarkgreen |
| Secondary | #ae87fdmediumpurple | #ae87fdmediumpurple |
| Secondary foreground | #1c0250midnightblue | #1c0250midnightblue |
| Muted | #efeef1whitesmoke | #0f0e11black |
| Muted foreground | #423d4cdarkslategray | #b8b3c2silver |
| Accent | #fdae87lightsalmon | #fdae87lightsalmon |
| Accent foreground | #501c02maroon | #501c02maroon |
| Destructive | #8a360fsaddlebrown | #ea7139tomato |
| Destructive foreground | #faded1antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #87fdaepalegreen | #87fdaepalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.69:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 9.08:1 | AAA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.27:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 9.42:1 | AAA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.91:1 | AA |
Paste this into your globals.css to use Stumbling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 157.171);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.004 301.422);
--muted-foreground: oklch(0.372 0.026 300.345);
--popover: oklch(0.994 0.005 157.171);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.005 157.171);
--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.904 0.153 153.05);
--primary-foreground: oklch(0.376 0.108 147.851);
--secondary: oklch(0.71 0.169 297.285);
--secondary-foreground: oklch(0.221 0.125 286.185);
--accent: oklch(0.818 0.106 47.351);
--accent-foreground: oklch(0.302 0.086 43.569);
--destructive: oklch(0.445 0.125 41.632);
--destructive-foreground: oklch(0.92 0.036 46.456);
--ring: oklch(0.904 0.153 153.05);
--chart-1: oklch(0.904 0.153 153.05);
--chart-2: oklch(0.71 0.169 297.285);
--chart-3: oklch(0.818 0.106 47.351);
--chart-4: oklch(0.745 0.148 298.089);
--chart-5: oklch(0.907 0.157 152.922);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 157.225);
--muted: oklch(0.165 0.007 300.857);
--muted-foreground: oklch(0.774 0.022 301.036);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 157.225);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 157.225);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.904 0.153 153.05);
--primary-foreground: oklch(0.376 0.108 147.851);
--secondary: oklch(0.71 0.169 297.285);
--secondary-foreground: oklch(0.221 0.125 286.185);
--accent: oklch(0.818 0.106 47.351);
--accent-foreground: oklch(0.302 0.086 43.569);
--destructive: oklch(0.683 0.166 43.452);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.904 0.153 153.05);
--chart-1: oklch(0.904 0.153 153.05);
--chart-2: oklch(0.71 0.169 297.285);
--chart-3: oklch(0.818 0.106 47.351);
--chart-4: oklch(0.745 0.148 298.089);
--chart-5: oklch(0.907 0.157 152.922);
}