Bowed is a shadcn/ui theme built around a green primary color (#59e369) with muted green accents (#b9c6ba). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the green primary (#59e369) on a green-tinted background (#040b05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #040b05black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f8fcf8mintcream | #040b05black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f8fcf8mintcream | #040b05black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #59e369mediumseagreen | #59e369mediumseagreen |
| Primary foreground | #010902black | #010902black |
| Secondary | #cdd0cdlightgrey | #1a231bblack |
| Secondary foreground | #333834darkslategray | #aec2b0silver |
| Muted | #e2e9e3gainsboro | #161d17black |
| Muted foreground | #405442darkslategray | #abbfaddarkgray |
| Accent | #b9c6basilver | #2b402edarkslategray |
| Accent foreground | #222a23darkslategray | #c5d8c7lightgrey |
| Destructive | #6f270bsaddlebrown | #eb6733tomato |
| Destructive foreground | #f8c8b5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #59e369mediumseagreen | #59e369mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.62:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Bowed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 149.062);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.011 148.999);
--muted-foreground: oklch(0.424 0.039 147.971);
--popover: oklch(0.987 0.006 149.062);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 149.062);
--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.813 0.202 145.465);
--primary-foreground: oklch(0.124 0.027 147.614);
--secondary: oklch(0.855 0.006 149.046);
--secondary-foreground: oklch(0.334 0.009 148.82);
--accent: oklch(0.812 0.021 148.826);
--accent-foreground: oklch(0.275 0.016 148.41);
--destructive: oklch(0.378 0.109 39.562);
--destructive-foreground: oklch(0.869 0.061 42.656);
--ring: oklch(0.813 0.202 145.465);
--chart-1: oklch(0.813 0.202 145.465);
--chart-2: oklch(0.855 0.006 149.046);
--chart-3: oklch(0.812 0.021 148.826);
--chart-4: oklch(0.878 0.005 149.062);
--chart-5: oklch(0.82 0.209 145.338);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.022 148.03);
--foreground: oklch(0.993 0.001 149.121);
--muted: oklch(0.221 0.015 148.304);
--muted-foreground: oklch(0.785 0.034 148.609);
--popover: oklch(0.139 0.022 148.03);
--popover-foreground: oklch(0.993 0.001 149.121);
--card: oklch(0.139 0.022 148.03);
--card-foreground: oklch(0.993 0.001 149.121);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.813 0.202 145.465);
--primary-foreground: oklch(0.124 0.027 147.614);
--secondary: oklch(0.244 0.019 148.184);
--secondary-foreground: oklch(0.793 0.033 148.633);
--accent: oklch(0.347 0.04 147.651);
--accent-foreground: oklch(0.863 0.03 148.721);
--destructive: oklch(0.669 0.176 40.52);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.813 0.202 145.465);
--chart-1: oklch(0.813 0.202 145.465);
--chart-2: oklch(0.244 0.019 148.184);
--chart-3: oklch(0.347 0.04 147.651);
--chart-4: oklch(0.278 0.023 148.121);
--chart-5: oklch(0.82 0.209 145.338);
}