Bowed is a shadcn/ui theme built around a near-black primary color (#000000) with near-black accents (#000000). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the near-black primary (#000000) on a neutral background (#070303).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #070303black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbf3f3lavenderblush | #0b0404black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbf3f3lavenderblush | #0b0404black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #000000black | #000000black |
| Primary foreground | #999999darkgray | #999999darkgray |
| Secondary | #000000black | #000000black |
| Secondary foreground | #999999darkgray | #999999darkgray |
| Muted | #ebe0e0gainsboro | #1f1414black |
| Muted foreground | #4d4c4cdarkslategray | #b3b2b2darkgray |
| Accent | #000000black | #000000black |
| Accent foreground | #999999darkgray | #999999darkgray |
| Destructive | #972e11saddlebrown | #ea6743tomato |
| Destructive foreground | #fbe5dfmistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000000black | #000000black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.52:1 | AA |
Paste this into your globals.css to use Bowed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.252);
--foreground: oklch(0 0 0);
--muted: oklch(0.916 0.011 17.36);
--muted-foreground: oklch(0.417 0.002 17.238);
--popover: oklch(0.972 0.008 17.301);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.008 17.301);
--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 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0 0 0);
--secondary-foreground: oklch(0.683 0 180);
--accent: oklch(0 0 0);
--accent-foreground: oklch(0.683 0 180);
--destructive: oklch(0.458 0.146 35.387);
--destructive-foreground: oklch(0.938 0.026 35.949);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0 0 0);
--chart-3: oklch(0 0 0);
--chart-4: oklch(0.132 0 165.964);
--chart-5: oklch(0 0 0);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.014 19.552);
--foreground: oklch(1 0 180);
--muted: oklch(0.206 0.017 18.614);
--muted-foreground: oklch(0.764 0.002 17.196);
--popover: oklch(0.122 0.016 19.559);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.016 19.559);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0 0 0);
--secondary-foreground: oklch(0.683 0 180);
--accent: oklch(0 0 0);
--accent-foreground: oklch(0.683 0 180);
--destructive: oklch(0.67 0.171 36.313);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0 0 0);
--chart-3: oklch(0 0 0);
--chart-4: oklch(0.132 0 165.964);
--chart-5: oklch(0 0 0);
}