Hose for shadcn/ui

Hose is a shadcn/ui theme built around a teal primary color (#269c67) with pink accents (#9c265b). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#269c67) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#020303black
Foreground
#020d08black
#fcfdfdwhite
Card
#f8fcfamintcream
#040705black
Card foreground
#010905black
#ffffffwhite
Popover
#fcfdfdwhite
#020303black
Popover foreground
#020d08black
#fcfdfdwhite
Primary
#269c67seagreen
#269c67seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9c265bbrown
#9c265bbrown
Secondary foreground
#fdf7fasnow
#fdf7fasnow
Muted
#f3ecefwhitesmoke
#130c0fblack
Muted foreground
#4b3f44darkslategray
#c0b4basilver
Accent
#9c265bbrown
#9c265bbrown
Accent foreground
#fdf7fasnow
#fdf7fasnow
Destructive
#d8110ered
#f01814red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#269c67seagreen
#269c67seagreen

Contrast

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

Light mode
Text on background19.38:1AAA
Text on card19.42:1AAA
Primary button3.48:1AA Large
Secondary button6.99:1AA
Muted text8.65:1AAA
Accent6.99:1AA
Destructive5.25:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.27:1AAA
Primary button3.48:1AA Large
Secondary button6.99:1AA
Muted text9.64:1AAA
Accent6.99:1AA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 167.758);
  --foreground: oklch(0.145 0.023 167.331);
  --muted: oklch(0.95 0.008 348.039);
  --muted-foreground: oklch(0.381 0.019 349.151);
  --popover: oklch(0.993 0.002 167.758);
  --popover-foreground: oklch(0.145 0.023 167.331);
  --card: oklch(0.987 0.004 167.702);
  --card-foreground: oklch(0.126 0.019 168.089);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.616 0.13 158.535);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.472 0.16 358.041);
  --secondary-foreground: oklch(0.981 0.008 348.023);
  --accent: oklch(0.472 0.16 358.041);
  --accent-foreground: oklch(0.981 0.008 348.023);
  --destructive: oklch(0.558 0.223 28.936);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.616 0.13 158.535);
  --chart-1: oklch(0.616 0.13 158.535);
  --chart-2: oklch(0.472 0.16 358.041);
  --chart-3: oklch(0.472 0.16 358.041);
  --chart-4: oklch(0.499 0.17 358.15);
  --chart-5: oklch(0.623 0.135 158.115);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 167.945);
  --foreground: oklch(0.993 0.002 167.758);
  --muted: oklch(0.165 0.012 349.776);
  --muted-foreground: oklch(0.782 0.016 348.366);
  --popover: oklch(0.096 0.007 167.945);
  --popover-foreground: oklch(0.993 0.002 167.758);
  --card: oklch(0.12 0.009 167.945);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.616 0.13 158.535);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.472 0.16 358.041);
  --secondary-foreground: oklch(0.981 0.008 348.023);
  --accent: oklch(0.472 0.16 358.041);
  --accent-foreground: oklch(0.981 0.008 348.023);
  --destructive: oklch(0.606 0.24 28.827);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.616 0.13 158.535);
  --chart-1: oklch(0.616 0.13 158.535);
  --chart-2: oklch(0.472 0.16 358.041);
  --chart-3: oklch(0.472 0.16 358.041);
  --chart-4: oklch(0.499 0.17 358.15);
  --chart-5: oklch(0.623 0.135 158.115);
}