Fixed is a shadcn/ui theme built around a vivid light pink primary color (#fbbce3) with vivid light blue accents (#bce3fb). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid light pink primary (#fbbce3) on a pink-tinted background (#0b0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0b0508black |
| Foreground | #0d0209black | #faf5f8whitesmoke |
| Card | #faf5f8whitesmoke | #0e060bblack |
| Card foreground | #090106black | #fcf8fasnow |
| Popover | #fcf8fasnow | #0b0508black |
| Popover foreground | #0d0209black | #faf5f8whitesmoke |
| Primary | #fbbce3pink | #fbbce3pink |
| Primary foreground | #7d0850purple | #7d0850purple |
| Secondary | #e3fbbcpalegoldenrod | #e3fbbcpalegoldenrod |
| Secondary foreground | #121d02black | #121d02black |
| Muted | #eef1ealinen | #13150eblack |
| Muted foreground | #414739darkslategray | #c1c6b8silver |
| Accent | #bce3fbpaleturquoise | #bce3fbpaleturquoise |
| Accent foreground | #08507dteal | #08507dteal |
| Destructive | #911c08darkred | #ed2e0corangered |
| Destructive foreground | #fcd5cfbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbbce3pink | #fbbce3pink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 15.58:1 | AAA |
| Muted text | 8.40:1 | AAA |
| Accent | 6.30:1 | AA |
| Destructive | 6.52:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 15.58:1 | AAA |
| Muted text | 10.52:1 | AAA |
| Accent | 6.30:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Fixed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 339.57);
--foreground: oklch(0.12 0.033 340.388);
--muted: oklch(0.953 0.01 123.794);
--muted-foreground: oklch(0.388 0.024 124.581);
--popover: oklch(0.983 0.004 339.57);
--popover-foreground: oklch(0.12 0.033 340.388);
--card: oklch(0.974 0.007 339.622);
--card-foreground: oklch(0.104 0.029 339.742);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.863 0.087 341.574);
--primary-foreground: oklch(0.391 0.157 350.664);
--secondary: oklch(0.954 0.085 125.02);
--secondary-foreground: oklch(0.212 0.05 126.999);
--accent: oklch(0.895 0.052 235.461);
--accent-foreground: oklch(0.415 0.098 243.917);
--destructive: oklch(0.429 0.155 32.042);
--destructive-foreground: oklch(0.905 0.045 29.724);
--ring: oklch(0.863 0.087 341.574);
--chart-1: oklch(0.863 0.087 341.574);
--chart-2: oklch(0.954 0.085 125.02);
--chart-3: oklch(0.895 0.052 235.461);
--chart-4: oklch(0.964 0.067 124.703);
--chart-5: oklch(0.863 0.09 341.644);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.017 339.677);
--foreground: oklch(0.974 0.007 339.622);
--muted: oklch(0.192 0.015 124.798);
--muted-foreground: oklch(0.819 0.02 124.006);
--popover: oklch(0.125 0.017 339.677);
--popover-foreground: oklch(0.974 0.007 339.622);
--card: oklch(0.139 0.02 341.142);
--card-foreground: oklch(0.983 0.004 339.57);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.863 0.087 341.574);
--primary-foreground: oklch(0.391 0.157 350.664);
--secondary: oklch(0.954 0.085 125.02);
--secondary-foreground: oklch(0.212 0.05 126.999);
--accent: oklch(0.895 0.052 235.461);
--accent-foreground: oklch(0.415 0.098 243.917);
--destructive: oklch(0.612 0.228 31.733);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.863 0.087 341.574);
--chart-1: oklch(0.863 0.087 341.574);
--chart-2: oklch(0.954 0.085 125.02);
--chart-3: oklch(0.895 0.052 235.461);
--chart-4: oklch(0.964 0.067 124.703);
--chart-5: oklch(0.863 0.09 341.644);
}