Harpooner is a shadcn/ui theme built around a blue primary color (#3d5f99) with indigo accents (#493d99). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#3d5f99) on a blue-tinted background (#06090f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #06090fblack |
| Foreground | #010409black | #f8f9fcghostwhite |
| Card | #f7f9fdghostwhite | #070b13black |
| Card foreground | #010205black | #fbfcfdwhite |
| Popover | #f7f9fdghostwhite | #070b13black |
| Popover foreground | #010205black | #fbfcfdwhite |
| Primary | #3d5f99darkslateblue | #3d5f99darkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3d8d99steelblue | #3d8d99steelblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #cee5e9gainsboro | #162d31darkslategray |
| Muted foreground | #4d5556darkslategray | #a9b1b2darkgray |
| Accent | #493d99darkslateblue | #493d99darkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b90909firebrick | #f52929crimson |
| Destructive foreground | #fff5f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3d5f99darkslateblue | #3d5f99darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 3.84:1 | AA Large |
| Muted text | 5.82:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 18.94:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 3.84:1 | AA Large |
| Muted text | 6.58:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Harpooner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 261.513);
--foreground: oklch(0.104 0.02 249.109);
--muted: oklch(0.906 0.025 207.846);
--muted-foreground: oklch(0.443 0.011 207.851);
--popover: oklch(0.982 0.006 261.512);
--popover-foreground: oklch(0.083 0.016 249.109);
--card: oklch(0.982 0.006 261.512);
--card-foreground: oklch(0.083 0.016 249.109);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.487 0.102 260.701);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.079 208.937);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.426 0.145 284.519);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.496 0.2 28.799);
--destructive-foreground: oklch(0.978 0.01 17.327);
--ring: oklch(0.487 0.102 260.701);
--chart-1: oklch(0.487 0.102 260.701);
--chart-2: oklch(0.599 0.079 208.937);
--chart-3: oklch(0.426 0.145 284.519);
--chart-4: oklch(0.629 0.084 208.958);
--chart-5: oklch(0.486 0.109 260.646);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.015 257.201);
--foreground: oklch(0.983 0.004 261.513);
--muted: oklch(0.282 0.03 208.269);
--muted-foreground: oklch(0.754 0.01 207.882);
--popover: oklch(0.15 0.018 259.624);
--popover-foreground: oklch(0.991 0.002 261.514);
--card: oklch(0.15 0.018 259.624);
--card-foreground: oklch(0.991 0.002 261.514);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.487 0.102 260.701);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.079 208.937);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.426 0.145 284.519);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.624 0.235 27.515);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.487 0.102 260.701);
--chart-1: oklch(0.487 0.102 260.701);
--chart-2: oklch(0.599 0.079 208.937);
--chart-3: oklch(0.426 0.145 284.519);
--chart-4: oklch(0.629 0.084 208.958);
--chart-5: oklch(0.486 0.109 260.646);
}