Synod is a shadcn/ui theme built around a vivid deep pink primary color (#580923) with vivid deep red accents (#581609). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid deep pink primary (#580923) on a pink-tinted background (#100508).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #100508black |
| Foreground | #16030ablack | #ffffffwhite |
| Card | #fbf4f6lavenderblush | #13060bblack |
| Card foreground | #120308black | #ffffffwhite |
| Popover | #fcf8f9snow | #100508black |
| Popover foreground | #16030ablack | #ffffffwhite |
| Primary | #580923maroon | #580923maroon |
| Primary foreground | #f59ebblightpink | #f59ebblightpink |
| Secondary | #58094bindigo | #58094bindigo |
| Secondary foreground | #f59ee7plum | #f59ee7plum |
| Muted | #f6eef5whitesmoke | #110910black |
| Muted foreground | #6d5469dimgray | #ab92a6darkgray |
| Accent | #581609maroon | #581609maroon |
| Accent foreground | #f5ac9eburlywood | #f5ac9eburlywood |
| Destructive | #6e2d07saddlebrown | #eb600fchocolate |
| Destructive foreground | #fac9aepeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #580923maroon | #580923maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.86:1 | AA |
| Text on background | 20.07:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 6.92:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.19:1 | AA |
Paste this into your globals.css to use Synod in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 354.743);
--foreground: oklch(0.144 0.039 358.388);
--muted: oklch(0.958 0.013 331.002);
--muted-foreground: oklch(0.48 0.046 332.053);
--popover: oklch(0.982 0.005 354.743);
--popover-foreground: oklch(0.144 0.039 358.388);
--card: oklch(0.973 0.008 354.823);
--card-foreground: oklch(0.131 0.035 356.363);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.303 0.111 8.421);
--primary-foreground: oklch(0.794 0.11 358.378);
--secondary: oklch(0.32 0.131 336.512);
--secondary-foreground: oklch(0.808 0.139 332.975);
--accent: oklch(0.31 0.1 33.174);
--accent-foreground: oklch(0.811 0.089 31.661);
--destructive: oklch(0.384 0.104 45.099);
--destructive-foreground: oklch(0.873 0.067 51.607);
--ring: oklch(0.303 0.111 8.421);
--chart-1: oklch(0.303 0.111 8.421);
--chart-2: oklch(0.32 0.131 336.512);
--chart-3: oklch(0.31 0.1 33.174);
--chart-4: oklch(0.354 0.146 336.65);
--chart-5: oklch(0.304 0.113 9.003);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.023 355.91);
--foreground: oklch(1 0 180);
--muted: oklch(0.153 0.02 332.471);
--muted-foreground: oklch(0.688 0.042 331.623);
--popover: oklch(0.135 0.023 355.91);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.147 0.027 357.861);
--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.303 0.111 8.421);
--primary-foreground: oklch(0.794 0.11 358.378);
--secondary: oklch(0.32 0.131 336.512);
--secondary-foreground: oklch(0.808 0.139 332.975);
--accent: oklch(0.31 0.1 33.174);
--accent-foreground: oklch(0.811 0.089 31.661);
--destructive: oklch(0.657 0.189 43.3);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.303 0.111 8.421);
--chart-1: oklch(0.303 0.111 8.421);
--chart-2: oklch(0.32 0.131 336.512);
--chart-3: oklch(0.31 0.1 33.174);
--chart-4: oklch(0.354 0.146 336.65);
--chart-5: oklch(0.304 0.113 9.003);
}