Runny is a shadcn/ui theme built around a green primary color (#72cf82) with muted light green accents (#c5d8c8). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#72cf82) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020803black |
| Foreground | #041507black | #f6f9f6whitesmoke |
| Card | #fcfcfcsnow | #030c05black |
| Card foreground | #031106black | #f9fbf9mintcream |
| Popover | #fcfcfcsnow | #030c05black |
| Popover foreground | #031106black | #f9fbf9mintcream |
| Primary | #72cf82darkseagreen | #72cf82darkseagreen |
| Primary foreground | #040b05black | #040b05black |
| Secondary | #e3e8e4gainsboro | #131613black |
| Secondary foreground | #445547darkslategray | #a6b5a9darkgray |
| Muted | #f1f4f1whitesmoke | #0b0e0cblack |
| Muted foreground | #4c6750darkolivegreen | #98b39ddarkseagreen |
| Accent | #c5d8c8lightgrey | #243227darkslategray |
| Accent foreground | #2b402edarkslategray | #bbcebesilver |
| Destructive | #912308saddlebrown | #ed390corangered |
| Destructive foreground | #fcd8cfbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #72cf82darkseagreen | #72cf82darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.82:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 10.38:1 | AAA |
| Secondary button | 6.42:1 | AA |
| Muted text | 5.61:1 | AA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 10.38:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Runny in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.177 0.039 148.304);
--muted: oklch(0.963 0.004 150.766);
--muted-foreground: oklch(0.484 0.048 149.375);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.16 0.034 148.921);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.16 0.034 148.921);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.777 0.141 147.919);
--primary-foreground: oklch(0.139 0.021 149.901);
--secondary: oklch(0.926 0.009 150.693);
--secondary-foreground: oklch(0.43 0.031 149.784);
--accent: oklch(0.864 0.03 150.331);
--accent-foreground: oklch(0.349 0.041 149.056);
--destructive: oklch(0.435 0.15 33.968);
--destructive-foreground: oklch(0.91 0.043 34.328);
--ring: oklch(0.777 0.141 147.919);
--chart-1: oklch(0.777 0.141 147.919);
--chart-2: oklch(0.926 0.009 150.693);
--chart-3: oklch(0.864 0.03 150.331);
--chart-4: oklch(0.949 0.006 150.734);
--chart-5: oklch(0.783 0.148 147.752);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.021 149.826);
--foreground: oklch(0.979 0.004 150.762);
--muted: oklch(0.16 0.006 150.29);
--muted-foreground: oklch(0.741 0.043 149.99);
--popover: oklch(0.141 0.024 149.742);
--popover-foreground: oklch(0.986 0.003 150.782);
--card: oklch(0.141 0.024 149.742);
--card-foreground: oklch(0.986 0.003 150.782);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.777 0.141 147.919);
--primary-foreground: oklch(0.139 0.021 149.901);
--secondary: oklch(0.196 0.008 150.226);
--secondary-foreground: oklch(0.757 0.024 150.384);
--accent: oklch(0.302 0.028 149.472);
--accent-foreground: oklch(0.832 0.03 150.324);
--destructive: oklch(0.621 0.221 33.465);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.777 0.141 147.919);
--chart-1: oklch(0.777 0.141 147.919);
--chart-2: oklch(0.196 0.008 150.226);
--chart-3: oklch(0.302 0.028 149.472);
--chart-4: oklch(0.231 0.011 150.152);
--chart-5: oklch(0.783 0.148 147.752);
}