Synod is a shadcn/ui theme built around a red primary color (#cfaaa5) with cyan accents (#a5cacf). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#cfaaa5) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #080303black | #fdfcfcsnow |
| Card | #ffffffwhite | #040201black |
| Card foreground | #080303black | #fdfcfcsnow |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #080303black | #fdfcfcsnow |
| Primary | #cfaaa5tan | #cfaaa5tan |
| Primary foreground | #2b1a17black | #2b1a17black |
| Secondary | #a5cacflightsteelblue | #a5cacflightsteelblue |
| Secondary foreground | #17292bdarkslategray | #17292bdarkslategray |
| Muted | #e5eff0lavender | #0f191ablack |
| Muted foreground | #585f5fdimgray | #a0a6a7darkgray |
| Accent | #a5cacflightsteelblue | #a5cacflightsteelblue |
| Accent foreground | #17292bdarkslategray | #17292bdarkslategray |
| Destructive | #8e2806saddlebrown | #eb420aorangered |
| Destructive foreground | #fdd6c9bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cfaaa5tan | #cfaaa5tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 8.61:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 8.61:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Synod in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.109 0.013 31);
--muted: oklch(0.945 0.011 206.374);
--muted-foreground: oklch(0.479 0.008 206.346);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.109 0.013 31);
--card: oklch(1 0 180);
--card-foreground: oklch(0.109 0.013 31);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.77 0.043 26.919);
--primary-foreground: oklch(0.238 0.029 27.701);
--secondary: oklch(0.814 0.039 206.257);
--secondary-foreground: oklch(0.266 0.024 206.369);
--accent: oklch(0.814 0.039 206.257);
--accent-foreground: oklch(0.266 0.024 206.369);
--destructive: oklch(0.433 0.143 36.253);
--destructive-foreground: oklch(0.906 0.047 39.28);
--ring: oklch(0.77 0.043 26.919);
--chart-1: oklch(0.77 0.043 26.919);
--chart-2: oklch(0.814 0.039 206.257);
--chart-3: oklch(0.814 0.039 206.257);
--chart-4: oklch(0.835 0.035 206.266);
--chart-5: oklch(0.769 0.048 26.982);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 30.752);
--foreground: oklch(0.992 0.001 26.45);
--muted: oklch(0.203 0.015 206.287);
--muted-foreground: oklch(0.72 0.008 206.38);
--popover: oklch(0.086 0.01 30.752);
--popover-foreground: oklch(0.992 0.001 26.45);
--card: oklch(0.086 0.01 30.752);
--card-foreground: oklch(0.992 0.001 26.45);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.77 0.043 26.919);
--primary-foreground: oklch(0.238 0.029 27.701);
--secondary: oklch(0.814 0.039 206.257);
--secondary-foreground: oklch(0.266 0.024 206.369);
--accent: oklch(0.814 0.039 206.257);
--accent-foreground: oklch(0.266 0.024 206.369);
--destructive: oklch(0.624 0.213 35.437);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.77 0.043 26.919);
--chart-1: oklch(0.77 0.043 26.919);
--chart-2: oklch(0.814 0.039 206.257);
--chart-3: oklch(0.814 0.039 206.257);
--chart-4: oklch(0.835 0.035 206.266);
--chart-5: oklch(0.769 0.048 26.982);
}