Synthesis is a shadcn/ui theme built around a pink primary color (#da72a7) with muted pink accents (#c6a9b8). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the pink primary (#da72a7) on a neutral background (#070305).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #070305black |
| Foreground | #11030ablack | #fcf8fasnow |
| Card | #fdf7fasnow | #070305black |
| Card foreground | #11030ablack | #fcf8fasnow |
| Popover | #fdf7fasnow | #070305black |
| Popover foreground | #11030ablack | #fcf8fasnow |
| Primary | #da72a7palevioletred | #da72a7palevioletred |
| Primary foreground | #14050dblack | #14050dblack |
| Secondary | #d3c5ccthistle | #1f191cblack |
| Secondary foreground | #3a2c33darkslategray | #bdadb5silver |
| Muted | #e7dae1gainsboro | #25181fblack |
| Muted foreground | #666064dimgray | #9f999cdarkgray |
| Accent | #c6a9b8silver | #3c2a33darkslategray |
| Accent foreground | #25181fblack | #d5c3ccthistle |
| Destructive | #ae1709firebrick | #f32916orangered |
| Destructive foreground | #feedeclinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #da72a7palevioletred | #da72a7palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Synthesis in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 344.5);
--foreground: oklch(0.133 0.036 346.686);
--muted: oklch(0.9 0.017 344.774);
--muted-foreground: oklch(0.497 0.009 344.741);
--popover: oklch(0.981 0.008 344.5);
--popover-foreground: oklch(0.133 0.036 346.686);
--card: oklch(0.981 0.008 344.5);
--card-foreground: oklch(0.133 0.036 346.686);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.686 0.143 349.263);
--primary-foreground: oklch(0.148 0.032 347.955);
--secondary: oklch(0.837 0.019 344.852);
--secondary-foreground: oklch(0.312 0.024 346.18);
--accent: oklch(0.765 0.039 345.534);
--accent-foreground: oklch(0.229 0.022 346.65);
--destructive: oklch(0.481 0.185 30.094);
--destructive-foreground: oklch(0.959 0.018 23.776);
--ring: oklch(0.686 0.143 349.263);
--chart-1: oklch(0.686 0.143 349.263);
--chart-2: oklch(0.837 0.019 344.852);
--chart-3: oklch(0.765 0.039 345.534);
--chart-4: oklch(0.862 0.016 344.751);
--chart-5: oklch(0.685 0.15 349.524);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.015 344.182);
--foreground: oklch(0.983 0.004 344.393);
--muted: oklch(0.229 0.025 346.886);
--muted-foreground: oklch(0.688 0.008 344.59);
--popover: oklch(0.109 0.015 344.182);
--popover-foreground: oklch(0.983 0.004 344.393);
--card: oklch(0.109 0.015 344.182);
--card-foreground: oklch(0.983 0.004 344.393);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.686 0.143 349.263);
--primary-foreground: oklch(0.148 0.032 347.955);
--secondary: oklch(0.222 0.011 345.552);
--secondary-foreground: oklch(0.764 0.022 345.007);
--accent: oklch(0.31 0.031 346.72);
--accent-foreground: oklch(0.835 0.024 345.014);
--destructive: oklch(0.619 0.235 30.086);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.143 349.263);
--chart-1: oklch(0.686 0.143 349.263);
--chart-2: oklch(0.222 0.011 345.552);
--chart-3: oklch(0.31 0.031 346.72);
--chart-4: oklch(0.253 0.014 345.649);
--chart-5: oklch(0.685 0.15 349.524);
}