Syndrome is a shadcn/ui theme built around a deep violet primary color (#150f2a) with deep purple accents (#230f2a). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the deep violet primary (#150f2a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #000000black |
| Foreground | #090415black | #faf9fasnow |
| Card | #f5f3fcghostwhite | #030303black |
| Card foreground | #070411black | #fcfcfdwhite |
| Popover | #f5f3fcghostwhite | #030303black |
| Popover foreground | #070411black | #fcfcfdwhite |
| Primary | #150f2ablack | #150f2ablack |
| Primary foreground | #a392d9mediumpurple | #a392d9mediumpurple |
| Secondary | #0f152ablack | #0f152ablack |
| Secondary foreground | #92a3d9lightsteelblue | #92a3d9lightsteelblue |
| Muted | #eeeff1whitesmoke | #0e0e11black |
| Muted foreground | #434856darkslategray | #a9aebcdarkgray |
| Accent | #230f2ablack | #230f2ablack |
| Accent foreground | #c792d9plum | #c792d9plum |
| Destructive | #c8400efirebrick | #f16c3btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #150f2ablack | #150f2ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.93:1 | AAA |
| Text on card | 18.41:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 7.93:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 5.00:1 | AA |
| Text on background | 19.99:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 8.67:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 6.96:1 | AA |
Paste this into your globals.css to use Syndrome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.009 297.668);
--foreground: oklch(0.131 0.038 294.421);
--muted: oklch(0.952 0.003 271.375);
--muted-foreground: oklch(0.402 0.024 270.76);
--popover: oklch(0.967 0.013 297.586);
--popover-foreground: oklch(0.121 0.034 295.901);
--card: oklch(0.967 0.013 297.586);
--card-foreground: oklch(0.121 0.034 295.901);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.192 0.053 292.222);
--primary-foreground: oklch(0.701 0.104 295.074);
--secondary: oklch(0.202 0.042 268.57);
--secondary-foreground: oklch(0.722 0.08 270.058);
--accent: oklch(0.211 0.057 317.102);
--accent-foreground: oklch(0.734 0.115 317.477);
--destructive: oklch(0.563 0.181 37.112);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.192 0.053 292.222);
--chart-1: oklch(0.192 0.053 292.222);
--chart-2: oklch(0.202 0.042 268.57);
--chart-3: oklch(0.211 0.057 317.102);
--chart-4: oklch(0.23 0.051 268.28);
--chart-5: oklch(0.19 0.056 291.741);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.001 297.8);
--muted: oklch(0.166 0.005 271.076);
--muted-foreground: oklch(0.751 0.02 271.139);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 297.812);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 297.812);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.192 0.053 292.222);
--primary-foreground: oklch(0.701 0.104 295.074);
--secondary: oklch(0.202 0.042 268.57);
--secondary-foreground: oklch(0.722 0.08 270.058);
--accent: oklch(0.211 0.057 317.102);
--accent-foreground: oklch(0.734 0.115 317.477);
--destructive: oklch(0.686 0.176 39.611);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.192 0.053 292.222);
--chart-1: oklch(0.192 0.053 292.222);
--chart-2: oklch(0.202 0.042 268.57);
--chart-3: oklch(0.211 0.057 317.102);
--chart-4: oklch(0.23 0.051 268.28);
--chart-5: oklch(0.19 0.056 291.741);
}