Wasteful is a shadcn/ui theme built around a vivid yellow primary color (#e3b40d) with vivid blue accents (#0d3be3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#e3b40d) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040301black |
| Foreground | #110e03black | #fdfdfcwhite |
| Card | #ffffffwhite | #040301black |
| Card foreground | #110e03black | #fdfdfcwhite |
| Popover | #ffffffwhite | #040301black |
| Popover foreground | #110e03black | #fdfdfcwhite |
| Primary | #e3b40dgoldenrod | #e3b40dgoldenrod |
| Primary foreground | #221b02black | #221b02black |
| Secondary | #0d3be3mediumblue | #0d3be3mediumblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8dce9gainsboro | #161a27black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #0d3be3mediumblue | #0d3be3mediumblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #822008maroon | #f35f39tomato |
| Destructive foreground | #fbccc0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3b40dgoldenrod | #e3b40dgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 5.51:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Wasteful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.164 0.024 96.619);
--muted: oklch(0.895 0.018 273.628);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.164 0.024 96.619);
--card: oklch(1 0 180);
--card-foreground: oklch(0.164 0.024 96.619);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.79 0.16 89.784);
--primary-foreground: oklch(0.223 0.042 94.507);
--secondary: oklch(0.465 0.252 264.556);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.465 0.252 264.556);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.403 0.137 34.166);
--destructive-foreground: oklch(0.884 0.056 34.373);
--ring: oklch(0.79 0.16 89.784);
--chart-1: oklch(0.79 0.16 89.784);
--chart-2: oklch(0.465 0.252 264.556);
--chart-3: oklch(0.465 0.252 264.556);
--chart-4: oklch(0.486 0.264 264.529);
--chart-5: oklch(0.798 0.162 89.415);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 97.584);
--foreground: oklch(0.993 0.001 93.871);
--muted: oklch(0.22 0.026 272.196);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.099 0.01 97.584);
--popover-foreground: oklch(0.993 0.001 93.871);
--card: oklch(0.099 0.01 97.584);
--card-foreground: oklch(0.993 0.001 93.871);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.79 0.16 89.784);
--primary-foreground: oklch(0.223 0.042 94.507);
--secondary: oklch(0.465 0.252 264.556);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.465 0.252 264.556);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.672 0.191 35.11);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.79 0.16 89.784);
--chart-1: oklch(0.79 0.16 89.784);
--chart-2: oklch(0.465 0.252 264.556);
--chart-3: oklch(0.465 0.252 264.556);
--chart-4: oklch(0.486 0.264 264.529);
--chart-5: oklch(0.798 0.162 89.415);
}