Basket is a shadcn/ui theme built around a vivid deep green primary color (#057636) with vivid deep orange accents (#763605). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep green primary (#057636) on a green-tinted background (#050f0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #050f0ablack |
| Foreground | #06140cblack | #f9fbfamintcream |
| Card | #f8fcfamintcream | #050f0ablack |
| Card foreground | #06140cblack | #f9fbfamintcream |
| Popover | #f8fcfamintcream | #050f0ablack |
| Popover foreground | #06140cblack | #f9fbfamintcream |
| Primary | #057636forestgreen | #057636forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #360576indigo | #360576indigo |
| Secondary foreground | #d1b1fcplum | #d1b1fcplum |
| Muted | #e0dbe6gainsboro | #1e1924black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #763605saddlebrown | #763605saddlebrown |
| Accent foreground | #fcd1b1peachpuff | #fcd1b1peachpuff |
| Destructive | #9e0505darkred | #f81212red |
| Destructive foreground | #fed7d7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #057636forestgreen | #057636forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.20:1 | AAA |
| Text on card | 18.20:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 5.55:1 | AA |
| Accent | 6.51:1 | AA |
| Destructive | 6.40:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 6.51:1 | AA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Basket in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 161.692);
--foreground: oklch(0.174 0.026 158.413);
--muted: oklch(0.898 0.017 305.494);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(0.987 0.005 161.692);
--popover-foreground: oklch(0.174 0.026 158.413);
--card: oklch(0.987 0.005 161.692);
--card-foreground: oklch(0.174 0.026 158.413);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.494 0.133 150.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.301 0.162 292.306);
--secondary-foreground: oklch(0.814 0.109 303.927);
--accent: oklch(0.41 0.105 50.232);
--accent-foreground: oklch(0.89 0.065 59.218);
--destructive: oklch(0.442 0.178 28.886);
--destructive-foreground: oklch(0.913 0.043 17.966);
--ring: oklch(0.494 0.133 150.362);
--chart-1: oklch(0.494 0.133 150.362);
--chart-2: oklch(0.301 0.162 292.306);
--chart-3: oklch(0.41 0.105 50.232);
--chart-4: oklch(0.326 0.177 291.851);
--chart-5: oklch(0.499 0.136 150.103);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.021 160.125);
--foreground: oklch(0.986 0.003 161.734);
--muted: oklch(0.224 0.023 304.338);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.157 0.021 160.125);
--popover-foreground: oklch(0.986 0.003 161.734);
--card: oklch(0.157 0.021 160.125);
--card-foreground: oklch(0.986 0.003 161.734);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.494 0.133 150.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.301 0.162 292.306);
--secondary-foreground: oklch(0.814 0.109 303.927);
--accent: oklch(0.41 0.105 50.232);
--accent-foreground: oklch(0.89 0.065 59.218);
--destructive: oklch(0.618 0.248 28.738);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.494 0.133 150.362);
--chart-1: oklch(0.494 0.133 150.362);
--chart-2: oklch(0.301 0.162 292.306);
--chart-3: oklch(0.41 0.105 50.232);
--chart-4: oklch(0.326 0.177 291.851);
--chart-5: oklch(0.499 0.136 150.103);
}