Sunday is a shadcn/ui theme built around a muted deep red primary color (#251e1d) with muted deep cyan accents (#1d2425). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#251e1d) on a red-tinted background (#0b0504).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0504black |
| Foreground | #040101black | #f9f6f6whitesmoke |
| Card | #fcfcfcsnow | #0f0606black |
| Card foreground | #000000black | #fbf9f9snow |
| Popover | #ffffffwhite | #0b0504black |
| Popover foreground | #040101black | #f9f6f6whitesmoke |
| Primary | #251e1dblack | #251e1dblack |
| Primary foreground | #c2b4b2silver | #c2b4b2silver |
| Secondary | #1d2425black | #1d2425black |
| Secondary foreground | #b2c1c2silver | #b2c1c2silver |
| Muted | #e2e8e9lavender | #161c1dblack |
| Muted foreground | #3e4142darkslategray | #bdc1c1silver |
| Accent | #1d2425black | #1d2425black |
| Accent foreground | #b2c1c2silver | #b2c1c2silver |
| Destructive | #92130cdarkred | #d91c12firebrick |
| Destructive foreground | #fcd6d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #251e1dblack | #251e1dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 8.31:1 | AAA |
| Accent | 8.45:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 9.49:1 | AAA |
| Accent | 8.45:1 | AAA |
| Destructive | 5.09:1 | AA |
Paste this into your globals.css to use Sunday in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.013 30.194);
--muted: oklch(0.927 0.006 204.941);
--muted-foreground: oklch(0.373 0.005 204.898);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.085 0.013 30.194);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.243 0.011 25.436);
--primary-foreground: oklch(0.78 0.017 25.183);
--secondary: oklch(0.255 0.01 204.744);
--secondary-foreground: oklch(0.799 0.017 204.845);
--accent: oklch(0.255 0.01 204.744);
--accent-foreground: oklch(0.799 0.017 204.845);
--destructive: oklch(0.424 0.162 29.227);
--destructive-foreground: oklch(0.908 0.042 21.516);
--ring: oklch(0.243 0.011 25.436);
--chart-1: oklch(0.243 0.011 25.436);
--chart-2: oklch(0.255 0.01 204.744);
--chart-3: oklch(0.255 0.01 204.744);
--chart-4: oklch(0.288 0.012 204.735);
--chart-5: oklch(0.242 0.014 25.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 28.796);
--foreground: oklch(0.976 0.003 25.012);
--muted: oklch(0.221 0.008 204.757);
--muted-foreground: oklch(0.808 0.004 204.953);
--popover: oklch(0.125 0.014 28.796);
--popover-foreground: oklch(0.976 0.003 25.012);
--card: oklch(0.138 0.017 28.344);
--card-foreground: oklch(0.984 0.002 25.004);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.243 0.011 25.436);
--primary-foreground: oklch(0.78 0.017 25.183);
--secondary: oklch(0.255 0.01 204.744);
--secondary-foreground: oklch(0.799 0.017 204.845);
--accent: oklch(0.255 0.01 204.744);
--accent-foreground: oklch(0.799 0.017 204.845);
--destructive: oklch(0.565 0.22 29.373);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.243 0.011 25.436);
--chart-1: oklch(0.243 0.011 25.436);
--chart-2: oklch(0.255 0.01 204.744);
--chart-3: oklch(0.255 0.01 204.744);
--chart-4: oklch(0.288 0.012 204.735);
--chart-5: oklch(0.242 0.014 25.578);
}