Belated is a shadcn/ui theme built around a red primary color (#c27861) with yellow accents (#c2a861). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c27861) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #080302black | #fdfcfcsnow |
| Card | #ffffffwhite | #070403black |
| Card foreground | #080302black | #fdfcfcsnow |
| Popover | #ffffffwhite | #070403black |
| Popover foreground | #080302black | #fdfcfcsnow |
| Primary | #c27861indianred | #c27861indianred |
| Primary foreground | #000000black | #000000black |
| Secondary | #c2617bindianred | #c2617bindianred |
| Secondary foreground | #000000black | #000000black |
| Muted | #e9e7e8lavender | #181616black |
| Muted foreground | #444041darkslategray | #bfbbbcsilver |
| Accent | #c2a861darkkhaki | #c2a861darkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #d83103orangered | #ec3604orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c27861indianred | #c27861indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 5.28:1 | AA |
| Muted text | 8.29:1 | AAA |
| Accent | 9.04:1 | AAA |
| Destructive | 4.80:1 | AA |
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 5.28:1 | AA |
| Muted text | 9.49:1 | AAA |
| Accent | 9.04:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Belated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.111 0.014 45.458);
--muted: oklch(0.93 0.003 358.864);
--muted-foreground: oklch(0.377 0.006 359.211);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.111 0.014 45.458);
--card: oklch(1 0 180);
--card-foreground: oklch(0.111 0.014 45.458);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.645 0.099 37.696);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.614 0.126 4.576);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.738 0.095 90.008);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.576 0.207 33.639);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.099 37.696);
--chart-1: oklch(0.645 0.099 37.696);
--chart-2: oklch(0.614 0.126 4.576);
--chart-3: oklch(0.738 0.095 90.008);
--chart-4: oklch(0.64 0.116 3.847);
--chart-5: oklch(0.646 0.106 37.707);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.01 42.759);
--foreground: oklch(0.992 0.001 37.74);
--muted: oklch(0.202 0.004 359.32);
--muted-foreground: oklch(0.795 0.005 358.952);
--popover: oklch(0.113 0.01 42.759);
--popover-foreground: oklch(0.992 0.001 37.74);
--card: oklch(0.113 0.01 42.759);
--card-foreground: oklch(0.992 0.001 37.74);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.645 0.099 37.696);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.614 0.126 4.576);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.738 0.095 90.008);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.615 0.222 33.511);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.099 37.696);
--chart-1: oklch(0.645 0.099 37.696);
--chart-2: oklch(0.614 0.126 4.576);
--chart-3: oklch(0.738 0.095 90.008);
--chart-4: oklch(0.64 0.116 3.847);
--chart-5: oklch(0.646 0.106 37.707);
}