Wasteful for shadcn/ui

Wasteful is a shadcn/ui theme built around a light red primary color (#eaccc8) with light orange accents (#eaddc8). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light red primary (#eaccc8) on a red-tinted background (#100605).

Color palette

TokenLightDark
Background
#fefcfbsnow
#100605black
Foreground
#040101black
#f8f7f6whitesmoke
Card
#fcf8f8snow
#140706black
Card foreground
#000000black
#fbf9f9snow
Popover
#fefcfbsnow
#100605black
Popover foreground
#040101black
#f8f7f6whitesmoke
Primary
#eaccc8pink
#eaccc8pink
Primary foreground
#5c2a24saddlebrown
#5c2a24saddlebrown
Secondary
#eac8d5thistle
#eac8d5thistle
Secondary foreground
#5c2439darkslategray
#5c2439darkslategray
Muted
#edd9e1gainsboro
#26121ablack
Muted foreground
#4e4649darkslategray
#b9b1b4silver
Accent
#eaddc8bisque
#eaddc8bisque
Accent foreground
#5c4624darkolivegreen
#5c4624darkolivegreen
Destructive
#8f1505darkred
#f7432btomato
Destructive foreground
#fdcfc9pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eaccc8pink
#eaccc8pink

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card19.94:1AAA
Primary button7.69:1AAA
Secondary button7.75:1AAA
Muted text6.80:1AA
Accent6.63:1AA
Destructive6.57:1AA
Dark mode
Text on background18.70:1AAA
Text on card18.81:1AAA
Primary button7.69:1AAA
Secondary button7.75:1AAA
Muted text8.45:1AAA
Accent6.63:1AA
Destructive3.61:1AA Large

CSS variables

Paste this into your globals.css to use Wasteful in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 26.455);
  --foreground: oklch(0.083 0.016 34.547);
  --muted: oklch(0.904 0.024 352.329);
  --muted-foreground: oklch(0.402 0.013 352.505);
  --popover: oklch(0.991 0.002 26.455);
  --popover-foreground: oklch(0.083 0.016 34.547);
  --card: oklch(0.983 0.004 26.47);
  --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.869 0.034 26.749);
  --primary-foreground: oklch(0.352 0.074 29.084);
  --secondary: oklch(0.865 0.041 352.915);
  --secondary-foreground: oklch(0.348 0.086 358.529);
  --accent: oklch(0.901 0.031 79.825);
  --accent-foreground: oklch(0.41 0.058 77.868);
  --destructive: oklch(0.418 0.157 31.038);
  --destructive-foreground: oklch(0.892 0.053 26.95);
  --ring: oklch(0.869 0.034 26.749);
  --chart-1: oklch(0.869 0.034 26.749);
  --chart-2: oklch(0.865 0.041 352.915);
  --chart-3: oklch(0.901 0.031 79.825);
  --chart-4: oklch(0.892 0.033 352.615);
  --chart-5: oklch(0.868 0.036 26.775);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.02 30.82);
  --foreground: oklch(0.976 0.002 26.452);
  --muted: oklch(0.214 0.035 355.937);
  --muted-foreground: oklch(0.768 0.011 352.002);
  --popover: oklch(0.137 0.02 30.82);
  --popover-foreground: oklch(0.976 0.002 26.452);
  --card: oklch(0.15 0.023 30.083);
  --card-foreground: oklch(0.984 0.001 26.448);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.869 0.034 26.749);
  --primary-foreground: oklch(0.352 0.074 29.084);
  --secondary: oklch(0.865 0.041 352.915);
  --secondary-foreground: oklch(0.348 0.086 358.529);
  --accent: oklch(0.901 0.031 79.825);
  --accent-foreground: oklch(0.41 0.058 77.868);
  --destructive: oklch(0.647 0.22 30.977);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.034 26.749);
  --chart-1: oklch(0.869 0.034 26.749);
  --chart-2: oklch(0.865 0.041 352.915);
  --chart-3: oklch(0.901 0.031 79.825);
  --chart-4: oklch(0.892 0.033 352.615);
  --chart-5: oklch(0.868 0.036 26.775);
}