Font is a shadcn/ui theme built around a deep cyan primary color (#195a67) with deep green accents (#5a6719). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#195a67) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #040e10black | #f5f9f9whitesmoke |
| Card | #ffffffwhite | #020303black |
| Card foreground | #040e10black | #f5f9f9whitesmoke |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #040e10black | #f5f9f9whitesmoke |
| Primary | #195a67darkslategray | #195a67darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #67195apurple | #67195apurple |
| Secondary foreground | #f0c1e8thistle | #f0c1e8thistle |
| Muted | #e5d7e2gainsboro | #281a26black |
| Muted foreground | #5f585edimgray | #a7a0a6darkgray |
| Accent | #5a6719darkolivegreen | #5a6719darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #923d0csaddlebrown | #ed6f26chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #195a67darkslategray | #195a67darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 4.97:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 7.23:1 | AAA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Font in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.155 0.017 209.979);
--muted: oklch(0.893 0.022 331.147);
--muted-foreground: oklch(0.47 0.013 331.204);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.155 0.017 209.979);
--card: oklch(1 0 180);
--card-foreground: oklch(0.155 0.017 209.979);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.433 0.066 213.967);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.368 0.134 335.537);
--secondary-foreground: oklch(0.865 0.073 331.922);
--accent: oklch(0.486 0.101 118.634);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.469 0.128 44.778);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.433 0.066 213.967);
--chart-1: oklch(0.433 0.066 213.967);
--chart-2: oklch(0.368 0.134 335.537);
--chart-3: oklch(0.486 0.101 118.634);
--chart-4: oklch(0.397 0.146 335.611);
--chart-5: oklch(0.436 0.068 214.247);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 208.695);
--foreground: oklch(0.979 0.004 211.041);
--muted: oklch(0.241 0.03 332.408);
--muted-foreground: oklch(0.712 0.012 331.05);
--popover: oklch(0.095 0.006 208.695);
--popover-foreground: oklch(0.979 0.004 211.041);
--card: oklch(0.095 0.006 208.695);
--card-foreground: oklch(0.979 0.004 211.041);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.433 0.066 213.967);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.368 0.134 335.537);
--secondary-foreground: oklch(0.865 0.073 331.922);
--accent: oklch(0.486 0.101 118.634);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.683 0.175 46.064);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.433 0.066 213.967);
--chart-1: oklch(0.433 0.066 213.967);
--chart-2: oklch(0.368 0.134 335.537);
--chart-3: oklch(0.486 0.101 118.634);
--chart-4: oklch(0.397 0.146 335.611);
--chart-5: oklch(0.436 0.068 214.247);
}