Quote is a shadcn/ui theme built around a muted deep blue primary color (#33353d) with muted deep green accents (#353d33). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the muted deep blue primary (#33353d) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fcghostwhite | #010204black |
| Foreground | #030716black | #ffffffwhite |
| Card | #f7f8fcghostwhite | #010204black |
| Card foreground | #030716black | #ffffffwhite |
| Popover | #f7f8fcghostwhite | #010204black |
| Popover foreground | #030716black | #ffffffwhite |
| Primary | #33353ddarkslategray | #33353ddarkslategray |
| Primary foreground | #cdcfd5lightgrey | #cdcfd5lightgrey |
| Secondary | #3d3335darkslategray | #3d3335darkslategray |
| Secondary foreground | #d5cdcflightgrey | #d5cdcflightgrey |
| Muted | #f2edeewhitesmoke | #120d0eblack |
| Muted foreground | #55494bdarkslategray | #b6aaacdarkgray |
| Accent | #353d33darkslategray | #353d33darkslategray |
| Accent foreground | #cfd5cdlightgrey | #cfd5cdlightgrey |
| Destructive | #bc3510firebrick | #eb4314orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #33353ddarkslategray | #33353ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 5.74:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 8.57:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Quote in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 274.967);
--foreground: oklch(0.134 0.036 266.322);
--muted: oklch(0.951 0.005 3.338);
--muted-foreground: oklch(0.418 0.018 4.298);
--popover: oklch(0.981 0.005 274.967);
--popover-foreground: oklch(0.134 0.036 266.322);
--card: oklch(0.981 0.005 274.967);
--card-foreground: oklch(0.134 0.036 266.322);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.33 0.014 274.454);
--primary-foreground: oklch(0.854 0.009 274.9);
--secondary: oklch(0.333 0.015 4.366);
--secondary-foreground: oklch(0.855 0.009 3.481);
--accent: oklch(0.35 0.02 139.433);
--accent-foreground: oklch(0.866 0.013 139.44);
--destructive: oklch(0.53 0.177 34.907);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.33 0.014 274.454);
--chart-1: oklch(0.33 0.014 274.454);
--chart-2: oklch(0.333 0.015 4.366);
--chart-3: oklch(0.35 0.02 139.433);
--chart-4: oklch(0.361 0.017 4.397);
--chart-5: oklch(0.327 0.019 274.225);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.01 269.93);
--foreground: oklch(1 0 180);
--muted: oklch(0.165 0.009 4.562);
--muted-foreground: oklch(0.748 0.015 3.721);
--popover: oklch(0.084 0.01 269.93);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.01 269.93);
--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.33 0.014 274.454);
--primary-foreground: oklch(0.854 0.009 274.9);
--secondary: oklch(0.333 0.015 4.366);
--secondary-foreground: oklch(0.855 0.009 3.481);
--accent: oklch(0.35 0.02 139.433);
--accent-foreground: oklch(0.866 0.013 139.44);
--destructive: oklch(0.624 0.211 34.721);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.33 0.014 274.454);
--chart-1: oklch(0.33 0.014 274.454);
--chart-2: oklch(0.333 0.015 4.366);
--chart-3: oklch(0.35 0.02 139.433);
--chart-4: oklch(0.361 0.017 4.397);
--chart-5: oklch(0.327 0.019 274.225);
}