Chrome is a shadcn/ui theme built around a muted green primary color (#739565) with muted pink accents (#956573). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted green primary (#739565) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #000000black |
| Foreground | #060c04black | #ffffffwhite |
| Card | #fcfdfcwhite | #000000black |
| Card foreground | #060c04black | #ffffffwhite |
| Popover | #fcfdfcwhite | #000000black |
| Popover foreground | #060c04black | #ffffffwhite |
| Primary | #739565gray | #739565gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #657395slategray | #657395slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eff1f6whitesmoke | #090b10black |
| Muted foreground | #565d71dimgray | #8e96a9lightslategray |
| Accent | #956573gray | #956573gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d61e05firebrick | #f92306orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #739565gray | #739565gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 4.74:1 | AA |
| Muted text | 5.79:1 | AA |
| Accent | 4.78:1 | AA |
| Destructive | 5.19:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 4.74:1 | AA |
| Muted text | 6.63:1 | AA |
| Accent | 4.78:1 | AA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Chrome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 136.616);
--foreground: oklch(0.142 0.023 135.146);
--muted: oklch(0.957 0.007 268.738);
--muted-foreground: oklch(0.481 0.034 268.159);
--popover: oklch(0.993 0.002 136.616);
--popover-foreground: oklch(0.142 0.023 135.146);
--card: oklch(0.993 0.002 136.616);
--card-foreground: oklch(0.142 0.023 135.146);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.63 0.079 137.055);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.556 0.056 267.82);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.561 0.064 0.827);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.559 0.217 30.722);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.63 0.079 137.055);
--chart-1: oklch(0.63 0.079 137.055);
--chart-2: oklch(0.556 0.056 267.82);
--chart-3: oklch(0.561 0.064 0.827);
--chart-4: oklch(0.583 0.054 267.91);
--chart-5: oklch(0.638 0.09 137.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.151 0.012 267.943);
--muted-foreground: oklch(0.672 0.031 268.408);
--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.63 0.079 137.055);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.556 0.056 267.82);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.561 0.064 0.827);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.626 0.243 30.633);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.63 0.079 137.055);
--chart-1: oklch(0.63 0.079 137.055);
--chart-2: oklch(0.556 0.056 267.82);
--chart-3: oklch(0.561 0.064 0.827);
--chart-4: oklch(0.583 0.054 267.91);
--chart-5: oklch(0.638 0.09 137.138);
}