Tote is a shadcn/ui theme built around a vivid light green primary color (#e3fce4) with vivid light purple accents (#fce3fb). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid light green primary (#e3fce4) on a green-tinted background (#070e07).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #070e07black |
| Foreground | #020902black | #f9fbf9mintcream |
| Card | #f8fcf8mintcream | #091109black |
| Card foreground | #010401black | #fcfdfcwhite |
| Popover | #f8fcf8mintcream | #091109black |
| Popover foreground | #010401black | #fcfdfcwhite |
| Primary | #e3fce4honeydew | #e3fce4honeydew |
| Primary foreground | #074109darkgreen | #074109darkgreen |
| Secondary | #fce3fblavenderblush | #fce3fblavenderblush |
| Secondary foreground | #41073fmidnightblue | #41073fmidnightblue |
| Muted | #eeeceewhitesmoke | #131113black |
| Muted foreground | #5b435adimgray | #bca4bbdarkgray |
| Accent | #fce3fblavenderblush | #fce3fblavenderblush |
| Accent foreground | #41073fmidnightblue | #41073fmidnightblue |
| Destructive | #a70606darkred | #dd0808red |
| Destructive foreground | #fee1e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3fce4honeydew | #e3fce4honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 10.92:1 | AAA |
| Secondary button | 13.23:1 | AAA |
| Muted text | 7.47:1 | AAA |
| Accent | 13.23:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 10.92:1 | AAA |
| Secondary button | 13.23:1 | AAA |
| Muted text | 8.21:1 | AAA |
| Accent | 13.23:1 | AAA |
| Destructive | 5.08:1 | AA |
Paste this into your globals.css to use Tote in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.004 146.508);
--foreground: oklch(0.123 0.028 144.679);
--muted: oklch(0.946 0.003 326.568);
--muted-foreground: oklch(0.418 0.048 327.487);
--popover: oklch(0.987 0.008 146.474);
--popover-foreground: oklch(0.098 0.022 144.679);
--card: oklch(0.987 0.008 146.474);
--card-foreground: oklch(0.098 0.022 144.679);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.967 0.041 146.165);
--primary-foreground: oklch(0.326 0.102 143.172);
--secondary: oklch(0.944 0.041 326.913);
--secondary-foreground: oklch(0.267 0.11 329.653);
--accent: oklch(0.944 0.041 326.913);
--accent-foreground: oklch(0.267 0.11 329.653);
--destructive: oklch(0.46 0.186 28.854);
--destructive-foreground: oklch(0.934 0.031 17.728);
--ring: oklch(0.967 0.041 146.165);
--chart-1: oklch(0.967 0.041 146.165);
--chart-2: oklch(0.944 0.041 326.913);
--chart-3: oklch(0.944 0.041 326.913);
--chart-4: oklch(0.972 0.021 326.722);
--chart-5: oklch(0.967 0.042 146.151);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.018 145.569);
--foreground: oklch(0.986 0.004 146.504);
--muted: oklch(0.18 0.005 326.755);
--muted-foreground: oklch(0.747 0.042 327.015);
--popover: oklch(0.166 0.021 145.402);
--popover-foreground: oklch(0.993 0.002 146.523);
--card: oklch(0.166 0.021 145.402);
--card-foreground: oklch(0.993 0.002 146.523);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.967 0.041 146.165);
--primary-foreground: oklch(0.326 0.102 143.172);
--secondary: oklch(0.944 0.041 326.913);
--secondary-foreground: oklch(0.267 0.11 329.653);
--accent: oklch(0.944 0.041 326.913);
--accent-foreground: oklch(0.267 0.11 329.653);
--destructive: oklch(0.566 0.23 28.963);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.967 0.041 146.165);
--chart-1: oklch(0.967 0.041 146.165);
--chart-2: oklch(0.944 0.041 326.913);
--chart-3: oklch(0.944 0.041 326.913);
--chart-4: oklch(0.972 0.021 326.722);
--chart-5: oklch(0.967 0.042 146.151);
}