Concerned is a shadcn/ui theme built around a muted deep red primary color (#4a3a3e) with muted deep orange accents (#4a3f3a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#4a3a3e) on a neutral background (#070404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070404black |
| Foreground | #0b0406black | #fcf8f9snow |
| Card | #fcfcfcsnow | #0a0506black |
| Card foreground | #080304black | #fdfbfcsnow |
| Popover | #ffffffwhite | #070404black |
| Popover foreground | #0b0406black | #fcf8f9snow |
| Primary | #4a3a3edarkslategray | #4a3a3edarkslategray |
| Primary foreground | #e0d7d9gainsboro | #e0d7d9gainsboro |
| Secondary | #4a3a46darkslategray | #4a3a46darkslategray |
| Secondary foreground | #e0d7ddgainsboro | #e0d7ddgainsboro |
| Muted | #f1e9efwhitesmoke | #160e14black |
| Muted foreground | #676566dimgray | #9a9899darkgray |
| Accent | #4a3f3adarkslategray | #4a3f3adarkslategray |
| Accent foreground | #e0d9d7gainsboro | #e0d9d7gainsboro |
| Destructive | #880b02darkred | #fb2718orangered |
| Destructive foreground | #fec2belightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a3a3edarkslategray | #4a3a3edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 4.87:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.62:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Concerned in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.019 1.107);
--muted: oklch(0.943 0.011 334.728);
--muted-foreground: oklch(0.509 0.003 334.646);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.019 1.107);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.106 0.016 0.978);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.368 0.023 2.664);
--primary-foreground: oklch(0.887 0.01 1.267);
--secondary: oklch(0.371 0.029 335.842);
--secondary-foreground: oklch(0.888 0.013 334.774);
--accent: oklch(0.377 0.018 41.018);
--accent-foreground: oklch(0.891 0.008 41.238);
--destructive: oklch(0.398 0.156 30.147);
--destructive-foreground: oklch(0.867 0.07 23.283);
--ring: oklch(0.368 0.023 2.664);
--chart-1: oklch(0.368 0.023 2.664);
--chart-2: oklch(0.371 0.029 335.842);
--chart-3: oklch(0.377 0.018 41.018);
--chart-4: oklch(0.399 0.032 335.866);
--chart-5: oklch(0.366 0.029 3.112);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.009 0.97);
--foreground: oklch(0.982 0.004 1.083);
--muted: oklch(0.177 0.017 336.083);
--muted-foreground: oklch(0.682 0.003 334.61);
--popover: oklch(0.11 0.009 0.97);
--popover-foreground: oklch(0.982 0.004 1.083);
--card: oklch(0.126 0.011 0.97);
--card-foreground: oklch(0.991 0.002 1.021);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.368 0.023 2.664);
--primary-foreground: oklch(0.887 0.01 1.267);
--secondary: oklch(0.371 0.029 335.842);
--secondary-foreground: oklch(0.888 0.013 334.774);
--accent: oklch(0.377 0.018 41.018);
--accent-foreground: oklch(0.891 0.008 41.238);
--destructive: oklch(0.634 0.243 29.694);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.368 0.023 2.664);
--chart-1: oklch(0.368 0.023 2.664);
--chart-2: oklch(0.371 0.029 335.842);
--chart-3: oklch(0.377 0.018 41.018);
--chart-4: oklch(0.399 0.032 335.866);
--chart-5: oklch(0.366 0.029 3.112);
}