Sidestream for shadcn/ui

Sidestream is a shadcn/ui theme built around a deep teal primary color (#174f39) with deep pink accents (#4f172d). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#174f39) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#fbfefdwhite
#020806black
Foreground
#010403black
#f9fbfamintcream
Card
#fbfefdwhite
#020806black
Card foreground
#010403black
#f9fbfamintcream
Popover
#fbfefdwhite
#020806black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#174f39darkslategray
#174f39darkslategray
Primary foreground
#b0e8d2powderblue
#b0e8d2powderblue
Secondary
#4f172dmaroon
#4f172dmaroon
Secondary foreground
#e8b0c6lightpink
#e8b0c6lightpink
Muted
#f5eff2whitesmoke
#100a0cblack
Muted foreground
#5d4c52dimgray
#b3a2a9darkgray
Accent
#4f172dmaroon
#4f172dmaroon
Accent foreground
#e8b0c6lightpink
#e8b0c6lightpink
Destructive
#c63e15firebrick
#e24718orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#174f39darkslategray
#174f39darkslategray

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button6.95:1AA
Secondary button7.67:1AAA
Muted text7.06:1AAA
Accent7.67:1AAA
Destructive5.09:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.42:1AAA
Primary button6.95:1AA
Secondary button7.67:1AAA
Muted text8.10:1AAA
Accent7.67:1AAA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 171.515);
  --foreground: oklch(0.1 0.015 171.919);
  --muted: oklch(0.958 0.008 351.816);
  --muted-foreground: oklch(0.435 0.025 353.15);
  --popover: oklch(0.994 0.003 171.515);
  --popover-foreground: oklch(0.1 0.015 171.919);
  --card: oklch(0.994 0.003 171.515);
  --card-foreground: oklch(0.1 0.015 171.919);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.383 0.068 164.121);
  --primary-foreground: oklch(0.886 0.063 169.329);
  --secondary: oklch(0.302 0.086 359.896);
  --secondary-foreground: oklch(0.815 0.069 353.9);
  --accent: oklch(0.302 0.086 359.896);
  --accent-foreground: oklch(0.815 0.069 353.9);
  --destructive: oklch(0.558 0.18 35.955);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.383 0.068 164.121);
  --chart-1: oklch(0.383 0.068 164.121);
  --chart-2: oklch(0.302 0.086 359.896);
  --chart-3: oklch(0.302 0.086 359.896);
  --chart-4: oklch(0.33 0.096 0.171);
  --chart-5: oklch(0.388 0.071 163.722);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.016 171.865);
  --foreground: oklch(0.986 0.003 171.508);
  --muted: oklch(0.152 0.012 353.745);
  --muted-foreground: oklch(0.73 0.022 352.416);
  --popover: oklch(0.124 0.016 171.865);
  --popover-foreground: oklch(0.986 0.003 171.508);
  --card: oklch(0.124 0.016 171.865);
  --card-foreground: oklch(0.986 0.003 171.508);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.383 0.068 164.121);
  --primary-foreground: oklch(0.886 0.063 169.329);
  --secondary: oklch(0.302 0.086 359.896);
  --secondary-foreground: oklch(0.815 0.069 353.9);
  --accent: oklch(0.302 0.086 359.896);
  --accent-foreground: oklch(0.815 0.069 353.9);
  --destructive: oklch(0.614 0.199 35.846);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.383 0.068 164.121);
  --chart-1: oklch(0.383 0.068 164.121);
  --chart-2: oklch(0.302 0.086 359.896);
  --chart-3: oklch(0.302 0.086 359.896);
  --chart-4: oklch(0.33 0.096 0.171);
  --chart-5: oklch(0.388 0.071 163.722);
}