Well-informed is a shadcn/ui theme built around a vivid deep pink primary color (#630d28) with vivid deep red accents (#631d0d). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the vivid deep pink primary (#630d28) on a pink-tinted background (#0b0507).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfcsnow | #0b0507black |
| Foreground | #100408black | #ffffffwhite |
| Card | #fdfbfcsnow | #0b0507black |
| Card foreground | #100408black | #ffffffwhite |
| Popover | #fdfbfcsnow | #0b0507black |
| Popover foreground | #100408black | #ffffffwhite |
| Primary | #630d28maroon | #630d28maroon |
| Primary foreground | #f4aec4lightpink | #f4aec4lightpink |
| Secondary | #630d53indigo | #630d53indigo |
| Secondary foreground | #f4aee7plum | #f4aee7plum |
| Muted | #e6d6e3gainsboro | #291926black |
| Muted foreground | #685063dimgray | #af97abdarkgray |
| Accent | #631d0dmaroon | #631d0dmaroon |
| Accent foreground | #f4bbaelightpink | #f4bbaelightpink |
| Destructive | #bc4a15sienna | #eb7b47coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #630d28maroon | #630d28maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.61:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 5.16:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 5.08:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 7.44:1 | AAA |
Paste this into your globals.css to use Well-informed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 355.68);
--foreground: oklch(0.133 0.027 357.097);
--muted: oklch(0.892 0.025 331.793);
--muted-foreground: oklch(0.462 0.043 332.678);
--popover: oklch(0.991 0.002 355.68);
--popover-foreground: oklch(0.133 0.027 357.097);
--card: oklch(0.991 0.002 355.68);
--card-foreground: oklch(0.133 0.027 357.097);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.329 0.118 8.824);
--primary-foreground: oklch(0.823 0.086 358.481);
--secondary: oklch(0.348 0.139 337.201);
--secondary-foreground: oklch(0.835 0.109 333.149);
--accent: oklch(0.34 0.104 34.058);
--accent-foreground: oklch(0.84 0.069 32.917);
--destructive: oklch(0.555 0.159 41.286);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.329 0.118 8.824);
--chart-1: oklch(0.329 0.118 8.824);
--chart-2: oklch(0.348 0.139 337.201);
--chart-3: oklch(0.34 0.104 34.058);
--chart-4: oklch(0.379 0.153 337.314);
--chart-5: oklch(0.331 0.121 9.467);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 355.433);
--foreground: oklch(1 0 180);
--muted: oklch(0.24 0.034 333.28);
--muted-foreground: oklch(0.705 0.039 332.173);
--popover: oklch(0.125 0.014 355.433);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.014 355.433);
--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.329 0.118 8.824);
--primary-foreground: oklch(0.823 0.086 358.481);
--secondary: oklch(0.348 0.139 337.201);
--secondary-foreground: oklch(0.835 0.109 333.149);
--accent: oklch(0.34 0.104 34.058);
--accent-foreground: oklch(0.84 0.069 32.917);
--destructive: oklch(0.7 0.153 44.209);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.329 0.118 8.824);
--chart-1: oklch(0.329 0.118 8.824);
--chart-2: oklch(0.348 0.139 337.201);
--chart-3: oklch(0.34 0.104 34.058);
--chart-4: oklch(0.379 0.153 337.314);
--chart-5: oklch(0.331 0.121 9.467);
}