Purple Balloon theme
Purple + Mauve with Purple charts and large corners. Use the palette on its own and keep your current style, fonts and icons.
Install the palette
The --only theme flag takes just the colors from Purple Balloon and leaves the rest of your project alone:
npx shadcn@latest apply --preset b2yDYmIT8q --only themeglobals.css
Prefer to paste? Replace your :root and .dark blocks with these.
globals.css
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0.008 326);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0.008 326);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0.008 326);
--primary: oklch(0.496 0.265 301.924);
--primary-foreground: oklch(0.977 0.014 308.299);
--secondary: oklch(0.967 0.001 286.375);
--secondary-foreground: oklch(0.21 0.006 285.885);
--muted: oklch(0.96 0.003 325.6);
--muted-foreground: oklch(0.542 0.034 322.5);
--accent: oklch(0.496 0.265 301.924);
--accent-foreground: oklch(0.977 0.014 308.299);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0.005 325.62);
--input: oklch(0.922 0.005 325.62);
--ring: oklch(0.711 0.019 323.02);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0.008 326);
--sidebar-primary: oklch(0.558 0.288 302.321);
--sidebar-primary-foreground: oklch(0.977 0.014 308.299);
--sidebar-accent: oklch(0.96 0.003 325.6);
--sidebar-accent-foreground: oklch(0.212 0.019 322.12);
--sidebar-border: oklch(0.922 0.005 325.62);
--sidebar-ring: oklch(0.711 0.019 323.02);
--chart-1: oklch(0.827 0.119 306.383);
--chart-2: oklch(0.627 0.265 303.9);
--chart-3: oklch(0.558 0.288 302.321);
--chart-4: oklch(0.496 0.265 301.924);
--chart-5: oklch(0.438 0.218 303.724);
--radius: 0.875rem;
}
.dark {
--background: oklch(0.145 0.008 326);
--foreground: oklch(0.985 0 0);
--card: oklch(0.212 0.019 322.12);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.212 0.019 322.12);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.438 0.218 303.724);
--primary-foreground: oklch(0.977 0.014 308.299);
--secondary: oklch(0.274 0.006 286.033);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.263 0.024 320.12);
--muted-foreground: oklch(0.711 0.019 323.02);
--accent: oklch(0.438 0.218 303.724);
--accent-foreground: oklch(0.977 0.014 308.299);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.542 0.034 322.5);
--sidebar: oklch(0.212 0.019 322.12);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.627 0.265 303.9);
--sidebar-primary-foreground: oklch(0.977 0.014 308.299);
--sidebar-accent: oklch(0.263 0.024 320.12);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.542 0.034 322.5);
--chart-1: oklch(0.827 0.119 306.383);
--chart-2: oklch(0.627 0.265 303.9);
--chart-3: oklch(0.558 0.288 302.321);
--chart-4: oklch(0.496 0.265 301.924);
--chart-5: oklch(0.438 0.218 303.724);
}
Color contrast
| Pair | Tokens | Light | Dark |
|---|---|---|---|
| Body text | foreground / background | 19.81 | 18.98 |
| Muted text | muted-foreground / background | 5.10 | 7.67 |
| Card text | card-foreground / card | 19.81 | 16.98 |
| Primary button | primary-foreground / primary | 6.66 | 8.27 |
| Secondary button | secondary-foreground / secondary | 16.11 | 14.26 |
| Accent / hover | accent-foreground / accent | 6.66 | 8.27 |
| Muted surface | muted-foreground / muted | 4.54 | 6.01 |
| Destructive text | destructive / background | 4.91 | 6.90 |