Font is a shadcn/ui theme built around a muted teal primary color (#9ec2b5) with muted pink accents (#c29eaa). The light mode uses a neutral background (#f6fdfb). Dark mode keeps the muted teal primary (#9ec2b5) on a teal-tinted background (#060e0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfbmintcream | #060e0bblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #f2fcf9mintcream | #08120eblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f2fcf9mintcream | #08120eblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #9ec2b5darkgray | #9ec2b5darkgray |
| Primary foreground | #121c19black | #121c19black |
| Secondary | #c29eaadarkgray | #c29eaadarkgray |
| Secondary foreground | #1c1215black | #1c1215black |
| Muted | #ebe5e7linen | #1a1416black |
| Muted foreground | #493c40darkslategray | #c3b6bbsilver |
| Accent | #c29eaadarkgray | #c29eaadarkgray |
| Accent foreground | #1c1215black | #1c1215black |
| Destructive | #8d3107saddlebrown | #f6773ccoral |
| Destructive foreground | #fcdac9bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9ec2b5darkgray | #9ec2b5darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 7.63:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 9.29:1 | AAA |
| Accent | 7.63:1 | AAA |
| Destructive | 7.61:1 | AAA |
Paste this into your globals.css to use Font in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 173.342);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.008 353.808);
--muted-foreground: oklch(0.371 0.02 355.072);
--popover: oklch(0.984 0.012 173.223);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.012 173.223);
--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.784 0.043 171.872);
--primary-foreground: oklch(0.216 0.017 171.043);
--secondary: oklch(0.735 0.046 355.314);
--secondary-foreground: oklch(0.196 0.019 356.193);
--accent: oklch(0.735 0.046 355.314);
--accent-foreground: oklch(0.196 0.019 356.193);
--destructive: oklch(0.444 0.134 40.303);
--destructive-foreground: oklch(0.912 0.045 46.367);
--ring: oklch(0.784 0.043 171.872);
--chart-1: oklch(0.784 0.043 171.872);
--chart-2: oklch(0.735 0.046 355.314);
--chart-3: oklch(0.735 0.046 355.314);
--chart-4: oklch(0.761 0.041 355.082);
--chart-5: oklch(0.788 0.048 171.652);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.015 171.768);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.011 355.152);
--muted-foreground: oklch(0.789 0.016 354.163);
--popover: oklch(0.17 0.017 170.523);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.17 0.017 170.523);
--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.784 0.043 171.872);
--primary-foreground: oklch(0.216 0.017 171.043);
--secondary: oklch(0.735 0.046 355.314);
--secondary-foreground: oklch(0.196 0.019 356.193);
--accent: oklch(0.735 0.046 355.314);
--accent-foreground: oklch(0.196 0.019 356.193);
--destructive: oklch(0.708 0.171 43.471);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.784 0.043 171.872);
--chart-1: oklch(0.784 0.043 171.872);
--chart-2: oklch(0.735 0.046 355.314);
--chart-3: oklch(0.735 0.046 355.314);
--chart-4: oklch(0.761 0.041 355.082);
--chart-5: oklch(0.788 0.048 171.652);
}