Still Fernweh for shadcn/ui

Still Fernweh is a shadcn/ui theme built around a yellow primary color (#9c7a2b) with vivid deep blue accents (#001594). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#9c7a2b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefdfbsnow
#000000black
Foreground
#0d0a02black
#fbfaf9snow
Card
#fdfbf7snow
#030303black
Card foreground
#090701black
#fdfdfcwhite
Popover
#fefdfbsnow
#000000black
Popover foreground
#0d0a02black
#fbfaf9snow
Primary
#9c7a2bsienna
#9c7a2bsienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#001594darkblue
#2b4d9cdarkslateblue
Secondary foreground
#fbfcfewhite
#fbfcfewhite
Muted
#e2e4e9gainsboro
#16181dblack
Muted foreground
#3c4048darkslategray
#b7bac3silver
Accent
#001594darkblue
#2b4d9cdarkslateblue
Accent foreground
#fbfcfewhite
#fbfcfewhite
Destructive
#bb3002firebrick
#f23e02orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e6e5gainsboro
#272725darkslategray
Input
#e6e6e5gainsboro
#272725darkslategray
Ring
#9c7a2bsienna
#9c7a2bsienna

Contrast

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

Light mode
Text on background19.46:1AAA
Text on card19.48:1AAA
Primary button4.00:1AA Large
Secondary button13.32:1AAA
Muted text8.17:1AAA
Accent13.32:1AAA
Destructive5.94:1AA
Dark mode
Text on background20.14:1AAA
Text on card20.31:1AAA
Primary button4.00:1AA Large
Secondary button7.75:1AAA
Muted text9.15:1AAA
Accent7.75:1AAA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 87.435);
  --foreground: oklch(0.146 0.023 93.307);
  --muted: oklch(0.919 0.007 267.374);
  --muted-foreground: oklch(0.371 0.015 267.136);
  --popover: oklch(0.994 0.003 87.435);
  --popover-foreground: oklch(0.146 0.023 93.307);
  --card: oklch(0.988 0.006 87.449);
  --card-foreground: oklch(0.127 0.02 94.575);
  --border: oklch(0.924 0.001 87.425);
  --input: oklch(0.924 0.001 87.425);
  --primary: oklch(0.598 0.104 84.937);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.318 0.197 264.187);
  --secondary-foreground: oklch(0.991 0.003 267.403);
  --accent: oklch(0.318 0.197 264.187);
  --accent-foreground: oklch(0.991 0.003 267.403);
  --destructive: oklch(0.523 0.181 35.236);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.598 0.104 84.937);
  --chart-1: oklch(0.598 0.104 84.937);
  --chart-2: oklch(0.318 0.197 264.187);
  --chart-3: oklch(0.318 0.197 264.187);
  --chart-4: oklch(0.341 0.213 264.196);
  --chart-5: oklch(0.604 0.108 84.577);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 87.428);
  --muted: oklch(0.209 0.01 267.058);
  --muted-foreground: oklch(0.79 0.012 267.323);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 87.428);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 87.424);
  --border: oklch(0.271 0.002 87.459);
  --input: oklch(0.271 0.002 87.459);
  --primary: oklch(0.598 0.104 84.937);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.44 0.135 264.147);
  --secondary-foreground: oklch(0.991 0.003 267.403);
  --accent: oklch(0.44 0.135 264.147);
  --accent-foreground: oklch(0.991 0.003 267.403);
  --destructive: oklch(0.633 0.222 34.75);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.598 0.104 84.937);
  --chart-1: oklch(0.598 0.104 84.937);
  --chart-2: oklch(0.44 0.135 264.147);
  --chart-3: oklch(0.44 0.135 264.147);
  --chart-4: oklch(0.463 0.144 264.118);
  --chart-5: oklch(0.604 0.108 84.577);
}