Quixotic is a shadcn/ui theme built around a pink primary color (#cc8f9f) with teal accents (#8fccbb). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the pink primary (#cc8f9f) on a pink-tinted background (#0e0608).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #0e0608black |
| Foreground | #0d0305black | #fdfcfcsnow |
| Card | #fdf7f8snow | #0e0608black |
| Card foreground | #0d0305black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #0e0608black |
| Popover foreground | #0d0305black | #fdfcfcsnow |
| Primary | #cc8f9frosybrown | #cc8f9frosybrown |
| Primary foreground | #1c0d11black | #1c0d11black |
| Secondary | #8fccbbmediumaquamarine | #8fccbbmediumaquamarine |
| Secondary foreground | #0d1c18black | #0d1c18black |
| Muted | #e0f0eclavender | #0f1f1bblack |
| Muted foreground | #495f59darkslategray | #a0b6b0darkgray |
| Accent | #8fccbbmediumaquamarine | #8fccbbmediumaquamarine |
| Accent foreground | #0d1c18black | #0d1c18black |
| Destructive | #671a09maroon | #ed5331tomato |
| Destructive foreground | #f8b9ablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cc8f9frosybrown | #cc8f9frosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 9.60:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 9.60:1 | AAA |
| Destructive | 7.22:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 9.60:1 | AAA |
| Muted text | 7.96:1 | AAA |
| Accent | 9.60:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Quixotic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 358.986);
--foreground: oklch(0.119 0.025 358.939);
--muted: oklch(0.942 0.018 178.228);
--muted-foreground: oklch(0.466 0.028 176.916);
--popover: oklch(0.981 0.007 358.986);
--popover-foreground: oklch(0.119 0.025 358.939);
--card: oklch(0.981 0.007 358.986);
--card-foreground: oklch(0.119 0.025 358.939);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.714 0.076 1.688);
--primary-foreground: oklch(0.182 0.027 2.828);
--secondary: oklch(0.798 0.066 176.106);
--secondary-foreground: oklch(0.211 0.022 175.168);
--accent: oklch(0.798 0.066 176.106);
--accent-foreground: oklch(0.211 0.022 175.168);
--destructive: oklch(0.345 0.113 33.827);
--destructive-foreground: oklch(0.839 0.076 32.973);
--ring: oklch(0.714 0.076 1.688);
--chart-1: oklch(0.714 0.076 1.688);
--chart-2: oklch(0.798 0.066 176.106);
--chart-3: oklch(0.798 0.066 176.106);
--chart-4: oklch(0.817 0.06 176.444);
--chart-5: oklch(0.712 0.082 1.939);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.016 359.776);
--foreground: oklch(0.992 0.001 358.826);
--muted: oklch(0.223 0.024 175.2);
--muted-foreground: oklch(0.757 0.025 177.782);
--popover: oklch(0.137 0.016 359.776);
--popover-foreground: oklch(0.992 0.001 358.826);
--card: oklch(0.137 0.016 359.776);
--card-foreground: oklch(0.992 0.001 358.826);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.714 0.076 1.688);
--primary-foreground: oklch(0.182 0.027 2.828);
--secondary: oklch(0.798 0.066 176.106);
--secondary-foreground: oklch(0.211 0.022 175.168);
--accent: oklch(0.798 0.066 176.106);
--accent-foreground: oklch(0.211 0.022 175.168);
--destructive: oklch(0.647 0.196 34.075);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.714 0.076 1.688);
--chart-1: oklch(0.714 0.076 1.688);
--chart-2: oklch(0.798 0.066 176.106);
--chart-3: oklch(0.798 0.066 176.106);
--chart-4: oklch(0.817 0.06 176.444);
--chart-5: oklch(0.712 0.082 1.939);
}