Run is a shadcn/ui theme built around a green primary color (#6cd06c) with muted light green accents (#c2d6c2). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#6cd06c) on a green-tinted background (#070d07).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #070d07black |
| Foreground | #051405black | #f8fcf8mintcream |
| Card | #f7fdf7mintcream | #091109black |
| Card foreground | #041004black | #fcfdfcwhite |
| Popover | #fbfefbwhite | #070d07black |
| Popover foreground | #051405black | #f8fcf8mintcream |
| Primary | #6cd06cdarkseagreen | #6cd06cdarkseagreen |
| Primary foreground | #020802black | #020802black |
| Secondary | #c2d6c2silver | #283928darkslategray |
| Secondary foreground | #293d29darkslategray | #c0d3c0silver |
| Muted | #d1ebd1gainsboro | #142e14black |
| Muted foreground | #3d523ddarkslategray | #adc2addarkgray |
| Accent | #c2d6c2silver | #283928darkslategray |
| Accent foreground | #293d29darkslategray | #c0d3c0silver |
| Destructive | #6d0c03maroon | #f92410orangered |
| Destructive foreground | #fdada5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6cd06cdarkseagreen | #6cd06cdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.64:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 10.51:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 18.91:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 10.51:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 7.83:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Run in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 145.536);
--foreground: oklch(0.173 0.037 143.755);
--muted: oklch(0.914 0.045 145.193);
--muted-foreground: oklch(0.415 0.044 144.73);
--popover: oklch(0.994 0.005 145.536);
--popover-foreground: oklch(0.173 0.037 143.755);
--card: oklch(0.988 0.011 145.495);
--card-foreground: oklch(0.157 0.032 143.831);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.775 0.168 143.745);
--primary-foreground: oklch(0.121 0.022 144.052);
--secondary: oklch(0.855 0.034 145.273);
--secondary-foreground: oklch(0.336 0.042 144.577);
--accent: oklch(0.855 0.034 145.273);
--accent-foreground: oklch(0.336 0.042 144.577);
--destructive: oklch(0.344 0.131 30.595);
--destructive-foreground: oklch(0.822 0.095 25.089);
--ring: oklch(0.775 0.168 143.745);
--chart-1: oklch(0.775 0.168 143.745);
--chart-2: oklch(0.855 0.034 145.273);
--chart-3: oklch(0.855 0.034 145.273);
--chart-4: oklch(0.877 0.028 145.327);
--chart-5: oklch(0.78 0.176 143.662);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.017 144.649);
--foreground: oklch(0.986 0.006 145.533);
--muted: oklch(0.274 0.058 143.805);
--muted-foreground: oklch(0.793 0.038 145.207);
--popover: oklch(0.151 0.017 144.649);
--popover-foreground: oklch(0.986 0.006 145.533);
--card: oklch(0.165 0.02 144.579);
--card-foreground: oklch(0.993 0.003 145.555);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.775 0.168 143.745);
--primary-foreground: oklch(0.121 0.022 144.052);
--secondary: oklch(0.323 0.036 144.688);
--secondary-foreground: oklch(0.847 0.032 145.288);
--accent: oklch(0.323 0.036 144.688);
--accent-foreground: oklch(0.847 0.032 145.288);
--destructive: oklch(0.627 0.243 30.085);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.775 0.168 143.745);
--chart-1: oklch(0.775 0.168 143.745);
--chart-2: oklch(0.323 0.036 144.688);
--chart-3: oklch(0.323 0.036 144.688);
--chart-4: oklch(0.355 0.041 144.66);
--chart-5: oklch(0.78 0.176 143.662);
}