Stupendous is a shadcn/ui theme built around a muted light yellow primary color (#dfe0c8) with muted light yellow accents (#d4d4c9). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted light yellow primary (#dfe0c8) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #0b0b04black |
| Foreground | #121202black | #fdfdfcwhite |
| Card | #fdfdfcwhite | #0b0b04black |
| Card foreground | #121202black | #fdfdfcwhite |
| Popover | #fdfdfcwhite | #0b0b04black |
| Popover foreground | #121202black | #fdfdfcwhite |
| Primary | #dfe0c8gainsboro | #dfe0c8gainsboro |
| Primary foreground | #4a4b2adarkolivegreen | #4a4b2adarkolivegreen |
| Secondary | #e4e4e2gainsboro | #323324darkslategray |
| Secondary foreground | #4d4e46darkslategray | #cecebasilver |
| Muted | #e9ead2antiquewhite | #2c2d15black |
| Muted foreground | #464639darkslategray | #c5c6b9silver |
| Accent | #d4d4c9lightgrey | #525431darkolivegreen |
| Accent foreground | #3c3c2fdarkslategray | #e4e5d2gainsboro |
| Destructive | #c7150ffirebrick | #ee2720crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfe0c8gainsboro | #dfe0c8gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.58:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.63:1 | AA |
| Muted text | 7.80:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 5.91:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 8.12:1 | AAA |
| Accent | 6.17:1 | AA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Stupendous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.002 107.984);
--foreground: oklch(0.177 0.033 110.818);
--muted: oklch(0.929 0.032 108.554);
--muted-foreground: oklch(0.39 0.021 108.893);
--popover: oklch(0.995 0.002 107.984);
--popover-foreground: oklch(0.177 0.033 110.818);
--card: oklch(0.995 0.002 107.984);
--card-foreground: oklch(0.177 0.033 110.818);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.899 0.032 108.59);
--primary-foreground: oklch(0.403 0.05 110.105);
--secondary: oklch(0.919 0.004 108.015);
--secondary-foreground: oklch(0.42 0.012 108.456);
--accent: oklch(0.868 0.016 108.271);
--accent-foreground: oklch(0.352 0.021 109.026);
--destructive: oklch(0.528 0.207 29.077);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.032 108.59);
--chart-1: oklch(0.899 0.032 108.59);
--chart-2: oklch(0.919 0.004 108.015);
--chart-3: oklch(0.868 0.016 108.271);
--chart-4: oklch(0.941 0.003 107.993);
--chart-5: oklch(0.902 0.036 108.654);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.017 109.7);
--foreground: oklch(0.993 0.001 107.961);
--muted: oklch(0.29 0.039 110.281);
--muted-foreground: oklch(0.821 0.017 108.327);
--popover: oklch(0.147 0.017 109.7);
--popover-foreground: oklch(0.993 0.001 107.961);
--card: oklch(0.147 0.017 109.7);
--card-foreground: oklch(0.993 0.001 107.961);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.899 0.032 108.59);
--primary-foreground: oklch(0.403 0.05 110.105);
--secondary: oklch(0.315 0.025 109.341);
--secondary-foreground: oklch(0.846 0.027 108.518);
--accent: oklch(0.434 0.052 110.027);
--accent-foreground: oklch(0.915 0.025 108.43);
--destructive: oklch(0.61 0.231 28.661);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.032 108.59);
--chart-1: oklch(0.899 0.032 108.59);
--chart-2: oklch(0.315 0.025 109.341);
--chart-3: oklch(0.434 0.052 110.027);
--chart-4: oklch(0.349 0.029 109.385);
--chart-5: oklch(0.902 0.036 108.654);
}