Sickness is a shadcn/ui theme built around a muted red primary color (#6e473f) with muted light red accents (#cdbfbc). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the muted red primary (#6e473f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #000000black |
| Foreground | #040101black | #fdfcfcsnow |
| Card | #fdf8f7snow | #000000black |
| Card foreground | #040101black | #fdfcfcsnow |
| Popover | #fdf8f7snow | #000000black |
| Popover foreground | #040101black | #fdfcfcsnow |
| Primary | #6e473fdarkolivegreen | #6e473fdarkolivegreen |
| Primary foreground | #f4edeclinen | #f4edeclinen |
| Secondary | #d7d2d1lightgrey | #1e1b1ablack |
| Secondary foreground | #3f3837darkslategray | #b9b2b1darkgray |
| Muted | #e3dad8gainsboro | #271d1cblack |
| Muted foreground | #645b59dimgray | #a69d9bdarkgray |
| Accent | #cdbfbcsilver | #322725darkslategray |
| Accent foreground | #312725darkslategray | #cdbebcsilver |
| Destructive | #951e0ebrown | #d22a14firebrick |
| Destructive foreground | #fcdedamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6e473fdarkolivegreen | #6e473fdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 4.81:1 | AA |
| Accent | 8.11:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 5.15:1 | AA |
Paste this into your globals.css to use Sickness in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 31.053);
--foreground: oklch(0.086 0.014 38.892);
--muted: oklch(0.896 0.011 31.067);
--muted-foreground: oklch(0.478 0.013 31.113);
--popover: oklch(0.983 0.005 31.053);
--popover-foreground: oklch(0.086 0.014 38.892);
--card: oklch(0.983 0.005 31.053);
--card-foreground: oklch(0.086 0.014 38.892);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.44 0.056 31.808);
--primary-foreground: oklch(0.951 0.008 31.058);
--secondary: oklch(0.866 0.006 31.055);
--secondary-foreground: oklch(0.347 0.01 31.121);
--accent: oklch(0.815 0.016 31.089);
--accent-foreground: oklch(0.285 0.016 31.253);
--destructive: oklch(0.438 0.157 31.039);
--destructive-foreground: oklch(0.923 0.034 26.724);
--ring: oklch(0.44 0.056 31.808);
--chart-1: oklch(0.44 0.056 31.808);
--chart-2: oklch(0.866 0.006 31.055);
--chart-3: oklch(0.815 0.016 31.089);
--chart-4: oklch(0.89 0.005 31.053);
--chart-5: oklch(0.44 0.062 31.948);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 31.046);
--muted: oklch(0.243 0.015 31.299);
--muted-foreground: oklch(0.703 0.011 31.079);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 31.046);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 31.046);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.44 0.056 31.808);
--primary-foreground: oklch(0.951 0.008 31.058);
--secondary: oklch(0.225 0.005 31.091);
--secondary-foreground: oklch(0.77 0.009 31.066);
--accent: oklch(0.284 0.017 31.278);
--accent-foreground: oklch(0.814 0.017 31.094);
--destructive: oklch(0.56 0.206 31.006);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.44 0.056 31.808);
--chart-1: oklch(0.44 0.056 31.808);
--chart-2: oklch(0.225 0.005 31.091);
--chart-3: oklch(0.284 0.017 31.278);
--chart-4: oklch(0.257 0.006 31.096);
--chart-5: oklch(0.44 0.062 31.948);
}