Intrepid is a shadcn/ui theme built around a muted indigo primary color (#9a9cc6) with muted green accents (#9cc69a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#9a9cc6) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020203black |
| Foreground | #05060fblack | #f8f8fcghostwhite |
| Card | #fcfcfcsnow | #040407black |
| Card foreground | #04040cblack | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #040407black |
| Popover foreground | #04040cblack | #fcfcfdwhite |
| Primary | #9a9cc6darkgray | #9a9cc6darkgray |
| Primary foreground | #11111dblack | #11111dblack |
| Secondary | #c69a9crosybrown | #c69a9crosybrown |
| Secondary foreground | #1d1111black | #1d1111black |
| Muted | #e7cfd0lightgrey | #301819black |
| Muted foreground | #585050dimgray | #afa7a7darkgray |
| Accent | #9cc69adarkseagreen | #9cc69adarkseagreen |
| Accent foreground | #111d11black | #111d11black |
| Destructive | #d93c02orangered | #fd581corangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9a9cc6darkgray | #9a9cc6darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 9.07:1 | AAA |
| Destructive | 4.57:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 7.03:1 | AAA |
| Accent | 9.07:1 | AAA |
| Destructive | 6.57:1 | AA |
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.125 0.024 279.23);
--muted: oklch(0.875 0.027 14.23);
--muted-foreground: oklch(0.439 0.011 14.115);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.113 0.021 279.273);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.113 0.021 279.273);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.706 0.061 282.346);
--primary-foreground: oklch(0.184 0.025 281.329);
--secondary: oklch(0.727 0.053 15.104);
--secondary-foreground: oklch(0.193 0.022 15.984);
--accent: oklch(0.785 0.076 143.541);
--accent-foreground: oklch(0.216 0.03 143.275);
--destructive: oklch(0.587 0.201 35.713);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.706 0.061 282.346);
--chart-1: oklch(0.706 0.061 282.346);
--chart-2: oklch(0.727 0.053 15.104);
--chart-3: oklch(0.785 0.076 143.541);
--chart-4: oklch(0.754 0.047 14.885);
--chart-5: oklch(0.701 0.068 282.137);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.008 281.579);
--foreground: oklch(0.981 0.005 283.89);
--muted: oklch(0.242 0.039 17.198);
--muted-foreground: oklch(0.734 0.01 13.871);
--popover: oklch(0.106 0.01 281.579);
--popover-foreground: oklch(0.99 0.002 283.931);
--card: oklch(0.106 0.01 281.579);
--card-foreground: oklch(0.99 0.002 283.931);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.706 0.061 282.346);
--primary-foreground: oklch(0.184 0.025 281.329);
--secondary: oklch(0.727 0.053 15.104);
--secondary-foreground: oklch(0.193 0.022 15.984);
--accent: oklch(0.785 0.076 143.541);
--accent-foreground: oklch(0.216 0.03 143.275);
--destructive: oklch(0.676 0.211 37.682);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.706 0.061 282.346);
--chart-1: oklch(0.706 0.061 282.346);
--chart-2: oklch(0.727 0.053 15.104);
--chart-3: oklch(0.785 0.076 143.541);
--chart-4: oklch(0.754 0.047 14.885);
--chart-5: oklch(0.701 0.068 282.137);
}