Colossal is a shadcn/ui theme built around a vivid green primary color (#269c02) with muted light green accents (#d7ddd5). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid green primary (#269c02) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #000000black |
| Foreground | #020401black | #f7f8f6whitesmoke |
| Card | #f6fbf4whitesmoke | #030303black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #f9fcf8mintcream | #000000black |
| Popover foreground | #020401black | #f7f8f6whitesmoke |
| Primary | #269c02forestgreen | #269c02forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d7ddd5gainsboro | #253022darkslategray |
| Secondary foreground | #3c4739darkslategray | #bcccb7silver |
| Muted | #deecdagainsboro | #172513black |
| Muted foreground | #4a4b49darkslategray | #b5b6b4silver |
| Accent | #d7ddd5gainsboro | #253022darkslategray |
| Accent foreground | #3c4739darkslategray | #bcccb7silver |
| Destructive | #900804darkred | #f9271forangered |
| Destructive foreground | #fecac8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #269c02forestgreen | #269c02forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 3.60:1 | AA Large |
| Secondary button | 7.04:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 7.04:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 3.60:1 | AA Large |
| Secondary button | 8.19:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Colossal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 138.337);
--foreground: oklch(0.1 0.02 136.303);
--muted: oklch(0.928 0.029 138.363);
--muted-foreground: oklch(0.41 0.003 138.337);
--popover: oklch(0.988 0.007 138.337);
--popover-foreground: oklch(0.1 0.02 136.303);
--card: oklch(0.981 0.01 138.341);
--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.604 0.197 140.817);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.89 0.013 138.346);
--secondary-foreground: oklch(0.383 0.027 138.414);
--accent: oklch(0.89 0.013 138.346);
--accent-foreground: oklch(0.383 0.027 138.414);
--destructive: oklch(0.414 0.165 29.425);
--destructive-foreground: oklch(0.884 0.059 20.629);
--ring: oklch(0.604 0.197 140.817);
--chart-1: oklch(0.604 0.197 140.817);
--chart-2: oklch(0.89 0.013 138.346);
--chart-3: oklch(0.89 0.013 138.346);
--chart-4: oklch(0.912 0.011 138.342);
--chart-5: oklch(0.61 0.2 140.897);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.003 138.333);
--muted: oklch(0.247 0.039 138.601);
--muted-foreground: oklch(0.774 0.002 138.333);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.003 138.333);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.002 138.332);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.604 0.197 140.817);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.294 0.029 138.456);
--secondary-foreground: oklch(0.828 0.033 138.374);
--accent: oklch(0.294 0.029 138.456);
--accent-foreground: oklch(0.828 0.033 138.374);
--destructive: oklch(0.63 0.241 28.774);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.604 0.197 140.817);
--chart-1: oklch(0.604 0.197 140.817);
--chart-2: oklch(0.294 0.029 138.456);
--chart-3: oklch(0.294 0.029 138.456);
--chart-4: oklch(0.327 0.033 138.463);
--chart-5: oklch(0.61 0.2 140.897);
}