Strong is a shadcn/ui theme built around a vivid deep red primary color (#3c0109) with vivid deep blue accents (#01093c). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid deep red primary (#3c0109) on a red-tinted background (#0e0708).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #0e0708black |
| Foreground | #120204black | #fdfcfcsnow |
| Card | #fdf7f8snow | #0e0708black |
| Card foreground | #120204black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #0e0708black |
| Popover foreground | #120204black | #fdfcfcsnow |
| Primary | #3c0109black | #3c0109black |
| Primary foreground | #fd7285lightcoral | #fd7285lightcoral |
| Secondary | #093c01darkgreen | #093c01darkgreen |
| Secondary foreground | #2efb0elime | #2efb0elime |
| Muted | #eaf2e9honeydew | #0f160dblack |
| Muted foreground | #485946darkslategray | #a9b9a6darkgray |
| Accent | #01093cmidnightblue | #01093cmidnightblue |
| Accent foreground | #d7dcfelavender | #d7dcfelavender |
| Destructive | #891e0bdarkred | #ed4426orangered |
| Destructive foreground | #fbd2cbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c0109black | #3c0109black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 8.96:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 14.07:1 | AAA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 8.96:1 | AAA |
| Muted text | 8.90:1 | AAA |
| Accent | 14.07:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Strong in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 7.895);
--foreground: oklch(0.128 0.036 10.952);
--muted: oklch(0.952 0.014 141.55);
--muted-foreground: oklch(0.442 0.037 141.36);
--popover: oklch(0.981 0.006 7.895);
--popover-foreground: oklch(0.128 0.036 10.952);
--card: oklch(0.981 0.006 7.895);
--card-foreground: oklch(0.128 0.036 10.952);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.227 0.089 20.351);
--primary-foreground: oklch(0.724 0.169 14.124);
--secondary: oklch(0.312 0.101 140.96);
--secondary-foreground: oklch(0.86 0.286 141.836);
--accent: oklch(0.182 0.098 264.658);
--accent-foreground: oklch(0.901 0.047 278.495);
--destructive: oklch(0.414 0.145 32.212);
--destructive-foreground: oklch(0.897 0.047 29.743);
--ring: oklch(0.227 0.089 20.351);
--chart-1: oklch(0.227 0.089 20.351);
--chart-2: oklch(0.312 0.101 140.96);
--chart-3: oklch(0.182 0.098 264.658);
--chart-4: oklch(0.361 0.118 141.264);
--chart-5: oklch(0.228 0.092 20.634);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 8.859);
--foreground: oklch(0.992 0.001 7.771);
--muted: oklch(0.19 0.021 141.285);
--muted-foreground: oklch(0.769 0.032 141.474);
--popover: oklch(0.138 0.014 8.859);
--popover-foreground: oklch(0.992 0.001 7.771);
--card: oklch(0.138 0.014 8.859);
--card-foreground: oklch(0.992 0.001 7.771);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.227 0.089 20.351);
--primary-foreground: oklch(0.724 0.169 14.124);
--secondary: oklch(0.312 0.101 140.96);
--secondary-foreground: oklch(0.86 0.286 141.836);
--accent: oklch(0.182 0.098 264.658);
--accent-foreground: oklch(0.901 0.047 278.495);
--destructive: oklch(0.631 0.211 32.356);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.227 0.089 20.351);
--chart-1: oklch(0.227 0.089 20.351);
--chart-2: oklch(0.312 0.101 140.96);
--chart-3: oklch(0.182 0.098 264.658);
--chart-4: oklch(0.361 0.118 141.264);
--chart-5: oklch(0.228 0.092 20.634);
}