Bumpy is a shadcn/ui theme built around a vivid deep green primary color (#0d7d41) with neutral gray accents (#cfd3d1). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the vivid deep green primary (#0d7d41) on a green-tinted background (#030c07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfamintcream | #030c07black |
| Foreground | #05150cblack | #fcfdfcwhite |
| Card | #f4fbf7mintcream | #04100ablack |
| Card foreground | #04110ablack | #ffffffwhite |
| Popover | #f4fbf7mintcream | #04100ablack |
| Popover foreground | #04110ablack | #ffffffwhite |
| Primary | #0d7d41forestgreen | #0d7d41forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cfd3d1lightgrey | #2b312edarkslategray |
| Secondary foreground | #363a38darkslategray | #c3cbc7silver |
| Muted | #d9e3ddgainsboro | #1c2621black |
| Muted foreground | #626463dimgray | #9b9d9bdarkgray |
| Accent | #cfd3d1lightgrey | #2b312edarkslategray |
| Accent foreground | #363a38darkslategray | #c3cbc7silver |
| Destructive | #661f05maroon | #f56632tomato |
| Destructive foreground | #fbbaa2lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d7d41forestgreen | #0d7d41forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.15:1 | AAA |
| Text on card | 18.34:1 | AAA |
| Primary button | 5.23:1 | AA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 4.53:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 5.23:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.85:1 | AA |
Paste this into your globals.css to use Bumpy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 163.282);
--foreground: oklch(0.177 0.03 159.511);
--muted: oklch(0.907 0.014 163.059);
--muted-foreground: oklch(0.503 0.003 163.294);
--popover: oklch(0.982 0.009 163.199);
--popover-foreground: oklch(0.16 0.026 161.248);
--card: oklch(0.982 0.009 163.199);
--card-foreground: oklch(0.16 0.026 161.248);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.517 0.13 152.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.863 0.005 163.304);
--secondary-foreground: oklch(0.345 0.007 162.896);
--accent: oklch(0.863 0.005 163.304);
--accent-foreground: oklch(0.345 0.007 162.896);
--destructive: oklch(0.349 0.108 38.083);
--destructive-foreground: oklch(0.842 0.082 40.855);
--ring: oklch(0.517 0.13 152.561);
--chart-1: oklch(0.517 0.13 152.561);
--chart-2: oklch(0.863 0.005 163.304);
--chart-3: oklch(0.863 0.005 163.304);
--chart-4: oklch(0.886 0.004 163.331);
--chart-5: oklch(0.523 0.133 152.227);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.02 163.182);
--foreground: oklch(0.993 0.001 163.412);
--muted: oklch(0.258 0.018 161.514);
--muted-foreground: oklch(0.693 0.003 163.344);
--popover: oklch(0.159 0.023 161.44);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.023 161.44);
--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.517 0.13 152.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.306 0.011 162.525);
--secondary-foreground: oklch(0.834 0.01 163.129);
--accent: oklch(0.306 0.011 162.525);
--accent-foreground: oklch(0.834 0.01 163.129);
--destructive: oklch(0.684 0.187 39.177);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.517 0.13 152.561);
--chart-1: oklch(0.517 0.13 152.561);
--chart-2: oklch(0.306 0.011 162.525);
--chart-3: oklch(0.306 0.011 162.525);
--chart-4: oklch(0.337 0.012 162.494);
--chart-5: oklch(0.523 0.133 152.227);
}