Intrepid is a shadcn/ui theme built around a near-white primary color (#fffafb) with near-white accents (#fffbfa). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fffafb) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040202black |
| Foreground | #140609black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #070304black |
| Card foreground | #100507black | #ffffffwhite |
| Popover | #ffffffwhite | #040202black |
| Popover foreground | #140609black | #fdfcfcsnow |
| Primary | #fffafbsnow | #fffafbsnow |
| Primary foreground | #bc0b34firebrick | #bc0b34firebrick |
| Secondary | #fffafesnow | #fffafesnow |
| Secondary foreground | #5c0545indigo | #5c0545indigo |
| Muted | #ede3eblavender | #1c1219black |
| Muted foreground | #564351darkslategray | #bca9b7darkgray |
| Accent | #fffbfasnow | #fffbfasnow |
| Accent foreground | #5c1c05maroon | #5c1c05maroon |
| Destructive | #8b1c04darkred | #f9431aorangered |
| Destructive foreground | #fdcec3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fffafbsnow | #fffafbsnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 13.03:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 12.61:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 13.03:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 12.61:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Intrepid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.028 3.984);
--muted: oklch(0.926 0.015 334.815);
--muted-foreground: oklch(0.408 0.036 335.983);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.028 3.984);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.134 0.024 2.388);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.989 0.005 1.102);
--primary-foreground: oklch(0.507 0.199 18.974);
--secondary: oklch(0.99 0.006 334.642);
--secondary-foreground: oklch(0.321 0.132 342.652);
--accent: oklch(0.991 0.004 41.273);
--accent-foreground: oklch(0.325 0.098 38.49);
--destructive: oklch(0.417 0.149 33.213);
--destructive-foreground: oklch(0.89 0.056 32.816);
--ring: oklch(0.989 0.005 1.102);
--chart-1: oklch(0.989 0.005 1.102);
--chart-2: oklch(0.99 0.006 334.642);
--chart-3: oklch(0.991 0.004 41.273);
--chart-4: oklch(1.02 0.013 154.304);
--chart-5: oklch(0.989 0.005 1.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.009 0.973);
--foreground: oklch(0.992 0.001 0.989);
--muted: oklch(0.198 0.023 336.407);
--muted-foreground: oklch(0.755 0.03 335.218);
--popover: oklch(0.086 0.009 0.973);
--popover-foreground: oklch(0.992 0.001 0.989);
--card: oklch(0.109 0.012 0.973);
--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.989 0.005 1.102);
--primary-foreground: oklch(0.507 0.199 18.974);
--secondary: oklch(0.99 0.006 334.642);
--secondary-foreground: oklch(0.321 0.132 342.652);
--accent: oklch(0.991 0.004 41.273);
--accent-foreground: oklch(0.325 0.098 38.49);
--destructive: oklch(0.649 0.224 33.44);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.989 0.005 1.102);
--chart-1: oklch(0.989 0.005 1.102);
--chart-2: oklch(0.99 0.006 334.642);
--chart-3: oklch(0.991 0.004 41.273);
--chart-4: oklch(1.02 0.013 154.304);
--chart-5: oklch(0.989 0.005 1.107);
}