Bloom is a shadcn/ui theme built around a vivid teal primary color (#26f7d8) with vivid yellow accents (#f7d826). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#26f7d8) on a teal-tinted background (#04100e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04100eblack |
| Foreground | #050f0eblack | #ffffffwhite |
| Card | #ffffffwhite | #04100eblack |
| Card foreground | #050f0eblack | #ffffffwhite |
| Popover | #ffffffwhite | #04100eblack |
| Popover foreground | #050f0eblack | #ffffffwhite |
| Primary | #26f7d8turquoise | #26f7d8turquoise |
| Primary foreground | #034f43darkslategray | #034f43darkslategray |
| Secondary | #d826f7magenta | #d826f7magenta |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9daeclavender | #231325black |
| Muted foreground | #625365dimgray | #aa9aacdarkgray |
| Accent | #f7d826gold | #f7d826gold |
| Accent foreground | #4f4303darkolivegreen | #4f4303darkolivegreen |
| Destructive | #650e0bmaroon | #dc1f18crimson |
| Destructive foreground | #f6afaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #26f7d8turquoise | #26f7d8turquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 5.32:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 7.18:1 | AAA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 6.66:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 4.92:1 | AA |
Paste this into your globals.css to use Bloom in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.017 184.524);
--muted: oklch(0.906 0.03 321.137);
--muted-foreground: oklch(0.463 0.035 321.224);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.017 184.524);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.017 184.524);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.155 178.754);
--primary-foreground: oklch(0.382 0.069 178.576);
--secondary: oklch(0.649 0.291 320.677);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.882 0.175 97.975);
--accent-foreground: oklch(0.384 0.078 97.942);
--destructive: oklch(0.329 0.12 28.215);
--destructive-foreground: oklch(0.82 0.084 21.262);
--ring: oklch(0.877 0.155 178.754);
--chart-1: oklch(0.877 0.155 178.754);
--chart-2: oklch(0.649 0.291 320.677);
--chart-3: oklch(0.882 0.175 97.975);
--chart-4: oklch(0.662 0.282 320.95);
--chart-5: oklch(0.885 0.158 178.535);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.02 184.179);
--foreground: oklch(1 0 180);
--muted: oklch(0.216 0.042 321.406);
--muted-foreground: oklch(0.706 0.032 321.161);
--popover: oklch(0.161 0.02 184.179);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.161 0.02 184.179);
--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.877 0.155 178.754);
--primary-foreground: oklch(0.382 0.069 178.576);
--secondary: oklch(0.649 0.291 320.677);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.882 0.175 97.975);
--accent-foreground: oklch(0.384 0.078 97.942);
--destructive: oklch(0.573 0.22 28.847);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.155 178.754);
--chart-1: oklch(0.877 0.155 178.754);
--chart-2: oklch(0.649 0.291 320.677);
--chart-3: oklch(0.882 0.175 97.975);
--chart-4: oklch(0.662 0.282 320.95);
--chart-5: oklch(0.885 0.158 178.535);
}