Synod is a shadcn/ui theme built around an indigo primary color (#5638cc) with green accents (#38cc56). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the indigo primary (#5638cc) on an indigo-tinted background (#05040b).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #05040bblack |
| Foreground | #060311black | #ffffffwhite |
| Card | #f9f8fcghostwhite | #05040bblack |
| Card foreground | #060311black | #ffffffwhite |
| Popover | #f9f8fcghostwhite | #05040bblack |
| Popover foreground | #060311black | #ffffffwhite |
| Primary | #5638ccslateblue | #5638ccslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cc5638chocolate | #cc5638chocolate |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5d1cdlightgrey | #321f1ablack |
| Muted foreground | #54504fdarkslategray | #b0acabdarkgray |
| Accent | #38cc56limegreen | #38cc56limegreen |
| Accent foreground | #0c2d12black | #0c2d12black |
| Destructive | #a3330asaddlebrown | #f26836tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5638ccslateblue | #5638ccslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 4.24:1 | AA Large |
| Muted text | 5.44:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 20.40:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 4.24:1 | AA Large |
| Muted text | 6.92:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 6.81:1 | AA |
Paste this into your globals.css to use Synod in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 295.481);
--foreground: oklch(0.119 0.034 292.919);
--muted: oklch(0.877 0.023 34.299);
--muted-foreground: oklch(0.435 0.005 34.3);
--popover: oklch(0.981 0.005 295.481);
--popover-foreground: oklch(0.119 0.034 292.919);
--card: oklch(0.981 0.005 295.481);
--card-foreground: oklch(0.119 0.034 292.919);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.474 0.213 283.882);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.157 35.201);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.743 0.202 146.356);
--accent-foreground: oklch(0.263 0.062 147.489);
--destructive: oklch(0.484 0.154 37.282);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.474 0.213 283.882);
--chart-1: oklch(0.474 0.213 283.882);
--chart-2: oklch(0.599 0.157 35.201);
--chart-3: oklch(0.743 0.202 146.356);
--chart-4: oklch(0.62 0.147 35.2);
--chart-5: oklch(0.47 0.221 282.977);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.021 294.658);
--foreground: oklch(1 0 180);
--muted: oklch(0.262 0.032 34.644);
--muted-foreground: oklch(0.747 0.005 34.307);
--popover: oklch(0.115 0.021 294.658);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.115 0.021 294.658);
--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.474 0.213 283.882);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.157 35.201);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.743 0.202 146.356);
--accent-foreground: oklch(0.263 0.062 147.489);
--destructive: oklch(0.681 0.182 39.363);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.474 0.213 283.882);
--chart-1: oklch(0.474 0.213 283.882);
--chart-2: oklch(0.599 0.157 35.201);
--chart-3: oklch(0.743 0.202 146.356);
--chart-4: oklch(0.62 0.147 35.2);
--chart-5: oklch(0.47 0.221 282.977);
}