Highland is a shadcn/ui theme built around a yellow primary color (#7d7926) with green accents (#567d26). The light mode uses a neutral background (#fefefb). Dark mode keeps the yellow primary (#7d7926) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #000000black |
| Foreground | #000000black | #fbfbf9snow |
| Card | #fefefbwhite | #000000black |
| Card foreground | #000000black | #fbfbf9snow |
| Popover | #fefefbwhite | #000000black |
| Popover foreground | #000000black | #fbfbf9snow |
| Primary | #7d7926olivedrab | #7d7926olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7d4d26saddlebrown | #7d4d26saddlebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7dacfgainsboro | #302218black |
| Muted foreground | #5b534ddimgray | #b2aaa4darkgray |
| Accent | #567d26darkolivegreen | #567d26darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9d1902darkred | #f72702orangered |
| Destructive foreground | #ffd8d2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d7926olivedrab | #7d7926olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 4.55:1 | AA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 4.82:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 4.55:1 | AA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 4.82:1 | AA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Highland in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 104.042);
--foreground: oklch(0 0 0);
--muted: oklch(0.896 0.021 61.881);
--muted-foreground: oklch(0.449 0.014 61.779);
--popover: oklch(0.996 0.004 104.042);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.996 0.004 104.042);
--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.562 0.102 106.32);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.468 0.084 57.91);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.123 130.448);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.447 0.169 31.9);
--destructive-foreground: oklch(0.914 0.044 29.713);
--ring: oklch(0.562 0.102 106.32);
--chart-1: oklch(0.562 0.102 106.32);
--chart-2: oklch(0.468 0.084 57.91);
--chart-3: oklch(0.542 0.123 130.448);
--chart-4: oklch(0.498 0.09 57.818);
--chart-5: oklch(0.569 0.106 106.332);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.002 104.014);
--muted: oklch(0.267 0.028 60.476);
--muted-foreground: oklch(0.743 0.012 61.976);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.002 104.014);
--card: oklch(0 0 0);
--card-foreground: oklch(0.987 0.002 104.014);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.562 0.102 106.32);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.468 0.084 57.91);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.123 130.448);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.626 0.241 31.315);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.562 0.102 106.32);
--chart-1: oklch(0.562 0.102 106.32);
--chart-2: oklch(0.468 0.084 57.91);
--chart-3: oklch(0.542 0.123 130.448);
--chart-4: oklch(0.498 0.09 57.818);
--chart-5: oklch(0.569 0.106 106.332);
}