Wasteful for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button8.81:1AAA
Secondary button7.62:1AAA
Muted text5.51:1AA
Accent7.62:1AAA
Destructive6.70:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button8.81:1AAA
Secondary button7.62:1AAA
Muted text7.55:1AAA
Accent7.62:1AAA
Destructive6.51:1AA

CSS variables

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);
}