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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 13.32:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 13.32:1 | AAA |
| Destructive | 5.94:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 7.75:1 | AAA |
| Muted text | 9.15:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 3.82:1 | AA Large |
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);
}