Neighboring is a shadcn/ui theme built around an orange primary color (#e79b65) with blue accents (#65b1e7). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#e79b65) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0705black |
| Foreground | #080502black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #0e0a06black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #ffffffwhite | #0a0705black |
| Popover foreground | #080502black | #fdfcfcsnow |
| Primary | #e79b65sandybrown | #e79b65sandybrown |
| Primary foreground | #160b03black | #160b03black |
| Secondary | #65b1e7cornflowerblue | #65b1e7cornflowerblue |
| Secondary foreground | #030e16black | #030e16black |
| Muted | #eff3f5whitesmoke | #0a0d10black |
| Muted foreground | #5a6268dimgray | #979fa5darkgray |
| Accent | #65b1e7cornflowerblue | #65b1e7cornflowerblue |
| Accent foreground | #030e16black | #030e16black |
| Destructive | #c72905firebrick | #f94b24orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e79b65sandybrown | #e79b65sandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.55:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 5.61:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 8.30:1 | AAA |
| Destructive | 3.45:1 | AA Large |
Paste this into your globals.css to use Neighboring in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.012 66.096);
--muted: oklch(0.961 0.005 238.438);
--muted-foreground: oklch(0.491 0.013 238.757);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.117 0.012 66.096);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.093 0.009 66.096);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.753 0.115 55.523);
--primary-foreground: oklch(0.163 0.026 61.426);
--secondary: oklch(0.732 0.109 241.469);
--secondary-foreground: oklch(0.158 0.025 237.482);
--accent: oklch(0.732 0.109 241.469);
--accent-foreground: oklch(0.158 0.025 237.482);
--destructive: oklch(0.538 0.197 32.664);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.115 55.523);
--chart-1: oklch(0.753 0.115 55.523);
--chart-2: oklch(0.732 0.109 241.469);
--chart-3: oklch(0.732 0.109 241.469);
--chart-4: oklch(0.754 0.101 240.957);
--chart-5: oklch(0.755 0.12 55.346);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.009 63.704);
--foreground: oklch(0.993 0.001 58.348);
--muted: oklch(0.158 0.008 239.121);
--muted-foreground: oklch(0.699 0.012 238.614);
--popover: oklch(0.133 0.009 63.704);
--popover-foreground: oklch(0.993 0.001 58.348);
--card: oklch(0.147 0.011 61.137);
--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.753 0.115 55.523);
--primary-foreground: oklch(0.163 0.026 61.426);
--secondary: oklch(0.732 0.109 241.469);
--secondary-foreground: oklch(0.158 0.025 237.482);
--accent: oklch(0.732 0.109 241.469);
--accent-foreground: oklch(0.158 0.025 237.482);
--destructive: oklch(0.658 0.216 33.777);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.115 55.523);
--chart-1: oklch(0.753 0.115 55.523);
--chart-2: oklch(0.732 0.109 241.469);
--chart-3: oklch(0.732 0.109 241.469);
--chart-4: oklch(0.754 0.101 240.957);
--chart-5: oklch(0.755 0.12 55.346);
}