Big is a shadcn/ui theme built around a deep purple primary color (#55114f) with deep green accents (#115517). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the deep purple primary (#55114f) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0a050ablack |
| Foreground | #150513black | #ffffffwhite |
| Card | #fcf8fbsnow | #0d070dblack |
| Card foreground | #110410black | #ffffffwhite |
| Popover | #fdfcfdwhite | #0a050ablack |
| Popover foreground | #150513black | #ffffffwhite |
| Primary | #55114findigo | #55114findigo |
| Primary foreground | #eeaae8plum | #eeaae8plum |
| Secondary | #115517darkgreen | #115517darkgreen |
| Secondary foreground | #aaeeb0palegreen | #aaeeb0palegreen |
| Muted | #eef7eehoneydew | #081109black |
| Muted foreground | #586559dimgray | #9aa79bdarkgray |
| Accent | #115517darkgreen | #115517darkgreen |
| Accent foreground | #aaeeb0palegreen | #aaeeb0palegreen |
| Destructive | #942905saddlebrown | #f85620orangered |
| Destructive foreground | #fddacebisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #55114findigo | #55114findigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 6.69:1 | AA |
| Muted text | 5.59:1 | AA |
| Accent | 6.69:1 | AA |
| Destructive | 6.23:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 6.69:1 | AA |
| Muted text | 7.63:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.35:1 | AA |
Paste this into your globals.css to use Big in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 328.092);
--foreground: oklch(0.151 0.042 330.444);
--muted: oklch(0.966 0.015 147.903);
--muted-foreground: oklch(0.492 0.025 147.515);
--popover: oklch(0.992 0.003 328.092);
--popover-foreground: oklch(0.151 0.042 330.444);
--card: oklch(0.983 0.005 328.12);
--card-foreground: oklch(0.137 0.037 330.169);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.323 0.123 331.708);
--primary-foreground: oklch(0.822 0.112 329.396);
--secondary: oklch(0.393 0.114 144.082);
--secondary-foreground: oklch(0.887 0.108 146.682);
--accent: oklch(0.393 0.114 144.082);
--accent-foreground: oklch(0.887 0.108 146.682);
--destructive: oklch(0.446 0.149 36.022);
--destructive-foreground: oklch(0.914 0.043 39.291);
--ring: oklch(0.323 0.123 331.708);
--chart-1: oklch(0.323 0.123 331.708);
--chart-2: oklch(0.393 0.114 144.082);
--chart-3: oklch(0.393 0.114 144.082);
--chart-4: oklch(0.433 0.127 144.004);
--chart-5: oklch(0.325 0.127 331.816);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.015 328.766);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.022 146.703);
--muted-foreground: oklch(0.715 0.023 147.723);
--popover: oklch(0.128 0.015 328.766);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.017 329.092);
--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.323 0.123 331.708);
--primary-foreground: oklch(0.822 0.112 329.396);
--secondary: oklch(0.393 0.114 144.082);
--secondary-foreground: oklch(0.887 0.108 146.682);
--accent: oklch(0.393 0.114 144.082);
--accent-foreground: oklch(0.887 0.108 146.682);
--destructive: oklch(0.667 0.207 37.087);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.323 0.123 331.708);
--chart-1: oklch(0.323 0.123 331.708);
--chart-2: oklch(0.393 0.114 144.082);
--chart-3: oklch(0.393 0.114 144.082);
--chart-4: oklch(0.433 0.127 144.004);
--chart-5: oklch(0.325 0.127 331.816);
}