Rundown is a shadcn/ui theme built around a blue primary color (#8ec3ec) with muted light blue accents (#c1cdd7). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#8ec3ec) on a blue-tinted background (#050b0f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050b0fblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #070e13black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #070e13black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #8ec3ecskyblue | #8ec3ecskyblue |
| Primary foreground | #0a273dmidnightblue | #0a273dmidnightblue |
| Secondary | #dee4e7gainsboro | #293138darkslategray |
| Secondary foreground | #3e4c56darkslategray | #c1cbd2lightgrey |
| Muted | #dbe1e6gainsboro | #191f24black |
| Muted foreground | #636363dimgray | #9c9c9cdarkgray |
| Accent | #c1cdd7lightgrey | #344450darkslategray |
| Accent foreground | #28343edarkslategray | #d4dce3gainsboro |
| Destructive | #cb0e01firebrick | #fe3325orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8ec3ecskyblue | #8ec3ecskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 6.88:1 | AA |
| Muted text | 4.55:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 5.82:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Rundown in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.907 0.01 240.434);
--muted-foreground: oklch(0.501 0 180);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.795 0.081 241.927);
--primary-foreground: oklch(0.264 0.053 245.111);
--secondary: oklch(0.915 0.008 240.398);
--secondary-foreground: oklch(0.407 0.024 241.16);
--accent: oklch(0.843 0.019 240.604);
--accent-foreground: oklch(0.32 0.024 241.442);
--destructive: oklch(0.532 0.213 29.91);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.795 0.081 241.927);
--chart-1: oklch(0.795 0.081 241.927);
--chart-2: oklch(0.915 0.008 240.398);
--chart-3: oklch(0.843 0.019 240.604);
--chart-4: oklch(0.938 0.006 240.364);
--chart-5: oklch(0.795 0.084 242.013);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.014 237.819);
--foreground: oklch(0.992 0.001 240.3);
--muted: oklch(0.237 0.014 241.13);
--muted-foreground: oklch(0.691 0 180);
--popover: oklch(0.157 0.016 240.395);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.016 240.395);
--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.795 0.081 241.927);
--primary-foreground: oklch(0.264 0.053 245.111);
--secondary: oklch(0.31 0.017 241.087);
--secondary-foreground: oklch(0.836 0.015 240.53);
--accent: oklch(0.379 0.029 241.448);
--accent-foreground: oklch(0.891 0.013 240.482);
--destructive: oklch(0.646 0.237 29.447);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.795 0.081 241.927);
--chart-1: oklch(0.795 0.081 241.927);
--chart-2: oklch(0.31 0.017 241.087);
--chart-3: oklch(0.379 0.029 241.448);
--chart-4: oklch(0.34 0.019 241.114);
--chart-5: oklch(0.795 0.084 242.013);
}