Fondue for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button9.04:1AAA
Secondary button7.96:1AAA
Muted text4.43:1AA Large
Accent7.96:1AAA
Destructive6.67:1AA
Dark mode
Text on background18.95:1AAA
Text on card18.95:1AAA
Primary button9.04:1AAA
Secondary button7.96:1AAA
Muted text6.01:1AA
Accent7.96:1AAA
Destructive4.14:1AA Large

CSS variables

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);
}