Fixed is a shadcn/ui theme built around a vivid pink primary color (#fd2675) with vivid teal accents (#26fdae). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#fd2675) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #080204black | #faf4f7whitesmoke |
| Card | #fcfcfcsnow | #070305black |
| Card foreground | #040102black | #fcf8f9snow |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #080204black | #faf4f7whitesmoke |
| Primary | #fd2675deeppink | #fd2675deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #26fdaemediumspringgreen | #26fdaemediumspringgreen |
| Secondary foreground | #015637darkslategray | #015637darkslategray |
| Muted | #d1e5degainsboro | #1a2e26darkslategray |
| Muted foreground | #40544ddarkslategray | #abbfb8silver |
| Accent | #26fdaemediumspringgreen | #26fdaemediumspringgreen |
| Accent foreground | #015637darkslategray | #015637darkslategray |
| Destructive | #bf5112chocolate | #ee8244coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fd2675deeppink | #fd2675deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 3.68:1 | AA Large |
| Secondary button | 6.58:1 | AA |
| Muted text | 6.17:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 4.74:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 3.68:1 | AA Large |
| Secondary button | 6.58:1 | AA |
| Muted text | 7.46:1 | AAA |
| Accent | 6.58:1 | AA |
| Destructive | 7.92:1 | AAA |
Paste this into your globals.css to use Fixed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.019 352.209);
--muted: oklch(0.906 0.023 171.806);
--muted-foreground: oklch(0.426 0.027 170.623);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.019 352.209);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.084 0.015 352.209);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.649 0.243 7.131);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.88 0.19 161.092);
--secondary-foreground: oklch(0.4 0.09 160.34);
--accent: oklch(0.88 0.19 161.092);
--accent-foreground: oklch(0.4 0.09 160.34);
--destructive: oklch(0.571 0.157 44.572);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.243 7.131);
--chart-1: oklch(0.649 0.243 7.131);
--chart-2: oklch(0.88 0.19 161.092);
--chart-3: oklch(0.88 0.19 161.092);
--chart-4: oklch(0.883 0.182 162.268);
--chart-5: oklch(0.653 0.248 7.673);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.012 352.288);
--foreground: oklch(0.974 0.007 352.775);
--muted: oklch(0.28 0.029 169.001);
--muted-foreground: oklch(0.787 0.023 171.691);
--popover: oklch(0.086 0.012 352.288);
--popover-foreground: oklch(0.974 0.007 352.775);
--card: oklch(0.108 0.015 352.288);
--card-foreground: oklch(0.982 0.005 352.707);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.649 0.243 7.131);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.88 0.19 161.092);
--secondary-foreground: oklch(0.4 0.09 160.34);
--accent: oklch(0.88 0.19 161.092);
--accent-foreground: oklch(0.4 0.09 160.34);
--destructive: oklch(0.716 0.152 48.547);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.649 0.243 7.131);
--chart-1: oklch(0.649 0.243 7.131);
--chart-2: oklch(0.88 0.19 161.092);
--chart-3: oklch(0.88 0.19 161.092);
--chart-4: oklch(0.883 0.182 162.268);
--chart-5: oklch(0.653 0.248 7.673);
}