Quick is a shadcn/ui theme built around a vivid purple primary color (#fc27d5) with muted purple accents (#c6b8c4). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the vivid purple primary (#fc27d5) on a purple-tinted background (#10050e).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fcsnow | #10050eblack |
| Foreground | #150412black | #ffffffwhite |
| Card | #fcf3falavenderblush | #140611black |
| Card foreground | #11030fblack | #ffffffwhite |
| Popover | #fdf7fcsnow | #10050eblack |
| Popover foreground | #150412black | #ffffffwhite |
| Primary | #fc27d5magenta | #fc27d5magenta |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d4d3d4lightgrey | #272026darkslategray |
| Secondary foreground | #3b3a3bdarkslategray | #c3b7c0silver |
| Muted | #efdceclavender | #231020black |
| Muted foreground | #655362dimgray | #ac9aa9darkgray |
| Accent | #c6b8c4silver | #493245darkslategray |
| Accent foreground | #2a2229darkslategray | #decedbgainsboro |
| Destructive | #88180cdarkred | #eb2e19orangered |
| Destructive foreground | #fbd0cbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fc27d5magenta | #fc27d5magenta |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 3.29:1 | AA Large |
| Secondary button | 7.59:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 20.03:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 3.29:1 | AA Large |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.68:1 | AAA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use Quick in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 331.542);
--foreground: oklch(0.149 0.043 334.51);
--muted: oklch(0.914 0.03 331.862);
--muted-foreground: oklch(0.465 0.033 332.39);
--popover: oklch(0.982 0.009 331.542);
--popover-foreground: oklch(0.149 0.043 334.51);
--card: oklch(0.973 0.014 331.612);
--card-foreground: oklch(0.136 0.038 333.934);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.683 0.283 337.645);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.868 0.001 331.429);
--secondary-foreground: oklch(0.35 0.002 331.5);
--accent: oklch(0.798 0.022 331.798);
--accent-foreground: oklch(0.265 0.018 332.32);
--destructive: oklch(0.407 0.148 30.505);
--destructive-foreground: oklch(0.893 0.048 25.525);
--ring: oklch(0.683 0.283 337.645);
--chart-1: oklch(0.683 0.283 337.645);
--chart-2: oklch(0.868 0.001 331.429);
--chart-3: oklch(0.798 0.022 331.798);
--chart-4: oklch(0.892 0.001 331.425);
--chart-5: oklch(0.688 0.287 337.797);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.03 333.451);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.042 334.066);
--muted-foreground: oklch(0.707 0.03 331.998);
--popover: oklch(0.138 0.03 333.451);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.034 333.986);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.683 0.283 337.645);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.255 0.014 332.143);
--secondary-foreground: oklch(0.791 0.019 331.744);
--accent: oklch(0.35 0.045 333.13);
--accent-foreground: oklch(0.869 0.024 331.796);
--destructive: oklch(0.608 0.225 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.683 0.283 337.645);
--chart-1: oklch(0.683 0.283 337.645);
--chart-2: oklch(0.255 0.014 332.143);
--chart-3: oklch(0.35 0.045 333.13);
--chart-4: oklch(0.286 0.016 332.181);
--chart-5: oklch(0.688 0.287 337.797);
}