High-level is a shadcn/ui theme built around a vivid deep teal primary color (#068449) with muted light teal accents (#c7d6cf). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep teal primary (#068449) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #010403black |
| Foreground | #010403black | #f5faf8mintcream |
| Card | #f4fbf8mintcream | #020805black |
| Card foreground | #000000black | #f8fbfamintcream |
| Popover | #f8fcfamintcream | #010403black |
| Popover foreground | #010403black | #f5faf8mintcream |
| Primary | #068449seagreen | #068449seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dfe2e1gainsboro | #18201cblack |
| Secondary foreground | #434c48darkslategray | #aac0b6silver |
| Muted | #dbf0e6gainsboro | #0f241ablack |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #c7d6cflightgrey | #2a4136darkslategray |
| Accent foreground | #2e3e36darkslategray | #c4d9cflightgrey |
| Destructive | #d94008orangered | #f7622btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #068449seagreen | #068449seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 6.80:1 | AA |
| Muted text | 8.68:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 4.50:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 8.63:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 7.44:1 | AAA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use High-level in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 166.746);
--foreground: oklch(0.098 0.012 167.107);
--muted: oklch(0.937 0.025 166.163);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.988 0.006 166.746);
--popover-foreground: oklch(0.098 0.012 167.107);
--card: oklch(0.982 0.009 166.663);
--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.538 0.133 154.384);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.91 0.005 166.77);
--secondary-foreground: oklch(0.406 0.013 166.016);
--accent: oklch(0.863 0.018 166.322);
--accent-foreground: oklch(0.346 0.025 164.794);
--destructive: oklch(0.59 0.197 36.255);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.538 0.133 154.384);
--chart-1: oklch(0.538 0.133 154.384);
--chart-2: oklch(0.91 0.005 166.77);
--chart-3: oklch(0.863 0.018 166.322);
--chart-4: oklch(0.933 0.003 166.808);
--chart-5: oklch(0.543 0.136 154.071);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.013 167.113);
--foreground: oklch(0.98 0.006 166.746);
--muted: oklch(0.238 0.033 162.329);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.098 0.013 167.113);
--popover-foreground: oklch(0.98 0.006 166.746);
--card: oklch(0.124 0.016 167.113);
--card-foreground: oklch(0.987 0.004 166.801);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.538 0.133 154.384);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.235 0.014 165.13);
--secondary-foreground: oklch(0.788 0.028 165.897);
--accent: oklch(0.352 0.034 163.95);
--accent-foreground: oklch(0.867 0.025 166.087);
--destructive: oklch(0.68 0.195 38.785);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.538 0.133 154.384);
--chart-1: oklch(0.538 0.133 154.384);
--chart-2: oklch(0.235 0.014 165.13);
--chart-3: oklch(0.352 0.034 163.95);
--chart-4: oklch(0.269 0.018 164.993);
--chart-5: oklch(0.543 0.136 154.071);
}