Quintessential is a shadcn/ui theme built around a deep green primary color (#4b5129) with deep green accents (#365129). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the deep green primary (#4b5129) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfdfcwhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfdfcwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #4b5129darkolivegreen | #4b5129darkolivegreen |
| Primary foreground | #dfe4c9gainsboro | #dfe4c9gainsboro |
| Secondary | #514429darkolivegreen | #514429darkolivegreen |
| Secondary foreground | #e4dbc9gainsboro | #e4dbc9gainsboro |
| Muted | #e2dcd0gainsboro | #2f291ddarkslategray |
| Muted foreground | #5c5a57dimgray | #a8a7a3darkgray |
| Accent | #365129darkslategray | #365129darkslategray |
| Accent foreground | #d2e4c9lightgrey | #d2e4c9lightgrey |
| Destructive | #6e1f08maroon | #f05324chocolate |
| Destructive foreground | #f9c0aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4b5129darkolivegreen | #4b5129darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 5.01:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 7.07:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 5.97:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Quintessential in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 114.108);
--foreground: oklch(0 0 0);
--muted: oklch(0.895 0.017 84.588);
--muted-foreground: oklch(0.469 0.006 84.58);
--popover: oklch(0.994 0.002 114.108);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.002 114.108);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.42 0.061 116.886);
--primary-foreground: oklch(0.907 0.036 114.805);
--secondary: oklch(0.393 0.045 83.908);
--secondary-foreground: oklch(0.893 0.026 84.593);
--accent: oklch(0.404 0.072 135.968);
--accent-foreground: oklch(0.897 0.041 135.059);
--destructive: oklch(0.363 0.115 36.177);
--destructive-foreground: oklch(0.854 0.071 37.599);
--ring: oklch(0.42 0.061 116.886);
--chart-1: oklch(0.42 0.061 116.886);
--chart-2: oklch(0.393 0.045 83.908);
--chart-3: oklch(0.404 0.072 135.968);
--chart-4: oklch(0.426 0.05 83.869);
--chart-5: oklch(0.425 0.066 117.09);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.284 0.022 84.412);
--muted-foreground: oklch(0.728 0.005 84.57);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.42 0.061 116.886);
--primary-foreground: oklch(0.907 0.036 114.805);
--secondary: oklch(0.393 0.045 83.908);
--secondary-foreground: oklch(0.893 0.026 84.593);
--accent: oklch(0.404 0.072 135.968);
--accent-foreground: oklch(0.897 0.041 135.059);
--destructive: oklch(0.651 0.201 36.411);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.42 0.061 116.886);
--chart-1: oklch(0.42 0.061 116.886);
--chart-2: oklch(0.393 0.045 83.908);
--chart-3: oklch(0.404 0.072 135.968);
--chart-4: oklch(0.426 0.05 83.869);
--chart-5: oklch(0.425 0.066 117.09);
}