Wasting is a shadcn/ui theme built around a muted deep orange primary color (#473c2a) with muted deep violet accents (#3c2a47). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted deep orange primary (#473c2a) on an orange-tinted background (#0f0c06).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0f0c06black |
| Foreground | #171003black | #fdfdfcwhite |
| Card | #fdfbf7snow | #130f07black |
| Card foreground | #120d02black | #ffffffwhite |
| Popover | #fefdfbsnow | #0f0c06black |
| Popover foreground | #171003black | #fdfdfcwhite |
| Primary | #473c2adarkslategray | #473c2adarkslategray |
| Primary foreground | #ddd5c5lightgrey | #ddd5c5lightgrey |
| Secondary | #2a473cdarkslategray | #2a473cdarkslategray |
| Secondary foreground | #c5ddd5lightgrey | #c5ddd5lightgrey |
| Muted | #ebf4f1whitesmoke | #0b1411black |
| Muted foreground | #5c6a66dimgray | #95a39edarkgray |
| Accent | #3c2a47darkslategray | #3c2a47darkslategray |
| Accent foreground | #d5c5ddthistle | #d5c5ddthistle |
| Destructive | #a9260ffirebrick | #ee593ftomato |
| Destructive foreground | #fdefecseashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #473c2adarkslategray | #473c2adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.56:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.14:1 | AA |
Paste this into your globals.css to use Wasting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 83.057);
--foreground: oklch(0.177 0.029 84.77);
--muted: oklch(0.96 0.011 173.239);
--muted-foreground: oklch(0.512 0.019 172.48);
--popover: oklch(0.994 0.003 83.057);
--popover-foreground: oklch(0.177 0.029 84.77);
--card: oklch(0.988 0.005 83.06);
--card-foreground: oklch(0.161 0.026 86.937);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.363 0.034 82.624);
--primary-foreground: oklch(0.874 0.023 83.059);
--secondary: oklch(0.37 0.04 169.901);
--secondary-foreground: oklch(0.878 0.028 172.619);
--accent: oklch(0.318 0.056 313.205);
--accent-foreground: oklch(0.844 0.037 313.98);
--destructive: oklch(0.481 0.171 32.158);
--destructive-foreground: oklch(0.962 0.016 29.532);
--ring: oklch(0.363 0.034 82.624);
--chart-1: oklch(0.363 0.034 82.624);
--chart-2: oklch(0.37 0.04 169.901);
--chart-3: oklch(0.318 0.056 313.205);
--chart-4: oklch(0.403 0.044 169.812);
--chart-5: oklch(0.366 0.037 82.488);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.015 85.242);
--foreground: oklch(0.993 0.001 83.054);
--muted: oklch(0.181 0.016 170.71);
--muted-foreground: oklch(0.701 0.017 172.84);
--popover: oklch(0.154 0.015 85.242);
--popover-foreground: oklch(0.993 0.001 83.054);
--card: oklch(0.169 0.017 83.502);
--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.363 0.034 82.624);
--primary-foreground: oklch(0.874 0.023 83.059);
--secondary: oklch(0.37 0.04 169.901);
--secondary-foreground: oklch(0.878 0.028 172.619);
--accent: oklch(0.318 0.056 313.205);
--accent-foreground: oklch(0.844 0.037 313.98);
--destructive: oklch(0.657 0.189 32.247);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.363 0.034 82.624);
--chart-1: oklch(0.363 0.034 82.624);
--chart-2: oklch(0.37 0.04 169.901);
--chart-3: oklch(0.318 0.056 313.205);
--chart-4: oklch(0.403 0.044 169.812);
--chart-5: oklch(0.366 0.037 82.488);
}