Fondue is a shadcn/ui theme built around a cyan primary color (#79c9ec) with orange accents (#ec9c79). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#79c9ec) on a cyan-tinted background (#070c0e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070c0eblack |
| Foreground | #041016black | #f8fbfcghostwhite |
| Card | #ffffffwhite | #070c0eblack |
| Card foreground | #041016black | #f8fbfcghostwhite |
| Popover | #ffffffwhite | #070c0eblack |
| Popover foreground | #041016black | #f8fbfcghostwhite |
| Primary | #79c9ecskyblue | #79c9ecskyblue |
| Primary foreground | #06212dblack | #06212dblack |
| Secondary | #ec9c79darksalmon | #ec9c79darksalmon |
| Secondary foreground | #2d1206black | #2d1206black |
| Muted | #e9e1ddgainsboro | #221a16black |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #ec9c79darksalmon | #ec9c79darksalmon |
| Accent foreground | #2d1206black | #2d1206black |
| Destructive | #aa3109firebrick | #e4420corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #79c9ecskyblue | #79c9ecskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 9.04:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 4.43:1 | AA Large |
| Accent | 7.96:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 9.04:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Fondue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.165 0.023 225.322);
--muted: oklch(0.914 0.01 44.874);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.165 0.023 225.322);
--card: oklch(1 0 180);
--card-foreground: oklch(0.165 0.023 225.322);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.798 0.093 227.457);
--primary-foreground: oklch(0.234 0.039 229.846);
--secondary: oklch(0.764 0.108 43.911);
--secondary-foreground: oklch(0.22 0.049 43.478);
--accent: oklch(0.764 0.108 43.911);
--accent-foreground: oklch(0.22 0.049 43.478);
--destructive: oklch(0.493 0.163 36.105);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.093 227.457);
--chart-1: oklch(0.798 0.093 227.457);
--chart-2: oklch(0.764 0.108 43.911);
--chart-3: oklch(0.764 0.108 43.911);
--chart-4: oklch(0.786 0.096 44.058);
--chart-5: oklch(0.8 0.096 227.603);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.01 224.174);
--foreground: oklch(0.985 0.003 225.02);
--muted: oklch(0.225 0.014 44.457);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0.148 0.01 224.174);
--popover-foreground: oklch(0.985 0.003 225.02);
--card: oklch(0.148 0.01 224.174);
--card-foreground: oklch(0.985 0.003 225.02);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.798 0.093 227.457);
--primary-foreground: oklch(0.234 0.039 229.846);
--secondary: oklch(0.764 0.108 43.911);
--secondary-foreground: oklch(0.22 0.049 43.478);
--accent: oklch(0.764 0.108 43.911);
--accent-foreground: oklch(0.22 0.049 43.478);
--destructive: oklch(0.611 0.206 35.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.093 227.457);
--chart-1: oklch(0.798 0.093 227.457);
--chart-2: oklch(0.764 0.108 43.911);
--chart-3: oklch(0.764 0.108 43.911);
--chart-4: oklch(0.786 0.096 44.058);
--chart-5: oklch(0.8 0.096 227.603);
}