Birdbath is a shadcn/ui theme built around a neutral gray primary color (#bcbdbd) with neutral gray accents (#bdbdbc). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the neutral gray primary (#bcbdbd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #000000black |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #f8fafbghostwhite | #030303black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #f8fafbghostwhite | #030303black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #bcbdbdsilver | #bcbdbdsilver |
| Primary foreground | #232424black | #232424black |
| Secondary | #bdbcbdsilver | #bdbcbdsilver |
| Secondary foreground | #242324black | #242324black |
| Muted | #f1e9eelinen | #160e12black |
| Muted foreground | #55444ddarkslategray | #bbaab3darkgray |
| Accent | #bdbdbcsilver | #bdbdbcsilver |
| Accent foreground | #242423black | #242423black |
| Destructive | #c42c0efirebrick | #f15a3btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bcbdbdsilver | #bcbdbdsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 7.61:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 5.67:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 8.60:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.27:1 | AA |
Paste this into your globals.css to use Birdbath in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 242.211);
--foreground: oklch(0 0 0);
--muted: oklch(0.942 0.01 342.87);
--muted-foreground: oklch(0.408 0.027 344.18);
--popover: oklch(0.984 0.003 242.228);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.003 242.228);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.797 0.001 242.213);
--primary-foreground: oklch(0.259 0.001 242.236);
--secondary: oklch(0.797 0.002 342.673);
--secondary-foreground: oklch(0.259 0.001 342.739);
--accent: oklch(0.799 0.002 126.46);
--accent-foreground: oklch(0.26 0.001 126.497);
--destructive: oklch(0.535 0.192 32.563);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.797 0.001 242.213);
--chart-1: oklch(0.797 0.001 242.213);
--chart-2: oklch(0.797 0.002 342.673);
--chart-3: oklch(0.799 0.002 126.46);
--chart-4: oklch(0.821 0.002 342.665);
--chart-5: oklch(0.797 0.005 242.271);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 242.211);
--muted: oklch(0.176 0.015 344.592);
--muted-foreground: oklch(0.755 0.023 343.355);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 242.202);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 242.202);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.797 0.001 242.213);
--primary-foreground: oklch(0.259 0.001 242.236);
--secondary: oklch(0.797 0.002 342.673);
--secondary-foreground: oklch(0.259 0.001 342.739);
--accent: oklch(0.799 0.002 126.46);
--accent-foreground: oklch(0.26 0.001 126.497);
--destructive: oklch(0.663 0.192 33.2);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.797 0.001 242.213);
--chart-1: oklch(0.797 0.001 242.213);
--chart-2: oklch(0.797 0.002 342.673);
--chart-3: oklch(0.799 0.002 126.46);
--chart-4: oklch(0.821 0.002 342.665);
--chart-5: oklch(0.797 0.005 242.271);
}