Belated is a shadcn/ui theme built around a light orange primary color (#e4baa5) with light violet accents (#baa5e4). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the light orange primary (#e4baa5) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #070403black |
| Foreground | #0e0602black | #fbfaf9snow |
| Card | #fcf6f3floralwhite | #0b0604black |
| Card foreground | #090401black | #fdfcfcsnow |
| Popover | #fdf9f7snow | #070403black |
| Popover foreground | #0e0602black | #fbfaf9snow |
| Primary | #e4baa5burlywood | #e4baa5burlywood |
| Primary foreground | #432414maroon | #432414maroon |
| Secondary | #a5e4bapalegreen | #a5e4bapalegreen |
| Secondary foreground | #144324darkslategray | #144324darkslategray |
| Muted | #d5e1d9gainsboro | #1e2a22darkslategray |
| Muted foreground | #3d423fdarkslategray | #bdc2besilver |
| Accent | #baa5e4lightsteelblue | #baa5e4lightsteelblue |
| Accent foreground | #241443midnightblue | #241443midnightblue |
| Destructive | #b30f09firebrick | #e9140cred |
| Destructive foreground | #fef1f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4baa5burlywood | #e4baa5burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.63:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.61:1 | AA |
Paste this into your globals.css to use Belated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 48.686);
--foreground: oklch(0.131 0.022 60.035);
--muted: oklch(0.899 0.017 156.877);
--muted-foreground: oklch(0.374 0.009 156.776);
--popover: oklch(0.984 0.005 48.686);
--popover-foreground: oklch(0.131 0.022 60.035);
--card: oklch(0.976 0.008 48.654);
--card-foreground: oklch(0.114 0.019 61.133);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.82 0.057 48.006);
--primary-foreground: oklch(0.296 0.054 46.478);
--secondary: oklch(0.865 0.087 155.007);
--secondary-foreground: oklch(0.341 0.074 151.286);
--accent: oklch(0.761 0.092 299.508);
--accent-foreground: oklch(0.242 0.084 294.615);
--destructive: oklch(0.487 0.193 29.169);
--destructive-foreground: oklch(0.968 0.014 19.816);
--ring: oklch(0.82 0.057 48.006);
--chart-1: oklch(0.82 0.057 48.006);
--chart-2: oklch(0.865 0.087 155.007);
--chart-3: oklch(0.761 0.092 299.508);
--chart-4: oklch(0.882 0.076 155.371);
--chart-5: oklch(0.82 0.06 47.968);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.011 55.443);
--foreground: oklch(0.985 0.001 48.733);
--muted: oklch(0.27 0.022 155.435);
--muted-foreground: oklch(0.808 0.007 157.08);
--popover: oklch(0.115 0.011 55.443);
--popover-foreground: oklch(0.985 0.001 48.733);
--card: oklch(0.131 0.012 55.237);
--card-foreground: oklch(0.992 0.001 48.742);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.82 0.057 48.006);
--primary-foreground: oklch(0.296 0.054 46.478);
--secondary: oklch(0.865 0.087 155.007);
--secondary-foreground: oklch(0.341 0.074 151.286);
--accent: oklch(0.761 0.092 299.508);
--accent-foreground: oklch(0.242 0.084 294.615);
--destructive: oklch(0.59 0.236 29.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.057 48.006);
--chart-1: oklch(0.82 0.057 48.006);
--chart-2: oklch(0.865 0.087 155.007);
--chart-3: oklch(0.761 0.092 299.508);
--chart-4: oklch(0.882 0.076 155.371);
--chart-5: oklch(0.82 0.06 47.968);
}