Intrepid is a shadcn/ui theme built around a vivid deep pink primary color (#7b0e53) with vivid deep green accents (#0e7b36). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid deep pink primary (#7b0e53) on a neutral background (#080206).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #080206black |
| Foreground | #0d0209black | #fdfcfdwhite |
| Card | #faf4f8whitesmoke | #0c0409black |
| Card foreground | #090206black | #ffffffwhite |
| Popover | #faf4f8whitesmoke | #0c0409black |
| Popover foreground | #090206black | #ffffffwhite |
| Primary | #7b0e53purple | #7b0e53purple |
| Primary foreground | #f8c4e5pink | #f8c4e5pink |
| Secondary | #0e7b36forestgreen | #0e7b36forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ddeee3gainsboro | #112217black |
| Muted foreground | #525753darkslategray | #a8adaadarkgray |
| Accent | #0e7b36forestgreen | #0e7b36forestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8f2600saddlebrown | #ff5a1forangered |
| Destructive foreground | #ffd2c2peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7b0e53purple | #7b0e53purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 5.35:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 5.35:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 5.35:1 | AA |
| Muted text | 7.26:1 | AAA |
| Accent | 5.35:1 | AA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Intrepid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 338.839);
--foreground: oklch(0.12 0.032 339.643);
--muted: oklch(0.934 0.024 158.149);
--muted-foreground: oklch(0.45 0.008 158.319);
--popover: oklch(0.974 0.008 338.901);
--popover-foreground: oklch(0.105 0.027 339.06);
--card: oklch(0.974 0.008 338.901);
--card-foreground: oklch(0.105 0.027 339.06);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.393 0.154 348.479);
--primary-foreground: oklch(0.875 0.073 340.424);
--secondary: oklch(0.512 0.138 149.212);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.138 149.212);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.433 0.146 36.643);
--destructive-foreground: oklch(0.898 0.055 40.962);
--ring: oklch(0.393 0.154 348.479);
--chart-1: oklch(0.393 0.154 348.479);
--chart-2: oklch(0.512 0.138 149.212);
--chart-3: oklch(0.512 0.138 149.212);
--chart-4: oklch(0.552 0.15 149.081);
--chart-5: oklch(0.396 0.157 348.857);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.021 338.979);
--foreground: oklch(0.992 0.002 338.752);
--muted: oklch(0.234 0.032 155.192);
--muted-foreground: oklch(0.744 0.007 158.507);
--popover: oklch(0.123 0.024 339.255);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.024 339.255);
--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.393 0.154 348.479);
--primary-foreground: oklch(0.875 0.073 340.424);
--secondary: oklch(0.512 0.138 149.212);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.138 149.212);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.683 0.21 37.864);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.393 0.154 348.479);
--chart-1: oklch(0.393 0.154 348.479);
--chart-2: oklch(0.512 0.138 149.212);
--chart-3: oklch(0.512 0.138 149.212);
--chart-4: oklch(0.552 0.15 149.081);
--chart-5: oklch(0.396 0.157 348.857);
}