Breakthrough is a shadcn/ui theme built around a vivid deep pink primary color (#2a0412) with muted light pink accents (#dcd6d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#2a0412) on a pink-tinted background (#0b0507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0507black |
| Foreground | #000000black | #fbf9fasnow |
| Card | #fcfcfcsnow | #0e0609black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0b0507black |
| Popover foreground | #000000black | #fbf9fasnow |
| Primary | #2a0412black | #2a0412black |
| Primary foreground | #f0709fpalevioletred | #f0709fpalevioletred |
| Secondary | #dcd6d8gainsboro | #1d1b1cblack |
| Secondary foreground | #453b3edarkslategray | #b8b2b4silver |
| Muted | #f3e7eclinen | #180c10black |
| Muted foreground | #604851dimgray | #b79fa8darkgray |
| Accent | #dcd6d8gainsboro | #1d1b1cblack |
| Accent foreground | #453b3edarkslategray | #b8b2b4silver |
| Destructive | #8a2a0asaddlebrown | #ee501borangered |
| Destructive foreground | #fbd7cbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a0412black | #2a0412black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.77:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Breakthrough in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.939 0.014 352.985);
--muted-foreground: oklch(0.431 0.035 354.768);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.192 0.064 1.992);
--primary-foreground: oklch(0.71 0.164 359.057);
--secondary: oklch(0.881 0.007 352.814);
--secondary-foreground: oklch(0.363 0.015 353.764);
--accent: oklch(0.881 0.007 352.814);
--accent-foreground: oklch(0.363 0.015 353.764);
--destructive: oklch(0.428 0.136 36.806);
--destructive-foreground: oklch(0.906 0.044 39.289);
--ring: oklch(0.192 0.064 1.992);
--chart-1: oklch(0.192 0.064 1.992);
--chart-2: oklch(0.881 0.007 352.814);
--chart-3: oklch(0.881 0.007 352.814);
--chart-4: oklch(0.905 0.006 352.76);
--chart-5: oklch(0.192 0.066 2.259);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.015 352.357);
--foreground: oklch(0.984 0.002 352.645);
--muted: oklch(0.173 0.021 355.885);
--muted-foreground: oklch(0.726 0.03 353.73);
--popover: oklch(0.125 0.015 352.357);
--popover-foreground: oklch(0.984 0.002 352.645);
--card: oklch(0.138 0.017 353.657);
--card-foreground: oklch(0.992 0.001 352.609);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.192 0.064 1.992);
--primary-foreground: oklch(0.71 0.164 359.057);
--secondary: oklch(0.225 0.004 353.056);
--secondary-foreground: oklch(0.769 0.007 352.848);
--accent: oklch(0.225 0.004 353.056);
--accent-foreground: oklch(0.769 0.007 352.848);
--destructive: oklch(0.643 0.203 36.866);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.192 0.064 1.992);
--chart-1: oklch(0.192 0.064 1.992);
--chart-2: oklch(0.225 0.004 353.056);
--chart-3: oklch(0.225 0.004 353.056);
--chart-4: oklch(0.257 0.005 353.094);
--chart-5: oklch(0.192 0.066 2.259);
}