Hallway is a shadcn/ui theme built around a vivid pink primary color (#f8205e) with vivid blue accents (#205ef8). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid pink primary (#f8205e) on a neutral background (#070404).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070404black |
| Foreground | #000000black | #faf5f6whitesmoke |
| Card | #fefbfcsnow | #070404black |
| Card foreground | #000000black | #faf5f6whitesmoke |
| Popover | #fefbfcsnow | #070404black |
| Popover foreground | #000000black | #faf5f6whitesmoke |
| Primary | #f8205ecrimson | #f8205ecrimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5ef820lawngreen | #5ef820lawngreen |
| Secondary foreground | #174a02darkgreen | #174a02darkgreen |
| Muted | #dee6dbgainsboro | #1c2419black |
| Muted foreground | #3e4c38darkslategray | #b8c7b3silver |
| Accent | #205ef8royalblue | #205ef8royalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #760404maroon | #e20808red |
| Destructive foreground | #fcb0b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8205ecrimson | #f8205ecrimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 7.40:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 5.24:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 7.40:1 | AAA |
| Muted text | 8.99:1 | AAA |
| Accent | 5.24:1 | AA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Hallway in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 357.807);
--foreground: oklch(0 0 0);
--muted: oklch(0.916 0.017 136.665);
--muted-foreground: oklch(0.399 0.037 136.921);
--popover: oklch(0.991 0.003 357.807);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 357.807);
--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.633 0.24 13.563);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.862 0.266 139.483);
--secondary-foreground: oklch(0.361 0.112 139.17);
--accent: oklch(0.546 0.239 263.731);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.358 0.143 28.669);
--destructive-foreground: oklch(0.83 0.089 19.133);
--ring: oklch(0.633 0.24 13.563);
--chart-1: oklch(0.633 0.24 13.563);
--chart-2: oklch(0.862 0.266 139.483);
--chart-3: oklch(0.546 0.239 263.731);
--chart-4: oklch(0.867 0.258 139.051);
--chart-5: oklch(0.637 0.244 14.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.01 357.603);
--foreground: oklch(0.974 0.005 357.867);
--muted: oklch(0.249 0.023 136.92);
--muted-foreground: oklch(0.812 0.032 136.728);
--popover: oklch(0.11 0.01 357.603);
--popover-foreground: oklch(0.974 0.005 357.867);
--card: oklch(0.11 0.01 357.603);
--card-foreground: oklch(0.974 0.005 357.867);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.633 0.24 13.563);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.862 0.266 139.483);
--secondary-foreground: oklch(0.361 0.112 139.17);
--accent: oklch(0.546 0.239 263.731);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.576 0.234 28.97);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.633 0.24 13.563);
--chart-1: oklch(0.633 0.24 13.563);
--chart-2: oklch(0.862 0.266 139.483);
--chart-3: oklch(0.546 0.239 263.731);
--chart-4: oklch(0.867 0.258 139.051);
--chart-5: oklch(0.637 0.244 14.176);
}