Breakdown is a shadcn/ui theme built around a muted light orange primary color (#e1ddda) with muted light yellow accents (#e1e0da). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted light orange primary (#e1ddda) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcf6f2seashell | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdf9f7snow | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e1dddagainsboro | #e1dddagainsboro |
| Primary foreground | #4c433ddarkslategray | #4c433ddarkslategray |
| Secondary | #e1dadbgainsboro | #e1dadbgainsboro |
| Secondary foreground | #4c3d40darkslategray | #4c3d40darkslategray |
| Muted | #f4ecedlinen | #130b0dblack |
| Muted foreground | #6a5c5fdimgray | #a39597rosybrown |
| Accent | #e1e0dagainsboro | #e1e0dagainsboro |
| Accent foreground | #4c4a3ddarkslategray | #4c4a3ddarkslategray |
| Destructive | #760c04maroon | #f8473atomato |
| Destructive foreground | #fcb5b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1dddagainsboro | #e1dddagainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.06:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 5.44:1 | AA |
| Accent | 6.76:1 | AA |
| Destructive | 6.77:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 6.76:1 | AA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Breakdown in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.006 50.585);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.009 6.827);
--muted-foreground: oklch(0.491 0.018 7.526);
--popover: oklch(0.984 0.006 50.585);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.977 0.008 50.547);
--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.9 0.006 50.569);
--primary-foreground: oklch(0.39 0.016 50.155);
--secondary: oklch(0.895 0.008 6.823);
--secondary-foreground: oklch(0.378 0.021 8.009);
--accent: oklch(0.907 0.008 98.448);
--accent-foreground: oklch(0.408 0.021 98.972);
--destructive: oklch(0.362 0.139 29.98);
--destructive-foreground: oklch(0.839 0.083 23.587);
--ring: oklch(0.9 0.006 50.569);
--chart-1: oklch(0.9 0.006 50.569);
--chart-2: oklch(0.895 0.008 6.823);
--chart-3: oklch(0.907 0.008 98.448);
--chart-4: oklch(0.92 0.006 6.765);
--chart-5: oklch(0.9 0.008 50.545);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.163 0.014 8.756);
--muted-foreground: oklch(0.681 0.017 7.211);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.9 0.006 50.569);
--primary-foreground: oklch(0.39 0.016 50.155);
--secondary: oklch(0.895 0.008 6.823);
--secondary-foreground: oklch(0.378 0.021 8.009);
--accent: oklch(0.907 0.008 98.448);
--accent-foreground: oklch(0.408 0.021 98.972);
--destructive: oklch(0.653 0.215 28.599);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.006 50.569);
--chart-1: oklch(0.9 0.006 50.569);
--chart-2: oklch(0.895 0.008 6.823);
--chart-3: oklch(0.907 0.008 98.448);
--chart-4: oklch(0.92 0.006 6.765);
--chart-5: oklch(0.9 0.008 50.545);
}