Summit is a shadcn/ui theme built around a vivid light green primary color (#a0f3b6) with vivid light orange accents (#f3b6a0). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#a0f3b6) on a green-tinted background (#040b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #040b06black |
| Foreground | #000000black | #f5faf6whitesmoke |
| Card | #fbfefcwhite | #040b06black |
| Card foreground | #000000black | #f5faf6whitesmoke |
| Popover | #fbfefcwhite | #040b06black |
| Popover foreground | #000000black | #f5faf6whitesmoke |
| Primary | #a0f3b6palegreen | #a0f3b6palegreen |
| Primary foreground | #0b561fdarkgreen | #0b561fdarkgreen |
| Secondary | #b6a0f3lightsteelblue | #b6a0f3lightsteelblue |
| Secondary foreground | #1f0b56midnightblue | #1f0b56midnightblue |
| Muted | #f0eef7whitesmoke | #0b0811black |
| Muted foreground | #3e3c44darkslategray | #bdbbc3silver |
| Accent | #f3b6a0burlywood | #f3b6a0burlywood |
| Accent foreground | #561f0bmaroon | #561f0bmaroon |
| Destructive | #911f03darkred | #fa3605orangered |
| Destructive foreground | #fed3c8peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a0f3b6palegreen | #a0f3b6palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.64:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 9.44:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 10.44:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Summit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 154.471);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.012 298.35);
--muted-foreground: oklch(0.361 0.013 297.921);
--popover: oklch(0.994 0.003 154.471);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 154.471);
--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.894 0.116 151.935);
--primary-foreground: oklch(0.396 0.111 147.107);
--secondary: oklch(0.757 0.118 295.7);
--secondary-foreground: oklch(0.243 0.122 285.068);
--accent: oklch(0.827 0.077 40.867);
--accent-foreground: oklch(0.319 0.087 39.223);
--destructive: oklch(0.43 0.153 33.753);
--destructive-foreground: oklch(0.9 0.051 34.351);
--ring: oklch(0.894 0.116 151.935);
--chart-1: oklch(0.894 0.116 151.935);
--chart-2: oklch(0.757 0.118 295.7);
--chart-3: oklch(0.827 0.077 40.867);
--chart-4: oklch(0.791 0.101 296.27);
--chart-5: oklch(0.897 0.12 151.835);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.017 154.025);
--foreground: oklch(0.98 0.007 154.405);
--muted: oklch(0.145 0.019 296.496);
--muted-foreground: oklch(0.797 0.011 298.328);
--popover: oklch(0.139 0.017 154.025);
--popover-foreground: oklch(0.98 0.007 154.405);
--card: oklch(0.139 0.017 154.025);
--card-foreground: oklch(0.98 0.007 154.405);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.894 0.116 151.935);
--primary-foreground: oklch(0.396 0.111 147.107);
--secondary: oklch(0.757 0.118 295.7);
--secondary-foreground: oklch(0.243 0.122 285.068);
--accent: oklch(0.827 0.077 40.867);
--accent-foreground: oklch(0.319 0.087 39.223);
--destructive: oklch(0.64 0.234 32.908);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.116 151.935);
--chart-1: oklch(0.894 0.116 151.935);
--chart-2: oklch(0.757 0.118 295.7);
--chart-3: oklch(0.827 0.077 40.867);
--chart-4: oklch(0.791 0.101 296.27);
--chart-5: oklch(0.897 0.12 151.835);
}