Strong is a shadcn/ui theme built around a vivid pink primary color (#f13b87) with neutral gray accents (#cfc9cc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#f13b87) on a pink-tinted background (#0c0307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0307black |
| Foreground | #0e0207black | #fbf9fasnow |
| Card | #fcfcfcsnow | #100509black |
| Card foreground | #090104black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #100509black |
| Popover foreground | #090104black | #fdfcfcsnow |
| Primary | #f13b87deeppink | #f13b87deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cfc9cclightgrey | #2d2528darkslategray |
| Secondary foreground | #363033darkslategray | #c8bcc1silver |
| Muted | #e1d1d7gainsboro | #2e1e25darkslategray |
| Muted foreground | #4b494adarkslategray | #b6b4b5silver |
| Accent | #cfc9cclightgrey | #2d2528darkslategray |
| Accent foreground | #363033darkslategray | #c8bcc1silver |
| Destructive | #d45911chocolate | #d95b12chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f13b87deeppink | #f13b87deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.37:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 3.65:1 | AA Large |
| Secondary button | 7.92:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 4.01:1 | AA Large |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 3.65:1 | AA Large |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.64:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Strong in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.034 349.846);
--muted: oklch(0.875 0.02 350.298);
--muted-foreground: oklch(0.408 0.002 349.822);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.101 0.03 349.117);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.101 0.03 349.117);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.648 0.223 0.691);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.842 0.006 349.881);
--secondary-foreground: oklch(0.317 0.008 350.378);
--accent: oklch(0.842 0.006 349.881);
--accent-foreground: oklch(0.317 0.008 350.378);
--destructive: oklch(0.613 0.172 44.031);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.648 0.223 0.691);
--chart-1: oklch(0.648 0.223 0.691);
--chart-2: oklch(0.842 0.006 349.881);
--chart-3: oklch(0.842 0.006 349.881);
--chart-4: oklch(0.866 0.005 349.844);
--chart-5: oklch(0.651 0.228 1.137);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.022 349.58);
--foreground: oklch(0.984 0.002 349.737);
--muted: oklch(0.259 0.027 352.469);
--muted-foreground: oklch(0.772 0.002 349.739);
--popover: oklch(0.135 0.025 351.249);
--popover-foreground: oklch(0.992 0.001 349.703);
--card: oklch(0.135 0.025 351.249);
--card-foreground: oklch(0.992 0.001 349.703);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.648 0.223 0.691);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.274 0.014 351.016);
--secondary-foreground: oklch(0.806 0.015 350.202);
--accent: oklch(0.274 0.014 351.016);
--accent-foreground: oklch(0.806 0.015 350.202);
--destructive: oklch(0.623 0.175 43.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.648 0.223 0.691);
--chart-1: oklch(0.648 0.223 0.691);
--chart-2: oklch(0.274 0.014 351.016);
--chart-3: oklch(0.274 0.014 351.016);
--chart-4: oklch(0.304 0.016 351.073);
--chart-5: oklch(0.651 0.228 1.137);
}