Rundown is a shadcn/ui theme built around a violet primary color (#b89cc9) with teal accents (#9cc9b8). The light mode uses a neutral background (#faf8fc). Dark mode keeps the violet primary (#b89cc9) on a neutral background (#060208).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #060208black |
| Foreground | #000000black | #faf8fbghostwhite |
| Card | #f8f4fawhitesmoke | #09040cblack |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #faf8fcghostwhite | #060208black |
| Popover foreground | #000000black | #faf8fbghostwhite |
| Primary | #b89cc9darkgray | #b89cc9darkgray |
| Primary foreground | #1b1221black | #1b1221black |
| Secondary | #c9b89ctan | #c9b89ctan |
| Secondary foreground | #211b12black | #211b12black |
| Muted | #e9e4dcgainsboro | #231e16black |
| Muted foreground | #575147darkolivegreen | #b8b2a8darkgray |
| Accent | #9cc9b8darkgray | #9cc9b8darkgray |
| Accent foreground | #12211bblack | #12211bblack |
| Destructive | #91140ddarkred | #ed443btomato |
| Destructive foreground | #fbd7d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b89cc9darkgray | #b89cc9darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 6.23:1 | AA |
| Accent | 9.12:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 9.12:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Rundown in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 312.943);
--foreground: oklch(0 0 0);
--muted: oklch(0.922 0.012 79.908);
--muted-foreground: oklch(0.437 0.017 79.795);
--popover: oklch(0.982 0.006 312.943);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.009 312.921);
--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.732 0.072 312.315);
--primary-foreground: oklch(0.201 0.033 311.847);
--secondary: oklch(0.79 0.044 79.689);
--secondary-foreground: oklch(0.227 0.019 79.339);
--accent: oklch(0.8 0.054 169.456);
--accent-foreground: oklch(0.232 0.024 168.134);
--destructive: oklch(0.422 0.159 29.14);
--destructive-foreground: oklch(0.909 0.041 21.499);
--ring: oklch(0.732 0.072 312.315);
--chart-1: oklch(0.732 0.072 312.315);
--chart-2: oklch(0.79 0.044 79.689);
--chart-3: oklch(0.8 0.054 169.456);
--chart-4: oklch(0.811 0.039 79.743);
--chart-5: oklch(0.729 0.079 312.244);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.021 314.743);
--foreground: oklch(0.983 0.004 312.954);
--muted: oklch(0.236 0.016 79.549);
--muted-foreground: oklch(0.765 0.015 79.887);
--popover: oklch(0.104 0.021 314.743);
--popover-foreground: oklch(0.983 0.004 312.954);
--card: oklch(0.12 0.025 314.516);
--card-foreground: oklch(0.991 0.002 312.97);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.732 0.072 312.315);
--primary-foreground: oklch(0.201 0.033 311.847);
--secondary: oklch(0.79 0.044 79.689);
--secondary-foreground: oklch(0.227 0.019 79.339);
--accent: oklch(0.8 0.054 169.456);
--accent-foreground: oklch(0.232 0.024 168.134);
--destructive: oklch(0.632 0.207 27.752);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.732 0.072 312.315);
--chart-1: oklch(0.732 0.072 312.315);
--chart-2: oklch(0.79 0.044 79.689);
--chart-3: oklch(0.8 0.054 169.456);
--chart-4: oklch(0.811 0.039 79.743);
--chart-5: oklch(0.729 0.079 312.244);
}