Bucket is a shadcn/ui theme built around a vivid deep purple primary color (#2e0029) with vivid deep cyan accents (#00292e). The light mode uses a neutral background (#fefbfe). Dark mode keeps the vivid deep purple primary (#2e0029) on a purple-tinted background (#10050e).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #10050eblack |
| Foreground | #0d020cblack | #fdfcfdwhite |
| Card | #fdf7fcsnow | #130612black |
| Card foreground | #090208black | #ffffffwhite |
| Popover | #fefbfewhite | #10050eblack |
| Popover foreground | #0d020cblack | #fdfcfdwhite |
| Primary | #2e0029black | #2e0029black |
| Primary foreground | #ff61efviolet | #ff61efviolet |
| Secondary | #292e00black | #292e00black |
| Secondary foreground | #e1fa00yellow | #e1fa00yellow |
| Muted | #eff0ealinen | #14150fblack |
| Muted foreground | #63645edimgray | #a0a19bdarkgray |
| Accent | #00292eblack | #00292eblack |
| Accent foreground | #00e1faaqua | #00e1faaqua |
| Destructive | #9f200ffirebrick | #db2c14firebrick |
| Destructive foreground | #fce6e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2e0029black | #2e0029black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 12.03:1 | AAA |
| Muted text | 5.21:1 | AA |
| Accent | 9.66:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 12.03:1 | AAA |
| Muted text | 7.07:1 | AAA |
| Accent | 9.66:1 | AAA |
| Destructive | 4.78:1 | AA |
Paste this into your globals.css to use Bucket in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 328.65);
--foreground: oklch(0.122 0.036 330.521);
--muted: oklch(0.953 0.007 111.154);
--muted-foreground: oklch(0.5 0.009 111.352);
--popover: oklch(0.991 0.005 328.65);
--popover-foreground: oklch(0.122 0.036 330.521);
--card: oklch(0.982 0.01 328.707);
--card-foreground: oklch(0.106 0.031 330.176);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.208 0.093 332.935);
--primary-foreground: oklch(0.744 0.246 331.906);
--secondary: oklch(0.286 0.065 115.567);
--secondary-foreground: oklch(0.934 0.215 116.86);
--accent: oklch(0.258 0.044 206.105);
--accent-foreground: oklch(0.833 0.144 208.972);
--destructive: oklch(0.457 0.165 31.035);
--destructive-foreground: oklch(0.942 0.025 26.637);
--ring: oklch(0.208 0.093 332.935);
--chart-1: oklch(0.208 0.093 332.935);
--chart-2: oklch(0.286 0.065 115.567);
--chart-3: oklch(0.258 0.044 206.105);
--chart-4: oklch(0.343 0.078 115.91);
--chart-5: oklch(0.208 0.095 333.015);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.03 330.389);
--foreground: oklch(0.992 0.003 328.625);
--muted: oklch(0.191 0.01 112.029);
--muted-foreground: oklch(0.707 0.008 111.234);
--popover: oklch(0.139 0.03 330.389);
--popover-foreground: oklch(0.992 0.003 328.625);
--card: oklch(0.151 0.034 330.693);
--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.208 0.093 332.935);
--primary-foreground: oklch(0.744 0.246 331.906);
--secondary: oklch(0.286 0.065 115.567);
--secondary-foreground: oklch(0.934 0.215 116.86);
--accent: oklch(0.258 0.044 206.105);
--accent-foreground: oklch(0.833 0.144 208.972);
--destructive: oklch(0.578 0.213 31.001);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.208 0.093 332.935);
--chart-1: oklch(0.208 0.093 332.935);
--chart-2: oklch(0.286 0.065 115.567);
--chart-3: oklch(0.258 0.044 206.105);
--chart-4: oklch(0.343 0.078 115.91);
--chart-5: oklch(0.208 0.095 333.015);
}