Synthwave x Fluoromachine is a shadcn/ui theme built around a neutral gray primary color (#d1d0d2) with muted indigo accents (#474162). The light mode uses an indigo-tinted background (#262334). Dark mode keeps the neutral gray primary (#d1d0d2) on an indigo-tinted background (#262334).
| Token | Light | Dark |
|---|---|---|
| Background | #262334darkslategray | #262334darkslategray |
| Foreground | #bababasilver | #bababasilver |
| Card | #211f2edarkslategray | #211f2edarkslategray |
| Card foreground | #c7c7c7silver | #c7c7c7silver |
| Popover | #1f1d2bblack | #1f1d2bblack |
| Popover foreground | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Primary | #d1d0d2lightgrey | #d1d0d2lightgrey |
| Primary foreground | #383739darkslategray | #383739darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #312f3cdarkslategray | #312f3cdarkslategray |
| Muted foreground | #afacbedarkgray | #afacbedarkgray |
| Accent | #474162darkslategray | #474162darkslategray |
| Accent foreground | #e8e7eflavender | #e8e7eflavender |
| Destructive | #f41101red | #f41101red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #34323edarkslategray | #34323edarkslategray |
| Input | #3c3946darkslategray | #3c3946darkslategray |
| Ring | #d1d0d2lightgrey | #d1d0d2lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.91:1 | AAA |
| Text on card | 9.58:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.27:1 | AA Large |
| Text on background | 7.91:1 | AAA |
| Text on card | 9.58:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Synthwave x Fluoromachine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.266 0.032 291.699);
--foreground: oklch(0.789 0 171.254);
--muted: oklch(0.313 0.023 292.668);
--muted-foreground: oklch(0.753 0.025 293.432);
--popover: oklch(0.238 0.027 291.836);
--popover-foreground: oklch(0.869 0 165.964);
--card: oklch(0.248 0.029 291.787);
--card-foreground: oklch(0.829 0 180);
--border: oklch(0.326 0.02 292.909);
--input: oklch(0.353 0.022 292.878);
--primary: oklch(0.859 0.003 308.426);
--primary-foreground: oklch(0.339 0.004 308.324);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.396 0.055 291.332);
--accent-foreground: oklch(0.93 0.011 293.844);
--destructive: oklch(0.61 0.245 29.803);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.859 0.003 308.426);
--chart-1: oklch(0.859 0.003 308.426);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.396 0.055 291.332);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.857 0.007 308.373);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.266 0.032 291.699);
--foreground: oklch(0.789 0 171.254);
--muted: oklch(0.313 0.023 292.668);
--muted-foreground: oklch(0.753 0.025 293.432);
--popover: oklch(0.238 0.027 291.836);
--popover-foreground: oklch(0.869 0 165.964);
--card: oklch(0.248 0.029 291.787);
--card-foreground: oklch(0.829 0 180);
--border: oklch(0.326 0.02 292.909);
--input: oklch(0.353 0.022 292.878);
--primary: oklch(0.859 0.003 308.426);
--primary-foreground: oklch(0.339 0.004 308.324);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.396 0.055 291.332);
--accent-foreground: oklch(0.93 0.011 293.844);
--destructive: oklch(0.61 0.245 29.803);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.859 0.003 308.426);
--chart-1: oklch(0.859 0.003 308.426);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.396 0.055 291.332);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.857 0.007 308.373);
}