Reset is a shadcn/ui theme built around a vivid light green primary color (#f6fdaa) with vivid light purple accents (#fdaaf6). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid light green primary (#f6fdaa) on a green-tinted background (#0d0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0d0e06black |
| Foreground | #101103black | #ffffffwhite |
| Card | #fefefbwhite | #0d0e06black |
| Card foreground | #101103black | #ffffffwhite |
| Popover | #fefefbwhite | #0d0e06black |
| Popover foreground | #101103black | #ffffffwhite |
| Primary | #f6fdaapalegoldenrod | #f6fdaapalegoldenrod |
| Primary foreground | #0e0f00black | #0e0f00black |
| Secondary | #aaf6fdpaleturquoise | #aaf6fdpaleturquoise |
| Secondary foreground | #000e0fblack | #000e0fblack |
| Muted | #ecf3f3whitesmoke | #0c1213black |
| Muted foreground | #3e4646darkslategray | #b9c0c1silver |
| Accent | #fdaaf6plum | #fdaaf6plum |
| Accent foreground | #720369purple | #720369purple |
| Destructive | #681d08maroon | #d43b11firebrick |
| Destructive foreground | #f8bbaalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6fdaapalegoldenrod | #f6fdaapalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 17.96:1 | AAA |
| Secondary button | 16.18:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 17.96:1 | AAA |
| Secondary button | 16.18:1 | AAA |
| Muted text | 10.22:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use Reset in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 110.317);
--foreground: oklch(0.173 0.03 112.882);
--muted: oklch(0.958 0.007 203.515);
--muted-foreground: oklch(0.386 0.01 203.369);
--popover: oklch(0.996 0.004 110.317);
--popover-foreground: oklch(0.173 0.03 112.882);
--card: oklch(0.996 0.004 110.317);
--card-foreground: oklch(0.173 0.03 112.882);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.97 0.104 112.201);
--primary-foreground: oklch(0.161 0.035 113.01);
--secondary: oklch(0.926 0.075 203.122);
--secondary-foreground: oklch(0.148 0.024 201.066);
--accent: oklch(0.843 0.135 329.621);
--accent-foreground: oklch(0.384 0.17 332.675);
--destructive: oklch(0.349 0.111 35.461);
--destructive-foreground: oklch(0.843 0.075 36.02);
--ring: oklch(0.97 0.104 112.201);
--chart-1: oklch(0.97 0.104 112.201);
--chart-2: oklch(0.926 0.075 203.122);
--chart-3: oklch(0.843 0.135 329.621);
--chart-4: oklch(0.938 0.063 203.146);
--chart-5: oklch(0.973 0.107 112.25);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.016 111.871);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.01 203.182);
--muted-foreground: oklch(0.802 0.008 203.489);
--popover: oklch(0.16 0.016 111.871);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.16 0.016 111.871);
--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.97 0.104 112.201);
--primary-foreground: oklch(0.161 0.035 113.01);
--secondary: oklch(0.926 0.075 203.122);
--secondary-foreground: oklch(0.148 0.024 201.066);
--accent: oklch(0.843 0.135 329.621);
--accent-foreground: oklch(0.384 0.17 332.675);
--destructive: oklch(0.579 0.196 34.714);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.97 0.104 112.201);
--chart-1: oklch(0.97 0.104 112.201);
--chart-2: oklch(0.926 0.075 203.122);
--chart-3: oklch(0.843 0.135 329.621);
--chart-4: oklch(0.938 0.063 203.146);
--chart-5: oklch(0.973 0.107 112.25);
}