Height is a shadcn/ui theme built around a light teal primary color (#a9dbd6) with muted teal accents (#b0cfcb). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the light teal primary (#a9dbd6) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020303black |
| Foreground | #061312black | #f8fcfbmintcream |
| Card | #f8fbfbghostwhite | #040706black |
| Card foreground | #050f0eblack | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #020303black |
| Popover foreground | #061312black | #f8fcfbmintcream |
| Primary | #a9dbd6lightblue | #a9dbd6lightblue |
| Primary foreground | #183a36darkslategray | #183a36darkslategray |
| Secondary | #c6d7d5lightgrey | #121716black |
| Secondary foreground | #2c3f3ddarkslategray | #a4b6b5darkgray |
| Muted | #e8eeedlavender | #111717black |
| Muted foreground | #364947darkslategray | #b6c9c7silver |
| Accent | #b0cfcblightsteelblue | #263635darkslategray |
| Accent foreground | #1d2f2edarkslategray | #bdd1cflightgrey |
| Destructive | #a12202firebrick | #ec3204orangered |
| Destructive foreground | #fedfd7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9dbd6lightblue | #a9dbd6lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.58:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 8.10:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 6.11:1 | AA |
| Text on background | 19.94:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.58:1 | AAA |
| Muted text | 10.46:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Height in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 190.04);
--foreground: oklch(0.175 0.019 187.576);
--muted: oklch(0.943 0.007 189.918);
--muted-foreground: oklch(0.39 0.024 188.606);
--popover: oklch(0.993 0.002 190.04);
--popover-foreground: oklch(0.175 0.019 187.576);
--card: oklch(0.987 0.003 190.002);
--card-foreground: oklch(0.159 0.017 188.121);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.855 0.052 188.631);
--primary-foreground: oklch(0.32 0.04 186.799);
--secondary: oklch(0.866 0.018 189.602);
--secondary-foreground: oklch(0.35 0.024 188.478);
--accent: oklch(0.83 0.033 189.155);
--accent-foreground: oklch(0.29 0.024 188.047);
--destructive: oklch(0.462 0.166 33.515);
--destructive-foreground: oklch(0.927 0.037 34.314);
--ring: oklch(0.855 0.052 188.631);
--chart-1: oklch(0.855 0.052 188.631);
--chart-2: oklch(0.866 0.018 189.602);
--chart-3: oklch(0.83 0.033 189.155);
--chart-4: oklch(0.887 0.015 189.689);
--chart-5: oklch(0.858 0.056 188.534);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.006 189.622);
--foreground: oklch(0.987 0.003 189.997);
--muted: oklch(0.2 0.009 188.988);
--muted-foreground: oklch(0.82 0.021 189.489);
--popover: oklch(0.096 0.006 189.622);
--popover-foreground: oklch(0.987 0.003 189.997);
--card: oklch(0.121 0.008 189.622);
--card-foreground: oklch(0.994 0.002 190.037);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.855 0.052 188.631);
--primary-foreground: oklch(0.32 0.04 186.799);
--secondary: oklch(0.198 0.007 189.265);
--secondary-foreground: oklch(0.763 0.02 189.473);
--accent: oklch(0.318 0.022 188.444);
--accent-foreground: oklch(0.845 0.022 189.479);
--destructive: oklch(0.612 0.225 32.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.855 0.052 188.631);
--chart-1: oklch(0.855 0.052 188.631);
--chart-2: oklch(0.198 0.007 189.265);
--chart-3: oklch(0.318 0.022 188.444);
--chart-4: oklch(0.233 0.009 189.169);
--chart-5: oklch(0.858 0.056 188.534);
}