Quartz Chipmunk is a shadcn/ui theme built around a light indigo primary color (#d5d7f0) with muted light indigo accents (#c4c6de). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#d5d7f0) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020308black |
| Foreground | #02020eblack | #fcfcfdwhite |
| Card | #fcfcfcsnow | #04040cblack |
| Card foreground | #010109black | #ffffffwhite |
| Popover | #ffffffwhite | #020308black |
| Popover foreground | #02020eblack | #fcfcfdwhite |
| Primary | #d5d7f0gainsboro | #d5d7f0gainsboro |
| Primary foreground | #262a6dmidnightblue | #262a6dmidnightblue |
| Secondary | #d8d8e4gainsboro | #111118black |
| Secondary foreground | #383a51darkslategray | #a0a1bbdarkgray |
| Muted | #dfe0f1lavender | #0e0f20black |
| Muted foreground | #4b4c63darkslategray | #9c9db4darkgray |
| Accent | #c4c6delightsteelblue | #202137darkslategray |
| Accent foreground | #282a48darkslategray | #b5b7d4lightsteelblue |
| Destructive | #a71a01firebrick | #fe2b06orangered |
| Destructive foreground | #ffe1dbmistyrose | #ffffffwhite |
| Border | #f1f1f4whitesmoke | #181920black |
| Input | #f1f1f4whitesmoke | #181920black |
| Ring | #d5d7f0gainsboro | #d5d7f0gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 9.06:1 | AAA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 20.12:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 9.06:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Quartz Chipmunk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.035 273.615);
--muted: oklch(0.911 0.023 283.524);
--muted-foreground: oklch(0.424 0.038 282.28);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.035 273.615);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.086 0.03 273.675);
--border: oklch(0.958 0.004 283.895);
--input: oklch(0.958 0.004 283.895);
--primary: oklch(0.885 0.035 283.262);
--primary-foreground: oklch(0.326 0.115 275.688);
--secondary: oklch(0.887 0.015 283.665);
--secondary-foreground: oklch(0.356 0.041 281.778);
--accent: oklch(0.832 0.034 283.238);
--accent-foreground: oklch(0.298 0.054 280.309);
--destructive: oklch(0.469 0.178 31.791);
--destructive-foreground: oklch(0.932 0.034 29.638);
--ring: oklch(0.885 0.035 283.262);
--chart-1: oklch(0.885 0.035 283.262);
--chart-2: oklch(0.887 0.015 283.665);
--chart-3: oklch(0.832 0.034 283.238);
--chart-4: oklch(0.913 0.012 283.746);
--chart-5: oklch(0.884 0.037 283.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 278.847);
--foreground: oklch(0.99 0.002 283.932);
--muted: oklch(0.177 0.035 279.911);
--muted-foreground: oklch(0.704 0.033 283.112);
--popover: oklch(0.097 0.019 278.847);
--popover-foreground: oklch(0.99 0.002 283.932);
--card: oklch(0.112 0.022 278.84);
--card-foreground: oklch(1 0 180);
--border: oklch(0.215 0.014 282.817);
--input: oklch(0.215 0.014 282.817);
--primary: oklch(0.885 0.035 283.262);
--primary-foreground: oklch(0.326 0.115 275.688);
--secondary: oklch(0.182 0.013 282.599);
--secondary-foreground: oklch(0.716 0.038 283.004);
--accent: oklch(0.258 0.04 280.884);
--accent-foreground: oklch(0.786 0.041 283.027);
--destructive: oklch(0.64 0.244 31.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.885 0.035 283.262);
--chart-1: oklch(0.885 0.035 283.262);
--chart-2: oklch(0.182 0.013 282.599);
--chart-3: oklch(0.258 0.04 280.884);
--chart-4: oklch(0.212 0.018 282.398);
--chart-5: oklch(0.884 0.037 283.213);
}