Bellows is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #000000black |
| Foreground | #120303black | #ffffffwhite |
| Card | #faf4f4whitesmoke | #030303black |
| Card foreground | #0d0202black | #ffffffwhite |
| Popover | #faf4f4whitesmoke | #030303black |
| Popover foreground | #0d0202black | #ffffffwhite |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #ffffffwhite | #ffffffwhite |
| Secondary foreground | #333333darkslategray | #333333darkslategray |
| Muted | #ead7d7gainsboro | #281515black |
| Muted foreground | #503f3fdarkslategray | #c0afafsilver |
| Accent | #ffffffwhite | #ffffffwhite |
| Accent foreground | #333333darkslategray | #333333darkslategray |
| Destructive | #8f250asaddlebrown | #f26440tomato |
| Destructive foreground | #fcd8cfbisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 12.63:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 8.25:1 | AAA |
| Accent | 12.63:1 | AAA |
| Destructive | 6.65:1 | AA |
Paste this into your globals.css to use Bellows in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 17.231);
--foreground: oklch(0.128 0.034 23.275);
--muted: oklch(0.895 0.02 17.539);
--muted-foreground: oklch(0.385 0.024 18.245);
--popover: oklch(0.973 0.007 17.27);
--popover-foreground: oklch(0.114 0.03 23.022);
--card: oklch(0.973 0.007 17.27);
--card-foreground: oklch(0.114 0.03 23.022);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.432 0.146 34.161);
--destructive-foreground: oklch(0.91 0.042 34.325);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.223 0.03 19.73);
--muted-foreground: oklch(0.769 0.02 17.59);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.676 0.183 35.179);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}