Rundown is a shadcn/ui theme built around a deep green primary color (#07180d) with deep pink accents (#180712). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#07180d) on a green-tinted background (#050f09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050f09black |
| Foreground | #06140bblack | #f6f8f7whitesmoke |
| Card | #ffffffwhite | #050f09black |
| Card foreground | #06140bblack | #f6f8f7whitesmoke |
| Popover | #ffffffwhite | #050f09black |
| Popover foreground | #06140bblack | #f6f8f7whitesmoke |
| Primary | #07180dblack | #07180dblack |
| Primary foreground | #36b564mediumseagreen | #36b564mediumseagreen |
| Secondary | #180712black | #180712black |
| Secondary foreground | #d779b5orchid | #d779b5orchid |
| Muted | #ecd5e3gainsboro | #2a1322black |
| Muted foreground | #715667dimgray | #a98e9frosybrown |
| Accent | #180712black | #180712black |
| Accent foreground | #d779b5orchid | #d779b5orchid |
| Destructive | #881f01darkred | #f23602orangered |
| Destructive foreground | #fecbbdpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07180dblack | #07180dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.77:1 | AA |
| Muted text | 4.70:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 18.24:1 | AAA |
| Text on card | 18.24:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.77:1 | AA |
| Muted text | 5.80:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 3.94: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.174 0.028 155.594);
--muted: oklch(0.896 0.031 339.454);
--muted-foreground: oklch(0.486 0.045 340.601);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.174 0.028 155.594);
--card: oklch(1 0 180);
--card-foreground: oklch(0.174 0.028 155.594);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.189 0.031 154.686);
--primary-foreground: oklch(0.684 0.16 151.422);
--secondary: oklch(0.161 0.035 342.724);
--secondary-foreground: oklch(0.699 0.136 342.598);
--accent: oklch(0.161 0.035 342.724);
--accent-foreground: oklch(0.699 0.136 342.598);
--destructive: oklch(0.413 0.145 34.537);
--destructive-foreground: oklch(0.884 0.061 35.974);
--ring: oklch(0.189 0.031 154.686);
--chart-1: oklch(0.189 0.031 154.686);
--chart-2: oklch(0.161 0.035 342.724);
--chart-3: oklch(0.161 0.035 342.724);
--chart-4: oklch(0.195 0.049 343.743);
--chart-5: oklch(0.19 0.033 154.541);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.02 157.292);
--foreground: oklch(0.978 0.003 158.651);
--muted: oklch(0.227 0.044 342.552);
--muted-foreground: oklch(0.676 0.041 339.984);
--popover: oklch(0.156 0.02 157.292);
--popover-foreground: oklch(0.978 0.003 158.651);
--card: oklch(0.156 0.02 157.292);
--card-foreground: oklch(0.978 0.003 158.651);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.189 0.031 154.686);
--primary-foreground: oklch(0.684 0.16 151.422);
--secondary: oklch(0.161 0.035 342.724);
--secondary-foreground: oklch(0.699 0.136 342.598);
--accent: oklch(0.161 0.035 342.724);
--accent-foreground: oklch(0.699 0.136 342.598);
--destructive: oklch(0.627 0.228 33.399);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.189 0.031 154.686);
--chart-1: oklch(0.189 0.031 154.686);
--chart-2: oklch(0.161 0.035 342.724);
--chart-3: oklch(0.161 0.035 342.724);
--chart-4: oklch(0.195 0.049 343.743);
--chart-5: oklch(0.19 0.033 154.541);
}