Runny is a shadcn/ui theme built around a vivid deep orange primary color (#4a2307) with vivid deep yellow accents (#4a4507). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid deep orange primary (#4a2307) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #000000black |
| Foreground | #160b03black | #faf7f5whitesmoke |
| Card | #faf7f5whitesmoke | #030303black |
| Card foreground | #120903black | #fcfaf8snow |
| Popover | #fbfaf8snow | #000000black |
| Popover foreground | #160b03black | #faf7f5whitesmoke |
| Primary | #4a2307maroon | #4a2307maroon |
| Primary foreground | #f4b990burlywood | #f4b990burlywood |
| Secondary | #4a070dmaroon | #4a070dmaroon |
| Secondary foreground | #f49098lightcoral | #f49098lightcoral |
| Muted | #f4f1f1whitesmoke | #0e0b0cblack |
| Muted foreground | #4c383adarkslategray | #c7b3b4silver |
| Accent | #4a4507darkolivegreen | #4a4507darkolivegreen |
| Accent foreground | #ebdb33gold | #ebdb33gold |
| Destructive | #812d09saddlebrown | #f16f37tomato |
| Destructive foreground | #fbd2c1peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a2307maroon | #4a2307maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.56:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 9.65:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 9.81:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Runny in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 58.326);
--foreground: oklch(0.164 0.027 61.661);
--muted: oklch(0.96 0.003 11.312);
--muted-foreground: oklch(0.365 0.028 12.984);
--popover: oklch(0.985 0.003 58.326);
--popover-foreground: oklch(0.164 0.027 61.661);
--card: oklch(0.978 0.004 58.308);
--card-foreground: oklch(0.15 0.024 65.365);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.306 0.07 51.704);
--primary-foreground: oklch(0.831 0.088 56.718);
--secondary: oklch(0.267 0.097 23.072);
--secondary-foreground: oklch(0.76 0.122 15.019);
--accent: oklch(0.383 0.076 103.842);
--accent-foreground: oklch(0.879 0.173 103.888);
--destructive: oklch(0.416 0.124 39.862);
--destructive-foreground: oklch(0.895 0.051 44.494);
--ring: oklch(0.306 0.07 51.704);
--chart-1: oklch(0.306 0.07 51.704);
--chart-2: oklch(0.267 0.097 23.072);
--chart-3: oklch(0.383 0.076 103.842);
--chart-4: oklch(0.298 0.11 23.698);
--chart-5: oklch(0.307 0.073 51.385);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.004 58.3);
--muted: oklch(0.155 0.004 11.872);
--muted-foreground: oklch(0.783 0.023 11.892);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.004 58.3);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.003 58.321);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.306 0.07 51.704);
--primary-foreground: oklch(0.831 0.088 56.718);
--secondary: oklch(0.267 0.097 23.072);
--secondary-foreground: oklch(0.76 0.122 15.019);
--accent: oklch(0.383 0.076 103.842);
--accent-foreground: oklch(0.879 0.173 103.888);
--destructive: oklch(0.689 0.175 41.904);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.306 0.07 51.704);
--chart-1: oklch(0.306 0.07 51.704);
--chart-2: oklch(0.267 0.097 23.072);
--chart-3: oklch(0.383 0.076 103.842);
--chart-4: oklch(0.298 0.11 23.698);
--chart-5: oklch(0.307 0.073 51.385);
}