Bouncy is a shadcn/ui theme built around a light teal primary color (#f5faf9) with light cyan accents (#f5f8fa). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the light teal primary (#f5faf9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #000000black |
| Foreground | #061411black | #ffffffwhite |
| Card | #f3fcfamintcream | #030303black |
| Card foreground | #04100eblack | #ffffffwhite |
| Popover | #f3fcfamintcream | #030303black |
| Popover foreground | #04100eblack | #ffffffwhite |
| Primary | #f5faf9mintcream | #f5faf9mintcream |
| Primary foreground | #1c3b35darkslategray | #1c3b35darkslategray |
| Secondary | #f5faf6whitesmoke | #f5faf6whitesmoke |
| Secondary foreground | #1c3b26darkslategray | #1c3b26darkslategray |
| Muted | #e6eae7lavender | #151916black |
| Muted foreground | #4b534edarkslategray | #acb4afdarkgray |
| Accent | #f5f8fawhitesmoke | #f5f8fawhitesmoke |
| Accent foreground | #1c313bdarkslategray | #1c313bdarkslategray |
| Destructive | #830707maroon | #df0c0cred |
| Destructive foreground | #fcc0c0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5faf9mintcream | #f5faf9mintcream |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.25:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 11.54:1 | AAA |
| Secondary button | 11.67:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 12.70:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 11.54:1 | AAA |
| Secondary button | 11.67:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 12.70:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Bouncy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 184.148);
--foreground: oklch(0.176 0.022 181.008);
--muted: oklch(0.933 0.006 156.437);
--muted-foreground: oklch(0.433 0.013 155.939);
--popover: oklch(0.983 0.009 184.064);
--popover-foreground: oklch(0.16 0.019 181.947);
--card: oklch(0.983 0.009 184.064);
--card-foreground: oklch(0.16 0.019 181.947);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.981 0.006 184.149);
--primary-foreground: oklch(0.326 0.039 180.463);
--secondary: oklch(0.98 0.008 156.406);
--secondary-foreground: oklch(0.321 0.053 152.596);
--accent: oklch(0.978 0.005 226.915);
--accent-foreground: oklch(0.3 0.033 229.096);
--destructive: oklch(0.386 0.153 28.514);
--destructive-foreground: oklch(0.862 0.069 18.581);
--ring: oklch(0.981 0.006 184.149);
--chart-1: oklch(0.981 0.006 184.149);
--chart-2: oklch(0.98 0.008 156.406);
--chart-3: oklch(0.978 0.005 226.915);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.981 0.006 184.135);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.008 155.743);
--muted-foreground: oklch(0.762 0.012 156.256);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.981 0.006 184.149);
--primary-foreground: oklch(0.326 0.039 180.463);
--secondary: oklch(0.98 0.008 156.406);
--secondary-foreground: oklch(0.321 0.053 152.596);
--accent: oklch(0.978 0.005 226.915);
--accent-foreground: oklch(0.3 0.033 229.096);
--destructive: oklch(0.57 0.23 28.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.981 0.006 184.149);
--chart-1: oklch(0.981 0.006 184.149);
--chart-2: oklch(0.98 0.008 156.406);
--chart-3: oklch(0.978 0.005 226.915);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.981 0.006 184.135);
}