Concerned is a shadcn/ui theme built around a deep red primary color (#761f1e) with deep indigo accents (#1f1e76). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep red primary (#761f1e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #0e0202black | #fdfcfcsnow |
| Card | #fcf8f8snow | #030303black |
| Card foreground | #090101black | #ffffffwhite |
| Popover | #fdfcfcsnow | #000000black |
| Popover foreground | #0e0202black | #fdfcfcsnow |
| Primary | #761f1emaroon | #761f1emaroon |
| Primary foreground | #f4d3d2pink | #f4d3d2pink |
| Secondary | #1e761fforestgreen | #1e761fforestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2eee2gainsboro | #111d11black |
| Muted foreground | #3f463fdarkslategray | #b9c0b9silver |
| Accent | #1f1e76midnightblue | #1f1e76midnightblue |
| Accent foreground | #d3d2f4gainsboro | #d3d2f4gainsboro |
| Destructive | #d55810chocolate | #ee6517chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #761f1emaroon | #761f1emaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 5.70:1 | AA |
| Muted text | 8.13:1 | AAA |
| Accent | 9.51:1 | AAA |
| Destructive | 3.99:1 | AA Large |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 5.70:1 | AA |
| Muted text | 9.36:1 | AAA |
| Accent | 9.51:1 | AAA |
| Destructive | 6.50:1 | AA |
Paste this into your globals.css to use Concerned in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 18.39);
--foreground: oklch(0.114 0.03 25.084);
--muted: oklch(0.937 0.02 145.878);
--muted-foreground: oklch(0.384 0.014 145.754);
--popover: oklch(0.991 0.002 18.39);
--popover-foreground: oklch(0.114 0.03 25.084);
--card: oklch(0.982 0.004 18.419);
--card-foreground: oklch(0.099 0.026 25.038);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.382 0.122 25.84);
--primary-foreground: oklch(0.893 0.037 19.026);
--secondary: oklch(0.497 0.147 143.157);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.306 0.145 274.358);
--accent-foreground: oklch(0.875 0.046 286.168);
--destructive: oklch(0.615 0.173 43.84);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.382 0.122 25.84);
--chart-1: oklch(0.382 0.122 25.84);
--chart-2: oklch(0.497 0.147 143.157);
--chart-3: oklch(0.306 0.145 274.358);
--chart-4: oklch(0.534 0.159 143.133);
--chart-5: oklch(0.383 0.126 26.25);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 18.374);
--muted: oklch(0.215 0.028 144.902);
--muted-foreground: oklch(0.801 0.012 145.935);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 18.374);
--card: oklch(0.092 0 180);
--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.382 0.122 25.84);
--primary-foreground: oklch(0.893 0.037 19.026);
--secondary: oklch(0.497 0.147 143.157);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.306 0.145 274.358);
--accent-foreground: oklch(0.875 0.046 286.168);
--destructive: oklch(0.669 0.186 44.278);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.382 0.122 25.84);
--chart-1: oklch(0.382 0.122 25.84);
--chart-2: oklch(0.497 0.147 143.157);
--chart-3: oklch(0.306 0.145 274.358);
--chart-4: oklch(0.534 0.159 143.133);
--chart-5: oklch(0.383 0.126 26.25);
}