Big is a shadcn/ui theme built around a vivid light purple primary color (#f69efa) with vivid light teal accents (#9efaf6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light purple primary (#f69efa) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040104black |
| Foreground | #0d020eblack | #ffffffwhite |
| Card | #ffffffwhite | #040104black |
| Card foreground | #0d020eblack | #ffffffwhite |
| Popover | #ffffffwhite | #040104black |
| Popover foreground | #0d020eblack | #ffffffwhite |
| Primary | #f69efaviolet | #f69efaviolet |
| Primary foreground | #5d0561indigo | #5d0561indigo |
| Secondary | #faf69epalegoldenrod | #faf69epalegoldenrod |
| Secondary foreground | #615d05darkolivegreen | #615d05darkolivegreen |
| Muted | #f1f0e5linen | #1a1a0eblack |
| Muted foreground | #686750dimgray | #afae97darkgray |
| Accent | #9efaf6paleturquoise | #9efaf6paleturquoise |
| Accent foreground | #05615dteal | #05615dteal |
| Destructive | #a90a0adarkred | #f22121crimson |
| Destructive foreground | #fee7e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f69efaviolet | #f69efaviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 6.08:1 | AA |
| Muted text | 5.02:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.76:1 | AAA |
| Text on card | 20.76:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 6.08:1 | AA |
| Muted text | 7.79:1 | AAA |
| Accent | 6.08:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Big in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.12 0.042 326.286);
--muted: oklch(0.952 0.015 104.237);
--muted-foreground: oklch(0.507 0.034 105.057);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.12 0.042 326.286);
--card: oklch(1 0 180);
--card-foreground: oklch(0.12 0.042 326.286);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.817 0.157 325.136);
--primary-foreground: oklch(0.341 0.154 325.814);
--secondary: oklch(0.957 0.109 105.694);
--secondary-foreground: oklch(0.467 0.098 106.163);
--accent: oklch(0.927 0.089 191.672);
--accent-foreground: oklch(0.446 0.076 189.059);
--destructive: oklch(0.464 0.185 28.64);
--destructive-foreground: oklch(0.946 0.025 17.6);
--ring: oklch(0.817 0.157 325.136);
--chart-1: oklch(0.817 0.157 325.136);
--chart-2: oklch(0.957 0.109 105.694);
--chart-3: oklch(0.927 0.089 191.672);
--chart-4: oklch(0.963 0.094 105.484);
--chart-5: oklch(0.817 0.162 325.163);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.02 325.821);
--foreground: oklch(1 0 180);
--muted: oklch(0.214 0.021 105.466);
--muted-foreground: oklch(0.745 0.032 104.671);
--popover: oklch(0.086 0.02 325.821);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.02 325.821);
--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.817 0.157 325.136);
--primary-foreground: oklch(0.341 0.154 325.814);
--secondary: oklch(0.957 0.109 105.694);
--secondary-foreground: oklch(0.467 0.098 106.163);
--accent: oklch(0.927 0.089 191.672);
--accent-foreground: oklch(0.446 0.076 189.059);
--destructive: oklch(0.614 0.237 27.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.817 0.157 325.136);
--chart-1: oklch(0.817 0.157 325.136);
--chart-2: oklch(0.957 0.109 105.694);
--chart-3: oklch(0.927 0.089 191.672);
--chart-4: oklch(0.963 0.094 105.484);
--chart-5: oklch(0.817 0.162 325.163);
}