Sunday is a shadcn/ui theme built around a vivid deep yellow primary color (#221802) with vivid deep green accents (#1c2202). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep yellow primary (#221802) on a yellow-tinted background (#100d04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100d04black |
| Foreground | #100c05black | #ffffffwhite |
| Card | #ffffffwhite | #100d04black |
| Card foreground | #100c05black | #ffffffwhite |
| Popover | #ffffffwhite | #100d04black |
| Popover foreground | #100c05black | #ffffffwhite |
| Primary | #221802black | #221802black |
| Primary foreground | #e5a30bgoldenrod | #e5a30bgoldenrod |
| Secondary | #220802black | #220802black |
| Secondary foreground | #f77d5ecoral | #f77d5ecoral |
| Muted | #e1d8d6gainsboro | #29201eblack |
| Muted foreground | #524947darkslategray | #b8afaddarkgray |
| Accent | #1c2202black | #1c2202black |
| Accent foreground | #b9e50bgreenyellow | #b9e50bgreenyellow |
| Destructive | #811f09maroon | #ee3911orangered |
| Destructive foreground | #fbccc1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #221802black | #221802black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 6.23:1 | AA |
| Accent | 11.16:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 7.37:1 | AAA |
| Accent | 11.16:1 | AAA |
| Destructive | 4.00:1 | AA Large |
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.158 0.018 89.887);
--muted: oklch(0.889 0.01 34.301);
--muted-foreground: oklch(0.414 0.012 34.301);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.018 89.887);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0.018 89.887);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.217 0.041 87.031);
--primary-foreground: oklch(0.76 0.156 79.431);
--secondary: oklch(0.178 0.048 40.787);
--secondary-foreground: oklch(0.724 0.157 35.145);
--accent: oklch(0.238 0.054 119.948);
--accent-foreground: oklch(0.86 0.208 122.539);
--destructive: oklch(0.399 0.136 33.528);
--destructive-foreground: oklch(0.882 0.056 32.817);
--ring: oklch(0.217 0.041 87.031);
--chart-1: oklch(0.217 0.041 87.031);
--chart-2: oklch(0.178 0.048 40.787);
--chart-3: oklch(0.238 0.054 119.948);
--chart-4: oklch(0.215 0.064 37.748);
--chart-5: oklch(0.218 0.043 87.043);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.02 90.069);
--foreground: oklch(1 0 180);
--muted: oklch(0.255 0.014 34.345);
--muted-foreground: oklch(0.761 0.01 34.299);
--popover: oklch(0.159 0.02 90.069);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.02 90.069);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.217 0.041 87.031);
--primary-foreground: oklch(0.76 0.156 79.431);
--secondary: oklch(0.178 0.048 40.787);
--secondary-foreground: oklch(0.724 0.157 35.145);
--accent: oklch(0.238 0.054 119.948);
--accent-foreground: oklch(0.86 0.208 122.539);
--destructive: oklch(0.622 0.222 33.059);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.217 0.041 87.031);
--chart-1: oklch(0.217 0.041 87.031);
--chart-2: oklch(0.178 0.048 40.787);
--chart-3: oklch(0.238 0.054 119.948);
--chart-4: oklch(0.215 0.064 37.748);
--chart-5: oklch(0.218 0.043 87.043);
}