Stuff for shadcn/ui

Stuff is a shadcn/ui theme built around a light green primary color (#d1ebc6) with light pink accents (#ebc6d1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#d1ebc6) on a neutral background (#040802).

Color palette

TokenLightDark
Background
#ffffffwhite
#040802black
Foreground
#020401black
#f9fbf8mintcream
Card
#ffffffwhite
#040802black
Card foreground
#020401black
#f9fbf8mintcream
Popover
#ffffffwhite
#040802black
Popover foreground
#020401black
#f9fbf8mintcream
Primary
#d1ebc6lightgrey
#d1ebc6lightgrey
Primary foreground
#0a1307black
#0a1307black
Secondary
#c6d1eblightblue
#c6d1eblightblue
Secondary foreground
#21325fmidnightblue
#21325fmidnightblue
Muted
#d1d6e0gainsboro
#1f232edarkslategray
Muted foreground
#55575edimgray
#a1a4aadarkgray
Accent
#ebc6d1thistle
#ebc6d1thistle
Accent foreground
#5f2132saddlebrown
#5f2132saddlebrown
Destructive
#b5450dsienna
#f1783bcoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1ebc6lightgrey
#d1ebc6lightgrey

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button14.83:1AAA
Secondary button8.11:1AAA
Muted text4.93:1AA
Accent7.73:1AAA
Destructive5.49:1AA
Dark mode
Text on background19.38:1AAA
Text on card19.38:1AAA
Primary button14.83:1AAA
Secondary button8.11:1AAA
Muted text6.28:1AA
Accent7.73:1AAA
Destructive7.51:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.015 135.122);
  --muted: oklch(0.875 0.015 268.664);
  --muted-foreground: oklch(0.458 0.011 268.61);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.098 0.015 135.122);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.098 0.015 135.122);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.912 0.058 136.809);
  --primary-foreground: oklch(0.173 0.029 136.584);
  --secondary: oklch(0.86 0.039 268.413);
  --secondary-foreground: oklch(0.328 0.083 265.806);
  --accent: oklch(0.862 0.045 359.154);
  --accent-foreground: oklch(0.346 0.092 5.771);
  --destructive: oklch(0.537 0.158 41.481);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.912 0.058 136.809);
  --chart-1: oklch(0.912 0.058 136.809);
  --chart-2: oklch(0.86 0.039 268.413);
  --chart-3: oklch(0.862 0.045 359.154);
  --chart-4: oklch(0.888 0.031 268.512);
  --chart-5: oklch(0.914 0.061 136.821);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.023 134.84);
  --foreground: oklch(0.987 0.004 136.622);
  --muted: oklch(0.257 0.021 268.049);
  --muted-foreground: oklch(0.718 0.01 268.693);
  --popover: oklch(0.125 0.023 134.84);
  --popover-foreground: oklch(0.987 0.004 136.622);
  --card: oklch(0.125 0.023 134.84);
  --card-foreground: oklch(0.987 0.004 136.622);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.912 0.058 136.809);
  --primary-foreground: oklch(0.173 0.029 136.584);
  --secondary: oklch(0.86 0.039 268.413);
  --secondary-foreground: oklch(0.328 0.083 265.806);
  --accent: oklch(0.862 0.045 359.154);
  --accent-foreground: oklch(0.346 0.092 5.771);
  --destructive: oklch(0.704 0.166 44.906);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.912 0.058 136.809);
  --chart-1: oklch(0.912 0.058 136.809);
  --chart-2: oklch(0.86 0.039 268.413);
  --chart-3: oklch(0.862 0.045 359.154);
  --chart-4: oklch(0.888 0.031 268.512);
  --chart-5: oklch(0.914 0.061 136.821);
}