Colossal is a shadcn/ui theme built around a near-black primary color (#000000) with near-black accents (#000000). The light mode uses a neutral background (#fcf7f7). Dark mode keeps the near-black primary (#000000) on a red-tinted background (#0b0505).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f7snow | #0b0505black |
| Foreground | #100404black | #ffffffwhite |
| Card | #fbf4f4lavenderblush | #0e0606black |
| Card foreground | #0c0303black | #ffffffwhite |
| Popover | #fcf7f7snow | #0b0505black |
| Popover foreground | #100404black | #ffffffwhite |
| Primary | #000000black | #000000black |
| Primary foreground | #999999darkgray | #999999darkgray |
| Secondary | #000000black | #000000black |
| Secondary foreground | #999999darkgray | #999999darkgray |
| Muted | #e3d9d9gainsboro | #261c1cblack |
| Muted foreground | #614848darkolivegreen | #b79e9edarkgray |
| Accent | #000000black | #000000black |
| Accent foreground | #999999darkgray | #999999darkgray |
| Destructive | #84310bsaddlebrown | #ef763ecoral |
| Destructive foreground | #fad7c6bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000000black | #000000black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.06:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 7.33:1 | AAA |
Paste this into your globals.css to use Colossal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 17.25);
--foreground: oklch(0.131 0.027 21.355);
--muted: oklch(0.892 0.012 17.375);
--muted-foreground: oklch(0.427 0.035 18.608);
--popover: oklch(0.981 0.005 17.25);
--popover-foreground: oklch(0.131 0.027 21.355);
--card: oklch(0.972 0.008 17.298);
--card-foreground: oklch(0.118 0.023 21.148);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0 0 0);
--secondary-foreground: oklch(0.683 0 180);
--accent: oklch(0 0 0);
--accent-foreground: oklch(0.683 0 180);
--destructive: oklch(0.428 0.123 41.2);
--destructive-foreground: oklch(0.904 0.046 46.355);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0 0 0);
--chart-3: oklch(0 0 0);
--chart-4: oklch(0.132 0 165.964);
--chart-5: oklch(0 0 0);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 19.188);
--foreground: oklch(1 0 180);
--muted: oklch(0.239 0.017 18.398);
--muted-foreground: oklch(0.722 0.03 17.864);
--popover: oklch(0.123 0.014 19.188);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.016 19.292);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0 0 0);
--secondary-foreground: oklch(0.683 0 180);
--accent: oklch(0 0 0);
--accent-foreground: oklch(0.683 0 180);
--destructive: oklch(0.698 0.165 43.654);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0 0 0);
--chart-3: oklch(0 0 0);
--chart-4: oklch(0.132 0 165.964);
--chart-5: oklch(0 0 0);
}