Striking is a shadcn/ui theme built around a deep orange primary color (#703e10) with deep yellow accents (#706e10). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#703e10) on a neutral background (#080503).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #080503black |
| Foreground | #150c04black | #fdfcfcsnow |
| Card | #fcfaf8snow | #080503black |
| Card foreground | #150c04black | #fdfcfcsnow |
| Popover | #fcfaf8snow | #080503black |
| Popover foreground | #150c04black | #fdfcfcsnow |
| Primary | #703e10saddlebrown | #703e10saddlebrown |
| Primary foreground | #f5d8bcpeachpuff | #f5d8bcpeachpuff |
| Secondary | #701012maroon | #701012maroon |
| Secondary foreground | #f5bcbdlightpink | #f5bcbdlightpink |
| Muted | #e2dfdfgainsboro | #201d1dblack |
| Muted foreground | #6b5758dimgray | #a89495rosybrown |
| Accent | #706e10olive | #706e10olive |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6b2c0bsaddlebrown | #ed8045coral |
| Destructive foreground | #f7c9b0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #703e10saddlebrown | #703e10saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.54:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 5.35:1 | AA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 5.83:1 | AA |
| Accent | 5.35:1 | AA |
| Destructive | 7.75:1 | AAA |
Paste this into your globals.css to use Striking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 65.926);
--foreground: oklch(0.166 0.023 67.594);
--muted: oklch(0.906 0.003 16.039);
--muted-foreground: oklch(0.477 0.026 16.957);
--popover: oklch(0.986 0.003 65.926);
--popover-foreground: oklch(0.166 0.023 67.594);
--card: oklch(0.986 0.003 65.926);
--card-foreground: oklch(0.166 0.023 67.594);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.417 0.09 58.358);
--primary-foreground: oklch(0.899 0.05 65.234);
--secondary: oklch(0.353 0.129 26.352);
--secondary-foreground: oklch(0.847 0.066 17.442);
--accent: oklch(0.523 0.108 108.553);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.377 0.099 44.59);
--destructive-foreground: oklch(0.87 0.063 49.813);
--ring: oklch(0.417 0.09 58.358);
--chart-1: oklch(0.417 0.09 58.358);
--chart-2: oklch(0.353 0.129 26.352);
--chart-3: oklch(0.523 0.108 108.553);
--chart-4: oklch(0.381 0.141 26.541);
--chart-5: oklch(0.42 0.092 57.788);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.011 73.154);
--foreground: oklch(0.993 0.001 65.951);
--muted: oklch(0.235 0.005 16.333);
--muted-foreground: oklch(0.685 0.023 16.582);
--popover: oklch(0.118 0.011 73.154);
--popover-foreground: oklch(0.993 0.001 65.951);
--card: oklch(0.118 0.011 73.154);
--card-foreground: oklch(0.993 0.001 65.951);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.417 0.09 58.358);
--primary-foreground: oklch(0.899 0.05 65.234);
--secondary: oklch(0.353 0.129 26.352);
--secondary-foreground: oklch(0.847 0.066 17.442);
--accent: oklch(0.523 0.108 108.553);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.71 0.152 47.069);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.417 0.09 58.358);
--chart-1: oklch(0.417 0.09 58.358);
--chart-2: oklch(0.353 0.129 26.352);
--chart-3: oklch(0.523 0.108 108.553);
--chart-4: oklch(0.381 0.141 26.541);
--chart-5: oklch(0.42 0.092 57.788);
}