Fisherman for shadcn/ui

Fisherman is a shadcn/ui theme built around a muted light indigo primary color (#d2d3e5) with muted light yellow accents (#e5e3d2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light indigo primary (#d2d3e5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#020308black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#020308black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#020308black
#ffffffwhite
Primary
#d2d3e5gainsboro
#d2d3e5gainsboro
Primary foreground
#303354darkslategray
#303354darkslategray
Secondary
#e5e3d2gainsboro
#e5e3d2gainsboro
Secondary foreground
#545130darkolivegreen
#545130darkolivegreen
Muted
#efeeeclinen
#131310black
Muted foreground
#716f5bdimgray
#a4a28edarkgray
Accent
#e5e3d2gainsboro
#e5e3d2gainsboro
Accent foreground
#545130darkolivegreen
#545130darkolivegreen
Destructive
#d01b0bfirebrick
#f54838tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d2d3e5gainsboro
#d2d3e5gainsboro

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button8.22:1AAA
Secondary button6.27:1AA
Muted text4.39:1AA Large
Accent6.27:1AA
Destructive5.44:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.22:1AAA
Secondary button6.27:1AA
Muted text7.19:1AAA
Accent6.27:1AA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.096 0.021 275.577);
  --muted: oklch(0.95 0.004 102.28);
  --muted-foreground: oklch(0.539 0.031 103.086);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.096 0.021 275.577);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.096 0.021 275.577);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.872 0.024 281.737);
  --primary-foreground: oklch(0.336 0.058 278.837);
  --secondary: oklch(0.913 0.024 102.624);
  --secondary-foreground: oklch(0.43 0.05 103.79);
  --accent: oklch(0.913 0.024 102.624);
  --accent-foreground: oklch(0.43 0.05 103.79);
  --destructive: oklch(0.548 0.213 30.081);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.872 0.024 281.737);
  --chart-1: oklch(0.872 0.024 281.737);
  --chart-2: oklch(0.913 0.024 102.624);
  --chart-3: oklch(0.913 0.024 102.624);
  --chart-4: oklch(0.932 0.019 102.531);
  --chart-5: oklch(0.87 0.027 281.681);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.187 0.006 102.707);
  --muted-foreground: oklch(0.709 0.029 102.852);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.872 0.024 281.737);
  --primary-foreground: oklch(0.336 0.058 278.837);
  --secondary: oklch(0.913 0.024 102.624);
  --secondary-foreground: oklch(0.43 0.05 103.79);
  --accent: oklch(0.913 0.024 102.624);
  --accent-foreground: oklch(0.43 0.05 103.79);
  --destructive: oklch(0.648 0.211 29.297);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.872 0.024 281.737);
  --chart-1: oklch(0.872 0.024 281.737);
  --chart-2: oklch(0.913 0.024 102.624);
  --chart-3: oklch(0.913 0.024 102.624);
  --chart-4: oklch(0.932 0.019 102.531);
  --chart-5: oklch(0.87 0.027 281.681);
}