Creek for shadcn/ui

Creek is a shadcn/ui theme built around a vivid orange primary color (#c23400) with vivid cyan accents (#008ec2). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the vivid orange primary (#c23400) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fcf9f8snow
#040201black
Foreground
#0b0604black
#f9f7f6whitesmoke
Card
#fbf6f4whitesmoke
#070403black
Card foreground
#080403black
#fbfaf9snow
Popover
#fcf9f8snow
#040201black
Popover foreground
#0b0604black
#f9f7f6whitesmoke
Primary
#c23400firebrick
#c23400firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#008ec2lightseagreen
#008ec2lightseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d8e4e9gainsboro
#162327black
Muted foreground
#5a6468dimgray
#97a1a5darkgray
Accent
#008ec2lightseagreen
#008ec2lightseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6f2202maroon
#f14b04orangered
Destructive foreground
#febfa5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c23400firebrick
#c23400firebrick

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card18.99:1AAA
Primary button5.56:1AA
Secondary button3.71:1AA Large
Muted text4.69:1AA
Accent3.71:1AA Large
Destructive6.94:1AA
Dark mode
Text on background19.38:1AAA
Text on card19.58:1AAA
Primary button5.56:1AA
Secondary button3.71:1AA Large
Muted text6.12:1AA
Accent3.71:1AA Large
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 41.272);
  --foreground: oklch(0.129 0.013 47.706);
  --muted: oklch(0.912 0.015 221.456);
  --muted-foreground: oklch(0.496 0.014 221.58);
  --popover: oklch(0.984 0.004 41.272);
  --popover-foreground: oklch(0.129 0.013 47.706);
  --card: oklch(0.976 0.006 41.256);
  --card-foreground: oklch(0.113 0.012 47.92);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.539 0.185 35.783);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.126 233.198);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.126 233.198);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.368 0.115 39.609);
  --destructive-foreground: oklch(0.856 0.081 44.248);
  --ring: oklch(0.539 0.185 35.783);
  --chart-1: oklch(0.539 0.185 35.783);
  --chart-2: oklch(0.609 0.126 233.198);
  --chart-3: oklch(0.609 0.126 233.198);
  --chart-4: oklch(0.644 0.134 233.374);
  --chart-5: oklch(0.542 0.189 35.528);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.09 0.008 46.817);
  --foreground: oklch(0.977 0.002 41.287);
  --muted: oklch(0.245 0.019 222.481);
  --muted-foreground: oklch(0.703 0.013 221.472);
  --popover: oklch(0.09 0.008 46.817);
  --popover-foreground: oklch(0.977 0.002 41.287);
  --card: oklch(0.113 0.01 46.817);
  --card-foreground: oklch(0.984 0.001 41.293);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.539 0.185 35.783);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.126 233.198);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.126 233.198);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.643 0.212 37.358);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.539 0.185 35.783);
  --chart-1: oklch(0.539 0.185 35.783);
  --chart-2: oklch(0.609 0.126 233.198);
  --chart-3: oklch(0.609 0.126 233.198);
  --chart-4: oklch(0.644 0.134 233.374);
  --chart-5: oklch(0.542 0.189 35.528);
}