Bucket is a shadcn/ui theme built around a purple primary color (#852088) with teal accents (#208885). The light mode uses a neutral background (#fefbfe). Dark mode keeps the purple primary (#852088) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #0a050ablack |
| Foreground | #040104black | #faf9fbghostwhite |
| Card | #fdf7fdsnow | #0d070eblack |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fdf7fdsnow | #0d070eblack |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #852088darkmagenta | #852088darkmagenta |
| Primary foreground | #f7e2f8lavenderblush | #f7e2f8lavenderblush |
| Secondary | #888520olivedrab | #888520olivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eeeee7linen | #181811black |
| Muted foreground | #606057dimgray | #a8a79fdarkgray |
| Accent | #208885darkcyan | #208885darkcyan |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a01b03darkred | #f02805orangered |
| Destructive foreground | #feddd7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #852088darkmagenta | #852088darkmagenta |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 3.87:1 | AA Large |
| Muted text | 5.45:1 | AA |
| Accent | 4.25:1 | AA Large |
| Destructive | 6.24:1 | AA |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 3.87:1 | AA Large |
| Muted text | 7.37:1 | AAA |
| Accent | 4.25:1 | AA Large |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Bucket in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.006 324.654);
--foreground: oklch(0.086 0.019 326.218);
--muted: oklch(0.948 0.01 104.991);
--muted-foreground: oklch(0.487 0.014 105.294);
--popover: oklch(0.982 0.011 324.69);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.011 324.69);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.451 0.18 326.585);
--primary-foreground: oklch(0.937 0.037 324.868);
--secondary: oklch(0.601 0.118 107.433);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.09 191.529);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.455 0.17 31.865);
--destructive-foreground: oklch(0.923 0.038 29.667);
--ring: oklch(0.451 0.18 326.585);
--chart-1: oklch(0.451 0.18 326.585);
--chart-2: oklch(0.601 0.118 107.433);
--chart-3: oklch(0.571 0.09 191.529);
--chart-4: oklch(0.64 0.126 107.436);
--chart-5: oklch(0.454 0.185 326.608);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.017 325.578);
--foreground: oklch(0.984 0.002 324.632);
--muted: oklch(0.207 0.014 105.937);
--muted-foreground: oklch(0.728 0.013 105.107);
--popover: oklch(0.141 0.019 325.479);
--popover-foreground: oklch(0.992 0.001 324.625);
--card: oklch(0.141 0.019 325.479);
--card-foreground: oklch(0.992 0.001 324.625);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.451 0.18 326.585);
--primary-foreground: oklch(0.937 0.037 324.868);
--secondary: oklch(0.601 0.118 107.433);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.09 191.529);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.234 31.418);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.451 0.18 326.585);
--chart-1: oklch(0.451 0.18 326.585);
--chart-2: oklch(0.601 0.118 107.433);
--chart-3: oklch(0.571 0.09 191.529);
--chart-4: oklch(0.64 0.126 107.436);
--chart-5: oklch(0.454 0.185 326.608);
}