Lake for shadcn/ui

Lake is a shadcn/ui theme built around a vivid cyan primary color (#008bc7) with vivid blue accents (#0028c7). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#008bc7) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020608black
Foreground
#020608black
#f5f8fawhitesmoke
Card
#fbfdfewhite
#020608black
Card foreground
#020608black
#f5f8fawhitesmoke
Popover
#fbfdfewhite
#020608black
Popover foreground
#020608black
#f5f8fawhitesmoke
Primary
#008bc7lightseagreen
#008bc7lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#00c79flightseagreen
#00c79flightseagreen
Secondary foreground
#000000black
#000000black
Muted
#d3e4e0gainsboro
#1b2c29darkslategray
Muted foreground
#536561dimgray
#9aaca9darkgray
Accent
#0028c7mediumblue
#0028c7mediumblue
Accent foreground
#fafbffghostwhite
#fafbffghostwhite
Destructive
#ae1b04firebrick
#f93c1forangered
Destructive foreground
#fee9e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#008bc7lightseagreen
#008bc7lightseagreen

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button3.79:1AA Large
Secondary button9.66:1AAA
Muted text4.68:1AA
Accent9.55:1AAA
Destructive6.08:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button3.79:1AA Large
Secondary button9.66:1AAA
Muted text6.13:1AA
Accent9.55:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 225.012);
  --foreground: oklch(0.118 0.014 218.562);
  --muted: oklch(0.905 0.019 182.608);
  --muted-foreground: oklch(0.49 0.023 181.847);
  --popover: oklch(0.993 0.003 225.012);
  --popover-foreground: oklch(0.118 0.014 218.562);
  --card: oklch(0.993 0.003 225.012);
  --card-foreground: oklch(0.118 0.014 218.562);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.605 0.133 237.548);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.739 0.144 171.555);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.405 0.24 264.075);
  --accent-foreground: oklch(0.988 0.006 274.966);
  --destructive: oklch(0.483 0.183 31.301);
  --destructive-foreground: oklch(0.951 0.023 28.075);
  --ring: oklch(0.605 0.133 237.548);
  --chart-1: oklch(0.605 0.133 237.548);
  --chart-2: oklch(0.739 0.144 171.555);
  --chart-3: oklch(0.405 0.24 264.075);
  --chart-4: oklch(0.781 0.152 171.463);
  --chart-5: oklch(0.609 0.136 238.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.012 219.57);
  --foreground: oklch(0.978 0.004 225.03);
  --muted: oklch(0.278 0.024 180.594);
  --muted-foreground: oklch(0.73 0.021 182.376);
  --popover: oklch(0.118 0.012 219.57);
  --popover-foreground: oklch(0.978 0.004 225.03);
  --card: oklch(0.118 0.012 219.57);
  --card-foreground: oklch(0.978 0.004 225.03);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.605 0.133 237.548);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.739 0.144 171.555);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.405 0.24 264.075);
  --accent-foreground: oklch(0.988 0.006 274.966);
  --destructive: oklch(0.644 0.228 31.617);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.605 0.133 237.548);
  --chart-1: oklch(0.605 0.133 237.548);
  --chart-2: oklch(0.739 0.144 171.555);
  --chart-3: oklch(0.405 0.24 264.075);
  --chart-4: oklch(0.781 0.152 171.463);
  --chart-5: oklch(0.609 0.136 238.002);
}