Bouncy is a shadcn/ui theme built around a deep pink primary color (#240912) with deep teal accents (#09241c). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep pink primary (#240912) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #000000black |
| Foreground | #100408black | #fdfbfcsnow |
| Card | #fefbfcsnow | #000000black |
| Card foreground | #100408black | #fdfbfcsnow |
| Popover | #fefbfcsnow | #000000black |
| Popover foreground | #100408black | #fdfbfcsnow |
| Primary | #240912black | #240912black |
| Primary foreground | #df819dpalevioletred | #df819dpalevioletred |
| Secondary | #09241cblack | #09241cblack |
| Secondary foreground | #33c79alightseagreen | #33c79alightseagreen |
| Muted | #e4ecealavender | #131b19black |
| Muted foreground | #616564dimgray | #9a9e9cdarkgray |
| Accent | #09241cblack | #09241cblack |
| Accent foreground | #33c79alightseagreen | #33c79alightseagreen |
| Destructive | #622004maroon | #f6692ctomato |
| Destructive foreground | #fbb99dlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #240912black | #240912black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 4.91:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 7.24:1 | AAA |
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.47:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 6.98:1 | AA |
Paste this into your globals.css to use Bouncy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 356.732);
--foreground: oklch(0.134 0.026 358.088);
--muted: oklch(0.936 0.009 176.38);
--muted-foreground: oklch(0.504 0.005 176.351);
--popover: oklch(0.991 0.003 356.732);
--popover-foreground: oklch(0.134 0.026 358.088);
--card: oklch(0.991 0.003 356.732);
--card-foreground: oklch(0.134 0.026 358.088);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.191 0.047 3.872);
--primary-foreground: oklch(0.712 0.119 1.273);
--secondary: oklch(0.239 0.037 170.489);
--secondary-foreground: oklch(0.742 0.138 167.85);
--accent: oklch(0.239 0.037 170.489);
--accent-foreground: oklch(0.742 0.138 167.85);
--destructive: oklch(0.342 0.102 40.291);
--destructive-foreground: oklch(0.84 0.086 44.199);
--ring: oklch(0.191 0.047 3.872);
--chart-1: oklch(0.191 0.047 3.872);
--chart-2: oklch(0.239 0.037 170.489);
--chart-3: oklch(0.239 0.037 170.489);
--chart-4: oklch(0.282 0.046 169.86);
--chart-5: oklch(0.191 0.049 4.254);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 356.725);
--muted: oklch(0.213 0.012 174.835);
--muted-foreground: oklch(0.694 0.005 176.452);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 356.725);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 356.725);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.191 0.047 3.872);
--primary-foreground: oklch(0.712 0.119 1.273);
--secondary: oklch(0.239 0.037 170.489);
--secondary-foreground: oklch(0.742 0.138 167.85);
--accent: oklch(0.239 0.037 170.489);
--accent-foreground: oklch(0.742 0.138 167.85);
--destructive: oklch(0.688 0.187 41.185);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.191 0.047 3.872);
--chart-1: oklch(0.191 0.047 3.872);
--chart-2: oklch(0.239 0.037 170.489);
--chart-3: oklch(0.239 0.037 170.489);
--chart-4: oklch(0.282 0.046 169.86);
--chart-5: oklch(0.191 0.049 4.254);
}