Bamboo Theme is a shadcn/ui theme built around a vivid blue primary color (#61b8fa) with vivid pink accents (#fb548d). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid blue primary (#5fb8fa) on an indigo-tinted background (#181820).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #181820black |
| Foreground | #050b10black | #f8fbfcghostwhite |
| Card | #fbfdfewhite | #181820black |
| Card foreground | #050b10black | #f8fbfcghostwhite |
| Popover | #fbfdfewhite | #181820black |
| Popover foreground | #050b10black | #f8fbfcghostwhite |
| Primary | #61b8facornflowerblue | #5fb8facornflowerblue |
| Primary foreground | #ffffffwhite | #181820black |
| Secondary | #fb548dpalevioletred | #fb548dpalevioletred |
| Secondary foreground | #ffffffwhite | #181820black |
| Muted | #ebf0efwhitesmoke | #888888gray |
| Muted foreground | #fdfdfdwhite | #f0f0f0whitesmoke |
| Accent | #fb548dpalevioletred | #fb548dpalevioletred |
| Accent foreground | #ffffffwhite | #f8fbfcghostwhite |
| Destructive | #da0d0dred | #888888gray |
| Destructive foreground | #feececlinen | #f8fbfcghostwhite |
| Border | #e4e6e7gainsboro | #343343darkslategray |
| Input | #e4e6e7gainsboro | #222425darkslategray |
| Ring | #61b8facornflowerblue | #343343darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 2.16:1 | Fail |
| Secondary button | 3.10:1 | AA Large |
| Muted text | 1.13:1 | Fail |
| Accent | 3.10:1 | AA Large |
| Destructive | 4.56:1 | AA |
| Text on background | 16.96:1 | AAA |
| Text on card | 16.96:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 5.67:1 | AA |
| Muted text | 3.11:1 | AA Large |
| Accent | 2.98:1 | Fail |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Bamboo Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 240.319);
--foreground: oklch(0.144 0.016 237.435);
--muted: oklch(0.95 0.005 192.309);
--muted-foreground: oklch(0.994 0 192.529);
--popover: oklch(0.992 0.003 240.319);
--popover-foreground: oklch(0.144 0.016 237.435);
--card: oklch(0.992 0.003 240.319);
--card-foreground: oklch(0.144 0.016 237.435);
--border: oklch(0.923 0.002 240.316);
--input: oklch(0.923 0.002 240.316);
--primary: oklch(0.755 0.128 243.772);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.687 0.206 3.427);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.687 0.206 3.427);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.561 0.225 28.761);
--destructive-foreground: oklch(0.956 0.02 17.512);
--ring: oklch(0.755 0.128 243.772);
--chart-1: oklch(0.755 0.128 243.772);
--chart-2: oklch(0.687 0.206 3.427);
--chart-3: oklch(0.687 0.206 3.427);
--chart-4: oklch(0.707 0.191 2.091);
--chart-5: oklch(0.756 0.131 243.934);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.213 0.016 284.99);
--foreground: oklch(0.986 0.003 219.533);
--muted: oklch(0.627 0 168.69);
--muted-foreground: oklch(0.955 0 180);
--popover: oklch(0.213 0.016 284.99);
--popover-foreground: oklch(0.986 0.003 219.533);
--card: oklch(0.213 0.016 284.99);
--card-foreground: oklch(0.986 0.003 219.533);
--border: oklch(0.329 0.028 287.609);
--input: oklch(0.259 0.004 240.506);
--primary: oklch(0.755 0.128 243.083);
--primary-foreground: oklch(0.213 0.016 284.99);
--secondary: oklch(0.687 0.206 3.427);
--secondary-foreground: oklch(0.213 0.016 284.99);
--accent: oklch(0.687 0.206 3.427);
--accent-foreground: oklch(0.986 0.003 219.533);
--destructive: oklch(0.627 0 168.69);
--destructive-foreground: oklch(0.986 0.003 219.533);
--ring: oklch(0.329 0.028 287.609);
--chart-1: oklch(0.755 0.128 243.083);
--chart-2: oklch(0.687 0.206 3.427);
--chart-3: oklch(0.687 0.206 3.427);
--chart-4: oklch(0.707 0.191 2.091);
--chart-5: oklch(0.756 0.132 243.254);
}