Run is a shadcn/ui theme built around a light green primary color (#b8d5af) with light red accents (#d5afb8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#b8d5af) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020401black |
| Foreground | #030802black | #ffffffwhite |
| Card | #ffffffwhite | #020401black |
| Card foreground | #030802black | #ffffffwhite |
| Popover | #ffffffwhite | #020401black |
| Popover foreground | #030802black | #ffffffwhite |
| Primary | #b8d5afsilver | #b8d5afsilver |
| Primary foreground | #22351cdarkslategray | #22351cdarkslategray |
| Secondary | #afb8d5lightsteelblue | #afb8d5lightsteelblue |
| Secondary foreground | #1c2235darkslategray | #1c2235darkslategray |
| Muted | #dbdfebgainsboro | #141824black |
| Muted foreground | #3e414cdarkslategray | #b3b6c1silver |
| Accent | #d5afb8silver | #d5afb8silver |
| Accent foreground | #351c22darkslategray | #351c22darkslategray |
| Destructive | #c61f10firebrick | #d92212firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b8d5afsilver | #b8d5afsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.24:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 7.61:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 8.24:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 8.76:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Run in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.023 136.508);
--muted: oklch(0.903 0.017 272.449);
--muted-foreground: oklch(0.377 0.019 272.086);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.023 136.508);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.023 136.508);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.841 0.06 138.415);
--primary-foreground: oklch(0.306 0.05 138.622);
--secondary: oklch(0.784 0.043 272.019);
--secondary-foreground: oklch(0.256 0.038 270.624);
--accent: oklch(0.79 0.046 2.526);
--accent-foreground: oklch(0.263 0.041 5.171);
--destructive: oklch(0.531 0.202 30.086);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.841 0.06 138.415);
--chart-1: oklch(0.841 0.06 138.415);
--chart-2: oklch(0.784 0.043 272.019);
--chart-3: oklch(0.79 0.046 2.526);
--chart-4: oklch(0.812 0.037 272.135);
--chart-5: oklch(0.844 0.066 138.425);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 137.011);
--foreground: oklch(1 0 180);
--muted: oklch(0.21 0.026 271.042);
--muted-foreground: oklch(0.778 0.015 272.445);
--popover: oklch(0.097 0.013 137.011);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.013 137.011);
--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.841 0.06 138.415);
--primary-foreground: oklch(0.306 0.05 138.622);
--secondary: oklch(0.784 0.043 272.019);
--secondary-foreground: oklch(0.256 0.038 270.624);
--accent: oklch(0.79 0.046 2.526);
--accent-foreground: oklch(0.263 0.041 5.171);
--destructive: oklch(0.568 0.216 30.09);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.841 0.06 138.415);
--chart-1: oklch(0.841 0.06 138.415);
--chart-2: oklch(0.784 0.043 272.019);
--chart-3: oklch(0.79 0.046 2.526);
--chart-4: oklch(0.812 0.037 272.135);
--chart-5: oklch(0.844 0.066 138.425);
}