Big is a shadcn/ui theme built around a vivid purple primary color (#c809c1) with muted light purple accents (#dec9de). The light mode uses a neutral background (#fefbfe). Dark mode keeps the vivid purple primary (#c809c1) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #030203black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefbfewhite | #030203black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfewhite | #030203black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c809c1darkviolet | #c809c1darkviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #eee7eelavender | #1c171cblack |
| Secondary foreground | #5f455edimgray | #b9acb9silver |
| Muted | #f3ecf3whitesmoke | #130c12black |
| Muted foreground | #504950darkslategray | #b6afb6darkgray |
| Accent | #dec9dethistle | #312130darkslategray |
| Accent foreground | #492c48darkslategray | #cdb6cdthistle |
| Destructive | #dc1304red | #e61405red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c809c1darkviolet | #c809c1darkviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 4.92:1 | AA |
| Secondary button | 6.93:1 | AA |
| Muted text | 7.52:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 20.72:1 | AAA |
| Text on card | 20.72:1 | AAA |
| Primary button | 4.92:1 | AA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 9.00:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.70:1 | AA |
Paste this into your globals.css to use Big in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.006 326.591);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.011 326.643);
--muted-foreground: oklch(0.414 0.016 326.863);
--popover: oklch(0.991 0.006 326.591);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.006 326.591);
--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.582 0.262 330.077);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.936 0.011 326.642);
--secondary-foreground: oklch(0.426 0.053 327.551);
--accent: oklch(0.86 0.037 326.907);
--accent-foreground: oklch(0.341 0.062 327.987);
--destructive: oklch(0.566 0.226 29.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.582 0.262 330.077);
--chart-1: oklch(0.582 0.262 330.077);
--chart-2: oklch(0.936 0.011 326.642);
--chart-3: oklch(0.86 0.037 326.907);
--chart-4: oklch(0.96 0.007 326.602);
--chart-5: oklch(0.588 0.266 330.114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.011 327.355);
--foreground: oklch(1 0 180);
--muted: oklch(0.166 0.017 327.398);
--muted-foreground: oklch(0.762 0.013 326.693);
--popover: oklch(0.089 0.011 327.355);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.089 0.011 327.355);
--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.582 0.262 330.077);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.213 0.011 326.982);
--secondary-foreground: oklch(0.759 0.024 326.814);
--accent: oklch(0.273 0.035 327.585);
--accent-foreground: oklch(0.803 0.04 326.966);
--destructive: oklch(0.585 0.234 29.779);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.582 0.262 330.077);
--chart-1: oklch(0.582 0.262 330.077);
--chart-2: oklch(0.213 0.011 326.982);
--chart-3: oklch(0.273 0.035 327.585);
--chart-4: oklch(0.245 0.014 327.021);
--chart-5: oklch(0.588 0.266 330.114);
}