Vanishing Night Koala is a shadcn/ui theme built around a vivid purple primary color (#96088a) with vivid green accents (#089614). The light mode uses a neutral background (#fefbfe). Dark mode keeps the vivid purple primary (#96088a) on a neutral background (#080208).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #080208black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefbfewhite | #080208black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfewhite | #080208black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #96088adarkmagenta | #96088adarkmagenta |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #089614green | #089614green |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d1e1d2lightgrey | #1e2e20darkslategray |
| Muted foreground | #5f6760dimgray | #98a098darkgray |
| Accent | #089614green | #089614green |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8c1708darkred | #f3422borangered |
| Destructive foreground | #fcd0capink | #ffffffwhite |
| Border | #e5e1e5gainsboro | #231f23black |
| Input | #e5e1e5gainsboro | #231f23black |
| Ring | #96088adarkmagenta | #96088adarkmagenta |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 3.89:1 | AA Large |
| Muted text | 4.27:1 | AA Large |
| Accent | 3.89:1 | AA Large |
| Destructive | 6.69:1 | AA |
| Text on background | 20.53:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 3.89:1 | AA Large |
| Muted text | 5.31:1 | AA |
| Accent | 3.89:1 | AA Large |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Vanishing Night Koala in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 328.114);
--foreground: oklch(0 0 0);
--muted: oklch(0.893 0.026 147.751);
--muted-foreground: oklch(0.506 0.015 147.748);
--popover: oklch(0.991 0.005 328.114);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.005 328.114);
--card-foreground: oklch(0 0 0);
--border: oklch(0.914 0.006 328.137);
--input: oklch(0.914 0.006 328.137);
--primary: oklch(0.468 0.206 332.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.585 0.193 143.087);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.585 0.193 143.087);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.414 0.153 31.012);
--destructive-foreground: oklch(0.893 0.051 26.921);
--ring: oklch(0.468 0.206 332.669);
--chart-1: oklch(0.468 0.206 332.669);
--chart-2: oklch(0.585 0.193 143.087);
--chart-3: oklch(0.585 0.193 143.087);
--chart-4: oklch(0.626 0.207 143.055);
--chart-5: oklch(0.472 0.209 332.751);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.026 329.474);
--foreground: oklch(1 0 180);
--muted: oklch(0.283 0.034 146.688);
--muted-foreground: oklch(0.696 0.014 147.853);
--popover: oklch(0.108 0.026 329.474);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.108 0.026 329.474);
--card-foreground: oklch(1 0 180);
--border: oklch(0.246 0.011 328.502);
--input: oklch(0.246 0.011 328.502);
--primary: oklch(0.468 0.206 332.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.585 0.193 143.087);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.585 0.193 143.087);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.639 0.216 30.97);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.468 0.206 332.669);
--chart-1: oklch(0.468 0.206 332.669);
--chart-2: oklch(0.585 0.193 143.087);
--chart-3: oklch(0.585 0.193 143.087);
--chart-4: oklch(0.626 0.207 143.055);
--chart-5: oklch(0.472 0.209 332.751);
}