Bend is a shadcn/ui theme built around a vivid green primary color (#bef958) with vivid pink accents (#f958be). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#bef958) on a neutral background (#060802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060802black |
| Foreground | #0c1202black | #f8f9f6whitesmoke |
| Card | #ffffffwhite | #060802black |
| Card foreground | #0c1202black | #f8f9f6whitesmoke |
| Popover | #ffffffwhite | #060802black |
| Popover foreground | #0c1202black | #f8f9f6whitesmoke |
| Primary | #bef958greenyellow | #bef958greenyellow |
| Primary foreground | #131e01black | #131e01black |
| Secondary | #58bef9cornflowerblue | #58bef9cornflowerblue |
| Secondary foreground | #01131eblack | #01131eblack |
| Muted | #eff0f1whitesmoke | #0e1010black |
| Muted foreground | #4a4d4fdarkslategray | #b0b3b5darkgray |
| Accent | #f958behotpink | #f958behotpink |
| Accent foreground | #1e0113black | #1e0113black |
| Destructive | #ad410bsaddlebrown | #f16b27chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bef958greenyellow | #bef958greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 13.89:1 | AAA |
| Secondary button | 9.09:1 | AAA |
| Muted text | 7.45:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 13.89:1 | AAA |
| Secondary button | 9.09:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.86:1 | AA |
Paste this into your globals.css to use Bend in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.171 0.035 124.415);
--muted: oklch(0.954 0.002 232.606);
--muted-foreground: oklch(0.419 0.005 232.74);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.171 0.035 124.415);
--card: oklch(1 0 180);
--card-foreground: oklch(0.171 0.035 124.415);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.911 0.197 127.22);
--primary-foreground: oklch(0.215 0.053 126.484);
--secondary: oklch(0.764 0.127 237.143);
--secondary-foreground: oklch(0.177 0.034 233.742);
--accent: oklch(0.704 0.221 345.302);
--accent-foreground: oklch(0.159 0.062 344.528);
--destructive: oklch(0.518 0.152 41.416);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.197 127.22);
--chart-1: oklch(0.911 0.197 127.22);
--chart-2: oklch(0.764 0.127 237.143);
--chart-3: oklch(0.704 0.221 345.302);
--chart-4: oklch(0.783 0.117 236.331);
--chart-5: oklch(0.918 0.201 127.351);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.019 122.406);
--foreground: oklch(0.98 0.005 123.004);
--muted: oklch(0.17 0.003 232.813);
--muted-foreground: oklch(0.765 0.004 232.654);
--popover: oklch(0.128 0.019 122.406);
--popover-foreground: oklch(0.98 0.005 123.004);
--card: oklch(0.128 0.019 122.406);
--card-foreground: oklch(0.98 0.005 123.004);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.911 0.197 127.22);
--primary-foreground: oklch(0.215 0.053 126.484);
--secondary: oklch(0.764 0.127 237.143);
--secondary-foreground: oklch(0.177 0.034 233.742);
--accent: oklch(0.704 0.221 345.302);
--accent-foreground: oklch(0.159 0.062 344.528);
--destructive: oklch(0.683 0.182 43.384);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.911 0.197 127.22);
--chart-1: oklch(0.911 0.197 127.22);
--chart-2: oklch(0.764 0.127 237.143);
--chart-3: oklch(0.704 0.221 345.302);
--chart-4: oklch(0.783 0.117 236.331);
--chart-5: oklch(0.918 0.201 127.351);
}