Overhead is a shadcn/ui theme built around a vivid deep red primary color (#220402) with vivid deep cyan accents (#021f22). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid deep red primary (#220402) on a neutral background (#080303).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #080303black |
| Foreground | #080202black | #ffffffwhite |
| Card | #fcf8f7snow | #0b0504black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #fefbfbsnow | #080303black |
| Popover foreground | #080202black | #ffffffwhite |
| Primary | #220402black | #220402black |
| Primary foreground | #f76b5etomato | #f76b5etomato |
| Secondary | #021f22black | #021f22black |
| Secondary foreground | #0bd3e5darkturquoise | #0bd3e5darkturquoise |
| Muted | #f1f3f4whitesmoke | #0b0e0eblack |
| Muted foreground | #374749darkslategray | #b6c7c8silver |
| Accent | #021f22black | #021f22black |
| Accent foreground | #0bd3e5darkturquoise | #0bd3e5darkturquoise |
| Destructive | #682303maroon | #f97234tomato |
| Destructive foreground | #fcbea1lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #220402black | #220402black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 9.35:1 | AAA |
| Muted text | 8.74:1 | AAA |
| Accent | 9.35:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 9.35:1 | AAA |
| Muted text | 11.07:1 | AAA |
| Accent | 9.35:1 | AAA |
| Destructive | 7.49:1 | AAA |
Paste this into your globals.css to use Overhead in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 23.605);
--foreground: oklch(0.105 0.019 29.772);
--muted: oklch(0.963 0.003 203.557);
--muted-foreground: oklch(0.385 0.021 203.192);
--popover: oklch(0.991 0.002 23.605);
--popover-foreground: oklch(0.105 0.019 29.772);
--card: oklch(0.982 0.005 23.629);
--card-foreground: oklch(0.083 0.015 29.772);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.17 0.054 32.604);
--primary-foreground: oklch(0.698 0.175 27.657);
--secondary: oklch(0.22 0.036 203.426);
--secondary-foreground: oklch(0.791 0.134 205.911);
--accent: oklch(0.22 0.036 203.426);
--accent-foreground: oklch(0.791 0.134 205.911);
--destructive: oklch(0.357 0.106 41.084);
--destructive-foreground: oklch(0.851 0.082 45.97);
--ring: oklch(0.17 0.054 32.604);
--chart-1: oklch(0.17 0.054 32.604);
--chart-2: oklch(0.22 0.036 203.426);
--chart-3: oklch(0.22 0.036 203.426);
--chart-4: oklch(0.271 0.044 204.168);
--chart-5: oklch(0.17 0.056 33.237);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.014 27.528);
--foreground: oklch(1 0 180);
--muted: oklch(0.16 0.004 203.376);
--muted-foreground: oklch(0.817 0.018 203.391);
--popover: oklch(0.108 0.014 27.528);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.016 27.491);
--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.17 0.054 32.604);
--primary-foreground: oklch(0.698 0.175 27.657);
--secondary: oklch(0.22 0.036 203.426);
--secondary-foreground: oklch(0.791 0.134 205.911);
--accent: oklch(0.22 0.036 203.426);
--accent-foreground: oklch(0.791 0.134 205.911);
--destructive: oklch(0.705 0.18 42.934);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.17 0.054 32.604);
--chart-1: oklch(0.17 0.054 32.604);
--chart-2: oklch(0.22 0.036 203.426);
--chart-3: oklch(0.22 0.036 203.426);
--chart-4: oklch(0.271 0.044 204.168);
--chart-5: oklch(0.17 0.056 33.237);
}