Stream for shadcn/ui

Stream is a shadcn/ui theme built around a teal primary color (#5cd1cd) with muted light red accents (#d1c7c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#5cd1cd) on a teal-tinted background (#050f0f).

Color palette

TokenLightDark
Background
#ffffffwhite
#050f0fblack
Foreground
#020e0dblack
#f9fbfbghostwhite
Card
#fcfcfcsnow
#071312black
Card foreground
#010909black
#fcfdfdwhite
Popover
#ffffffwhite
#050f0fblack
Popover foreground
#020e0dblack
#f9fbfbghostwhite
Primary
#5cd1cdmediumturquoise
#5cd1cdmediumturquoise
Primary foreground
#000000black
#000000black
Secondary
#dbdbdbgainsboro
#1e2929darkslategray
Secondary foreground
#424242darkslategray
#b2c7c7silver
Muted
#f0e0e0mistyrose
#0f1f1eblack
Muted foreground
#504949darkslategray
#afb6b6darkgray
Accent
#d1c7c7lightgrey
#2b4544darkslategray
Accent foreground
#382e2edarkslategray
#c7dcdblightgrey
Destructive
#60290bsaddlebrown
#d85b18chocolate
Destructive foreground
#f5c3a8wheat
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5cd1cdmediumturquoise
#5cd1cdmediumturquoise

Contrast

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

Light mode
Text on background19.60:1AAA
Text on card19.67:1AAA
Primary button11.45:1AAA
Secondary button7.27:1AAA
Muted text6.88:1AA
Accent7.96:1AAA
Destructive7.28:1AAA
Dark mode
Text on background18.68:1AAA
Text on card18.58:1AAA
Primary button11.45:1AAA
Secondary button8.42:1AAA
Muted text8.24:1AAA
Accent7.20:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.149 0.021 192.782);
  --muted: oklch(0.92 0.018 17.478);
  --muted-foreground: oklch(0.412 0.01 17.579);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.149 0.021 192.782);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.129 0.018 193.126);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.793 0.105 192.239);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.892 0 180);
  --secondary-foreground: oklch(0.38 0 180);
  --accent: oklch(0.838 0.01 17.361);
  --accent-foreground: oklch(0.313 0.013 17.891);
  --destructive: oklch(0.354 0.09 45.079);
  --destructive-foreground: oklch(0.855 0.069 49.717);
  --ring: oklch(0.793 0.105 192.239);
  --chart-1: oklch(0.793 0.105 192.239);
  --chart-2: oklch(0.892 0 180);
  --chart-3: oklch(0.838 0.01 17.361);
  --chart-4: oklch(0.916 0 180);
  --chart-5: oklch(0.8 0.109 192.151);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.015 193.201);
  --foreground: oklch(0.986 0.002 194.749);
  --muted: oklch(0.225 0.022 192.993);
  --muted-foreground: oklch(0.771 0.009 194.583);
  --popover: oklch(0.158 0.015 193.201);
  --popover-foreground: oklch(0.986 0.002 194.749);
  --card: oklch(0.174 0.018 192.982);
  --card-foreground: oklch(0.993 0.001 194.77);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.793 0.105 192.239);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.272 0.016 193.723);
  --secondary-foreground: oklch(0.814 0.023 194.266);
  --accent: oklch(0.369 0.032 193.211);
  --accent-foreground: oklch(0.878 0.023 194.313);
  --destructive: oklch(0.622 0.172 43.569);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.793 0.105 192.239);
  --chart-1: oklch(0.793 0.105 192.239);
  --chart-2: oklch(0.272 0.016 193.723);
  --chart-3: oklch(0.369 0.032 193.211);
  --chart-4: oklch(0.306 0.019 193.675);
  --chart-5: oklch(0.8 0.109 192.151);
}