Concerned is a shadcn/ui theme built around a muted purple primary color (#a898a9) with muted teal accents (#98a9a8). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the muted purple primary (#a898a9) on a purple-tinted background (#0e060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0e060eblack |
| Foreground | #000000black | #f9f6f9whitesmoke |
| Card | #fbf8fcghostwhite | #110812black |
| Card foreground | #000000black | #fbf9fbsnow |
| Popover | #fbf8fcghostwhite | #110812black |
| Popover foreground | #000000black | #fbf9fbsnow |
| Primary | #a898a9darkgray | #a898a9darkgray |
| Primary foreground | #080708black | #080708black |
| Secondary | #a9a898darkgray | #a9a898darkgray |
| Secondary foreground | #080807black | #080807black |
| Muted | #ecebdfbeige | #201f13black |
| Muted foreground | #6b6952dimgray | #adab94darkgray |
| Accent | #98a9a8darkgray | #98a9a8darkgray |
| Accent foreground | #070808black | #070808black |
| Destructive | #972407saddlebrown | #f43a0borangered |
| Destructive foreground | #fddcd3antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a898a9darkgray | #a898a9darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 4.66:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Concerned in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 323.651);
--foreground: oklch(0 0 0);
--muted: oklch(0.939 0.017 103.408);
--muted-foreground: oklch(0.516 0.035 104.148);
--popover: oklch(0.983 0.006 323.667);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.006 323.667);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.699 0.03 323.858);
--primary-foreground: oklch(0.131 0.004 323.905);
--secondary: oklch(0.728 0.022 103.607);
--secondary-foreground: oklch(0.135 0.003 103.669);
--accent: oklch(0.722 0.019 191.874);
--accent-foreground: oklch(0.134 0.003 192.222);
--destructive: oklch(0.446 0.155 33.865);
--destructive-foreground: oklch(0.919 0.039 34.318);
--ring: oklch(0.699 0.03 323.858);
--chart-1: oklch(0.699 0.03 323.858);
--chart-2: oklch(0.728 0.022 103.607);
--chart-3: oklch(0.722 0.019 191.874);
--chart-4: oklch(0.751 0.02 103.551);
--chart-5: oklch(0.697 0.04 323.931);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.023 324.573);
--foreground: oklch(0.976 0.006 323.665);
--muted: oklch(0.238 0.023 104.542);
--muted-foreground: oklch(0.737 0.032 103.803);
--popover: oklch(0.152 0.027 324.509);
--popover-foreground: oklch(0.984 0.004 323.655);
--card: oklch(0.152 0.027 324.509);
--card-foreground: oklch(0.984 0.004 323.655);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.699 0.03 323.858);
--primary-foreground: oklch(0.131 0.004 323.905);
--secondary: oklch(0.728 0.022 103.607);
--secondary-foreground: oklch(0.135 0.003 103.669);
--accent: oklch(0.722 0.019 191.874);
--accent-foreground: oklch(0.134 0.003 192.222);
--destructive: oklch(0.631 0.226 33.355);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.03 323.858);
--chart-1: oklch(0.699 0.03 323.858);
--chart-2: oklch(0.728 0.022 103.607);
--chart-3: oklch(0.722 0.019 191.874);
--chart-4: oklch(0.751 0.02 103.551);
--chart-5: oklch(0.697 0.04 323.931);
}