Term is a shadcn/ui theme built around a cyan primary color (#80bcd6) with blue accents (#8091d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#80bcd6) on a cyan-tinted background (#03090c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03090cblack |
| Foreground | #03090cblack | #fcfdfdwhite |
| Card | #fcfcfcsnow | #050c10black |
| Card foreground | #020608black | #ffffffwhite |
| Popover | #fcfcfcsnow | #050c10black |
| Popover foreground | #020608black | #ffffffwhite |
| Primary | #80bcd6skyblue | #80bcd6skyblue |
| Primary foreground | #09151bblack | #09151bblack |
| Secondary | #80d6c5mediumaquamarine | #80d6c5mediumaquamarine |
| Secondary foreground | #091b17black | #091b17black |
| Muted | #d9e7e5gainsboro | #182623black |
| Muted foreground | #405450darkslategray | #abbfbbsilver |
| Accent | #8091d6cornflowerblue | #8091d6cornflowerblue |
| Accent foreground | #090c1bblack | #090c1bblack |
| Destructive | #a41a04firebrick | #fa4e33tomato |
| Destructive foreground | #fee1dcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #80bcd6skyblue | #80bcd6skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 8.88:1 | AAA |
| Secondary button | 10.42:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 19.62:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 8.88:1 | AAA |
| Secondary button | 10.42:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 6.42:1 | AA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Term in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.135 0.014 220.12);
--muted: oklch(0.918 0.015 182.72);
--muted-foreground: oklch(0.428 0.026 181.387);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.118 0.012 219.227);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.118 0.012 219.227);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.763 0.072 226.716);
--primary-foreground: oklch(0.189 0.021 227.228);
--secondary: oklch(0.816 0.087 179.747);
--secondary-foreground: oklch(0.205 0.025 179.031);
--accent: oklch(0.671 0.104 272.612);
--accent-foreground: oklch(0.161 0.031 271.72);
--destructive: oklch(0.463 0.175 31.363);
--destructive-foreground: oklch(0.932 0.033 28.154);
--ring: oklch(0.763 0.072 226.716);
--chart-1: oklch(0.763 0.072 226.716);
--chart-2: oklch(0.816 0.087 179.747);
--chart-3: oklch(0.671 0.104 272.612);
--chart-4: oklch(0.832 0.08 180.162);
--chart-5: oklch(0.765 0.076 226.86);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.014 220.23);
--foreground: oklch(0.993 0.001 224.989);
--muted: oklch(0.253 0.02 180.804);
--muted-foreground: oklch(0.789 0.023 182.356);
--popover: oklch(0.149 0.016 223.566);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.149 0.016 223.566);
--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.763 0.072 226.716);
--primary-foreground: oklch(0.189 0.021 227.228);
--secondary: oklch(0.816 0.087 179.747);
--secondary-foreground: oklch(0.205 0.025 179.031);
--accent: oklch(0.671 0.104 272.612);
--accent-foreground: oklch(0.161 0.031 271.72);
--destructive: oklch(0.662 0.213 31.602);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.763 0.072 226.716);
--chart-1: oklch(0.763 0.072 226.716);
--chart-2: oklch(0.816 0.087 179.747);
--chart-3: oklch(0.671 0.104 272.612);
--chart-4: oklch(0.832 0.08 180.162);
--chart-5: oklch(0.765 0.076 226.86);
}