Quart is a shadcn/ui theme built around a deep pink primary color (#401c2b) with deep blue accents (#1c2b40). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep pink primary (#401c2b) on a neutral background (#070305).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070305black |
| Foreground | #15050bblack | #fdfcfcsnow |
| Card | #fdf7f9snow | #0b0507black |
| Card foreground | #110409black | #ffffffwhite |
| Popover | #fefbfcsnow | #070305black |
| Popover foreground | #15050bblack | #fdfcfcsnow |
| Primary | #401c2bdarkslategray | #401c2bdarkslategray |
| Primary foreground | #ddb1c3thistle | #ddb1c3thistle |
| Secondary | #2b401cdarkslategray | #2b401cdarkslategray |
| Secondary foreground | #c3ddb1silver | #c3ddb1silver |
| Muted | #dfe7dagainsboro | #1e2518black |
| Muted foreground | #4e534bdarkslategray | #afb4acdarkgray |
| Accent | #1c2b40darkslategray | #1c2b40darkslategray |
| Accent foreground | #b1c3ddlightsteelblue | #b1c3ddlightsteelblue |
| Destructive | #650b0bmaroon | #ea3e3etomato |
| Destructive foreground | #f6acaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #401c2bdarkslategray | #401c2bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 20.01:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Quart in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 349.769);
--foreground: oklch(0.146 0.034 353.475);
--muted: oklch(0.918 0.018 131.886);
--muted-foreground: oklch(0.435 0.014 131.991);
--popover: oklch(0.991 0.003 349.769);
--popover-foreground: oklch(0.146 0.034 353.475);
--card: oklch(0.981 0.007 349.869);
--card-foreground: oklch(0.134 0.03 351.435);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.283 0.059 355.235);
--primary-foreground: oklch(0.805 0.056 351.533);
--secondary: oklch(0.343 0.064 133.63);
--secondary-foreground: oklch(0.867 0.065 132.365);
--accent: oklch(0.286 0.044 256.903);
--accent-foreground: oklch(0.812 0.041 256.79);
--destructive: oklch(0.327 0.122 27.374);
--destructive-foreground: oklch(0.815 0.087 19.108);
--ring: oklch(0.283 0.059 355.235);
--chart-1: oklch(0.283 0.059 355.235);
--chart-2: oklch(0.343 0.064 133.63);
--chart-3: oklch(0.286 0.044 256.903);
--chart-4: oklch(0.38 0.072 133.7);
--chart-5: oklch(0.283 0.063 355.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.013 349.435);
--foreground: oklch(0.992 0.002 349.717);
--muted: oklch(0.252 0.025 132.579);
--muted-foreground: oklch(0.764 0.012 131.855);
--popover: oklch(0.109 0.013 349.435);
--popover-foreground: oklch(0.992 0.002 349.717);
--card: oklch(0.125 0.015 349.468);
--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.283 0.059 355.235);
--primary-foreground: oklch(0.805 0.056 351.533);
--secondary: oklch(0.343 0.064 133.63);
--secondary-foreground: oklch(0.867 0.065 132.365);
--accent: oklch(0.286 0.044 256.903);
--accent-foreground: oklch(0.812 0.041 256.79);
--destructive: oklch(0.622 0.208 25.665);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.283 0.059 355.235);
--chart-1: oklch(0.283 0.059 355.235);
--chart-2: oklch(0.343 0.064 133.63);
--chart-3: oklch(0.286 0.044 256.903);
--chart-4: oklch(0.38 0.072 133.7);
--chart-5: oklch(0.283 0.063 355.692);
}