Content is a shadcn/ui theme built around a deep red primary color (#410f0c) with deep teal accents (#0c3d41). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the deep red primary (#410f0c) on a red-tinted background (#100605).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #100605black |
| Foreground | #120302black | #f8f6f6whitesmoke |
| Card | #fcf4f3lavenderblush | #140706black |
| Card foreground | #0e0302black | #fbf9f9snow |
| Popover | #fcf4f3lavenderblush | #140706black |
| Popover foreground | #0e0302black | #fbf9f9snow |
| Primary | #410f0cmaroon | #410f0cmaroon |
| Primary foreground | #eb9993darksalmon | #eb9993darksalmon |
| Secondary | #0c3d41darkslategray | #0c3d41darkslategray |
| Secondary foreground | #3dd1dbmediumturquoise | #3dd1dbmediumturquoise |
| Muted | #dfe2e2gainsboro | #1d2020black |
| Muted foreground | #404e4fdarkslategray | #b0bebfsilver |
| Accent | #0c3d41darkslategray | #0c3d41darkslategray |
| Accent foreground | #3dd1dbmediumturquoise | #3dd1dbmediumturquoise |
| Destructive | #973b11saddlebrown | #e8672cchocolate |
| Destructive foreground | #fbe8dfmistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #410f0cmaroon | #410f0cmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 6.64:1 | AA |
| Accent | 6.44:1 | AA |
| Destructive | 5.96:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 8.57:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Content in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 22.28);
--foreground: oklch(0.131 0.032 29.541);
--muted: oklch(0.91 0.003 202.178);
--muted-foreground: oklch(0.411 0.017 201.821);
--popover: oklch(0.972 0.009 22.315);
--popover-foreground: oklch(0.117 0.027 29.814);
--card: oklch(0.972 0.009 22.315);
--card-foreground: oklch(0.117 0.027 29.814);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.255 0.077 27.914);
--primary-foreground: oklch(0.764 0.1 24.125);
--secondary: oklch(0.331 0.05 202.112);
--secondary-foreground: oklch(0.789 0.121 202.143);
--accent: oklch(0.331 0.05 202.112);
--accent-foreground: oklch(0.789 0.121 202.143);
--destructive: oklch(0.475 0.134 41.612);
--destructive-foreground: oklch(0.944 0.025 46.578);
--ring: oklch(0.255 0.077 27.914);
--chart-1: oklch(0.255 0.077 27.914);
--chart-2: oklch(0.331 0.05 202.112);
--chart-3: oklch(0.331 0.05 202.112);
--chart-4: oklch(0.373 0.058 202.202);
--chart-5: oklch(0.256 0.08 28.167);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.021 26.096);
--foreground: oklch(0.976 0.002 22.239);
--muted: oklch(0.24 0.004 202.03);
--muted-foreground: oklch(0.791 0.015 202.021);
--popover: oklch(0.148 0.024 25.822);
--popover-foreground: oklch(0.984 0.001 22.231);
--card: oklch(0.148 0.024 25.822);
--card-foreground: oklch(0.984 0.001 22.231);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.255 0.077 27.914);
--primary-foreground: oklch(0.764 0.1 24.125);
--secondary: oklch(0.331 0.05 202.112);
--secondary-foreground: oklch(0.789 0.121 202.143);
--accent: oklch(0.331 0.05 202.112);
--accent-foreground: oklch(0.789 0.121 202.143);
--destructive: oklch(0.664 0.174 42.642);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.255 0.077 27.914);
--chart-1: oklch(0.255 0.077 27.914);
--chart-2: oklch(0.331 0.05 202.112);
--chart-3: oklch(0.331 0.05 202.112);
--chart-4: oklch(0.373 0.058 202.202);
--chart-5: oklch(0.256 0.08 28.167);
}