Waterskiing for shadcn/ui

Waterskiing is a shadcn/ui theme built around a light yellow primary color (#f9f8e1) with light indigo accents (#e1e2f9). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#f9f8e1) on a neutral background (#040401).

Color palette

TokenLightDark
Background
#fefefbwhite
#040401black
Foreground
#000000black
#f9f9f6whitesmoke
Card
#fdfdf6snow
#080802black
Card foreground
#000000black
#fbfbf9snow
Popover
#fefefbwhite
#040401black
Popover foreground
#000000black
#f9f9f6whitesmoke
Primary
#f9f8e1beige
#f9f8e1beige
Primary foreground
#38350adarkolivegreen
#38350adarkolivegreen
Secondary
#e1e2f9lavender
#e1e2f9lavender
Secondary foreground
#1a228emidnightblue
#1a228emidnightblue
Muted
#cfd0e2lightgrey
#1d1e30darkslategray
Muted foreground
#474748darkslategray
#b7b7b8silver
Accent
#e1e2f9lavender
#e1e2f9lavender
Accent foreground
#1a228emidnightblue
#1a228emidnightblue
Destructive
#95290fsaddlebrown
#ec5f3ctomato
Destructive foreground
#fbe1damistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f9f8e1beige
#f9f8e1beige

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.56:1AAA
Primary button11.61:1AAA
Secondary button9.92:1AAA
Muted text6.11:1AA
Accent9.92:1AAA
Destructive6.49:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.41:1AAA
Primary button11.61:1AAA
Secondary button9.92:1AAA
Muted text8.19:1AAA
Accent9.92:1AAA
Destructive6.26:1AA

CSS variables

Paste this into your globals.css to use Waterskiing in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 103.178);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.863 0.025 282.611);
  --muted-foreground: oklch(0.397 0.002 283.012);
  --popover: oklch(0.996 0.004 103.178);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.009 103.25);
  --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.974 0.03 103.611);
  --primary-foreground: oklch(0.323 0.06 105.225);
  --secondary: oklch(0.92 0.031 282.513);
  --secondary-foreground: oklch(0.337 0.173 269.702);
  --accent: oklch(0.92 0.031 282.513);
  --accent-foreground: oklch(0.337 0.173 269.702);
  --destructive: oklch(0.447 0.147 34.441);
  --destructive-foreground: oklch(0.928 0.031 34.305);
  --ring: oklch(0.974 0.03 103.611);
  --chart-1: oklch(0.974 0.03 103.611);
  --chart-2: oklch(0.92 0.031 282.513);
  --chart-3: oklch(0.92 0.031 282.513);
  --chart-4: oklch(0.954 0.018 282.789);
  --chart-5: oklch(0.975 0.031 103.631);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.013 105.894);
  --foreground: oklch(0.981 0.004 103.181);
  --muted: oklch(0.243 0.034 280.386);
  --muted-foreground: oklch(0.78 0.002 283.066);
  --popover: oklch(0.103 0.013 105.894);
  --popover-foreground: oklch(0.981 0.004 103.181);
  --card: oklch(0.129 0.017 105.894);
  --card-foreground: oklch(0.987 0.003 103.156);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.974 0.03 103.611);
  --primary-foreground: oklch(0.323 0.06 105.225);
  --secondary: oklch(0.92 0.031 282.513);
  --secondary-foreground: oklch(0.337 0.173 269.702);
  --accent: oklch(0.92 0.031 282.513);
  --accent-foreground: oklch(0.337 0.173 269.702);
  --destructive: oklch(0.661 0.181 35.162);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.974 0.03 103.611);
  --chart-1: oklch(0.974 0.03 103.611);
  --chart-2: oklch(0.92 0.031 282.513);
  --chart-3: oklch(0.92 0.031 282.513);
  --chart-4: oklch(0.954 0.018 282.789);
  --chart-5: oklch(0.975 0.031 103.631);
}