Bouncy is a shadcn/ui theme built around a light pink primary color (#eed2dc) with light red accents (#eed7d2). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the light pink primary (#eed2dc) on a neutral background (#080304).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #080304black |
| Foreground | #080204black | #ffffffwhite |
| Card | #fcf3f6lavenderblush | #0b0406black |
| Card foreground | #040102black | #ffffffwhite |
| Popover | #fdf7f9snow | #080304black |
| Popover foreground | #080204black | #ffffffwhite |
| Primary | #eed2dcgainsboro | #eed2dcgainsboro |
| Primary foreground | #68273csaddlebrown | #68273csaddlebrown |
| Secondary | #eed2eagainsboro | #eed2eagainsboro |
| Secondary foreground | #68275dpurple | #68275dpurple |
| Muted | #e5d2e2gainsboro | #2d1a2adarkslategray |
| Muted foreground | #494648darkslategray | #b9b6b9silver |
| Accent | #eed7d2gainsboro | #eed7d2gainsboro |
| Accent foreground | #683227saddlebrown | #683227saddlebrown |
| Destructive | #c0390cfirebrick | #f04f19orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eed2dcgainsboro | #eed2dcgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 7.38:1 | AAA |
| Destructive | 5.48:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Bouncy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 354.777);
--foreground: oklch(0.105 0.02 354.209);
--muted: oklch(0.883 0.03 331.276);
--muted-foreground: oklch(0.398 0.005 331.006);
--popover: oklch(0.981 0.006 354.777);
--popover-foreground: oklch(0.105 0.02 354.209);
--card: oklch(0.972 0.01 354.875);
--card-foreground: oklch(0.083 0.016 354.209);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.891 0.034 355.651);
--primary-foreground: oklch(0.374 0.097 2.184);
--secondary: oklch(0.895 0.044 331.469);
--secondary-foreground: oklch(0.388 0.118 334.62);
--accent: oklch(0.897 0.027 31.127);
--accent-foreground: oklch(0.385 0.081 32.642);
--destructive: oklch(0.541 0.178 36.156);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.891 0.034 355.651);
--chart-1: oklch(0.891 0.034 355.651);
--chart-2: oklch(0.895 0.044 331.469);
--chart-3: oklch(0.897 0.027 31.127);
--chart-4: oklch(0.921 0.033 331.293);
--chart-5: oklch(0.89 0.036 355.721);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.016 354.294);
--foreground: oklch(1 0 180);
--muted: oklch(0.25 0.041 332.877);
--muted-foreground: oklch(0.78 0.005 330.901);
--popover: oklch(0.107 0.016 354.294);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.018 354.426);
--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.891 0.034 355.651);
--primary-foreground: oklch(0.374 0.097 2.184);
--secondary: oklch(0.895 0.044 331.469);
--secondary-foreground: oklch(0.388 0.118 334.62);
--accent: oklch(0.897 0.027 31.127);
--accent-foreground: oklch(0.385 0.081 32.642);
--destructive: oklch(0.646 0.206 36.662);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.891 0.034 355.651);
--chart-1: oklch(0.891 0.034 355.651);
--chart-2: oklch(0.895 0.044 331.469);
--chart-3: oklch(0.897 0.027 31.127);
--chart-4: oklch(0.921 0.033 331.293);
--chart-5: oklch(0.89 0.036 355.721);
}