Quirky is a shadcn/ui theme built around a light purple primary color (#f4cdf2) with light green accents (#cdf4ce). The light mode uses a neutral background (#fefbfe). Dark mode keeps the light purple primary (#f4cdf2) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #040104black |
| Foreground | #090109black | #f9f6f9whitesmoke |
| Card | #fefbfewhite | #040104black |
| Card foreground | #090109black | #f9f6f9whitesmoke |
| Popover | #fefbfewhite | #040104black |
| Popover foreground | #090109black | #f9f6f9whitesmoke |
| Primary | #f4cdf2lavender | #f4cdf2lavender |
| Primary foreground | #761971purple | #761971purple |
| Secondary | #cdf4cegainsboro | #cdf4cegainsboro |
| Secondary foreground | #072208black | #072208black |
| Muted | #d3e9d4gainsboro | #162c17black |
| Muted foreground | #3c493cdarkslategray | #b6c3b7silver |
| Accent | #cdf4cegainsboro | #cdf4cegainsboro |
| Accent foreground | #072208black | #072208black |
| Destructive | #c61801firebrick | #fe2c10orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f4cdf2lavender | #f4cdf2lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 14.05:1 | AAA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 14.05:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Quirky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 327.078);
--foreground: oklch(0.105 0.035 328.993);
--muted: oklch(0.912 0.036 146.661);
--muted-foreground: oklch(0.389 0.027 146.367);
--popover: oklch(0.991 0.004 327.078);
--popover-foreground: oklch(0.105 0.035 328.993);
--card: oklch(0.991 0.004 327.078);
--card-foreground: oklch(0.105 0.035 328.993);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.892 0.067 327.704);
--primary-foreground: oklch(0.407 0.161 330.293);
--secondary: oklch(0.93 0.065 146.36);
--secondary-foreground: oklch(0.223 0.057 144.326);
--accent: oklch(0.93 0.065 146.36);
--accent-foreground: oklch(0.223 0.057 144.326);
--destructive: oklch(0.526 0.206 30.771);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.892 0.067 327.704);
--chart-1: oklch(0.892 0.067 327.704);
--chart-2: oklch(0.93 0.065 146.36);
--chart-3: oklch(0.93 0.065 146.36);
--chart-4: oklch(0.947 0.049 146.545);
--chart-5: oklch(0.891 0.07 327.733);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.02 328.482);
--foreground: oklch(0.975 0.006 327.095);
--muted: oklch(0.268 0.047 145.211);
--muted-foreground: oklch(0.804 0.023 146.772);
--popover: oklch(0.086 0.02 328.482);
--popover-foreground: oklch(0.975 0.006 327.095);
--card: oklch(0.086 0.02 328.482);
--card-foreground: oklch(0.975 0.006 327.095);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.892 0.067 327.704);
--primary-foreground: oklch(0.407 0.161 330.293);
--secondary: oklch(0.93 0.065 146.36);
--secondary-foreground: oklch(0.223 0.057 144.326);
--accent: oklch(0.93 0.065 146.36);
--accent-foreground: oklch(0.223 0.057 144.326);
--destructive: oklch(0.64 0.243 30.864);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.892 0.067 327.704);
--chart-1: oklch(0.892 0.067 327.704);
--chart-2: oklch(0.93 0.065 146.36);
--chart-3: oklch(0.93 0.065 146.36);
--chart-4: oklch(0.947 0.049 146.545);
--chart-5: oklch(0.891 0.07 327.733);
}