Queasy for shadcn/ui

Queasy is a shadcn/ui theme built around a muted green primary color (#979f84) with neutral gray accents (#d7d7d5). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the muted green primary (#979f84) on a green-tinted background (#090b05).

Color palette

TokenLightDark
Background
#fbfdf7snow
#090b05black
Foreground
#0d1104black
#f9faf4whitesmoke
Card
#f9fbf3floralwhite
#0c0e06black
Card foreground
#0a0d03black
#fbfcf8snow
Popover
#f9fbf3floralwhite
#0c0e06black
Popover foreground
#0a0d03black
#fbfcf8snow
Primary
#979f84darkseagreen
#979f84darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#d7d7d5lightgrey
#1f1f1fblack
Secondary foreground
#3e3e3cdarkslategray
#b8b8b8silver
Muted
#dfe6cbgainsboro
#341919black
Muted foreground
#616652dimgray
#ad9999rosybrown
Accent
#d7d7d5lightgrey
#1f1f1fblack
Accent foreground
#3e3e3cdarkslategray
#b8b8b8silver
Destructive
#650401maroon
#fd1008red
Destructive foreground
#fe9d9alightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#979f84darkseagreen
#979f84darkseagreen

Contrast

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

Light mode
Text on background18.60:1AAA
Text on card18.82:1AAA
Primary button7.58:1AAA
Secondary button7.43:1AAA
Muted text4.62:1AA
Accent7.43:1AAA
Destructive6.67:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.82:1AAA
Primary button7.58:1AAA
Secondary button8.34:1AAA
Muted text6.01:1AA
Accent8.34:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 118.692);
  --foreground: oklch(0.168 0.029 120.434);
  --muted: oklch(0.913 0.036 119.266);
  --muted-foreground: oklch(0.499 0.032 119.687);
  --popover: oklch(0.985 0.011 118.756);
  --popover-foreground: oklch(0.15 0.025 119.186);
  --card: oklch(0.985 0.011 118.756);
  --card-foreground: oklch(0.15 0.025 119.186);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.688 0.038 119.545);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.878 0.002 118.611);
  --secondary-foreground: oklch(0.364 0.004 118.769);
  --accent: oklch(0.878 0.002 118.611);
  --accent-foreground: oklch(0.364 0.004 118.769);
  --destructive: oklch(0.321 0.128 29.826);
  --destructive-foreground: oklch(0.795 0.116 22.131);
  --ring: oklch(0.688 0.038 119.545);
  --chart-1: oklch(0.688 0.038 119.545);
  --chart-2: oklch(0.878 0.002 118.611);
  --chart-3: oklch(0.878 0.002 118.611);
  --chart-4: oklch(0.902 0.002 118.602);
  --chart-5: oklch(0.696 0.047 119.772);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.015 118.683);
  --foreground: oklch(0.983 0.008 118.705);
  --muted: oklch(0.251 0.043 20.561);
  --muted-foreground: oklch(0.701 0.024 17.738);
  --popover: oklch(0.159 0.018 119.841);
  --popover-foreground: oklch(0.989 0.005 118.658);
  --card: oklch(0.159 0.018 119.841);
  --card-foreground: oklch(0.989 0.005 118.658);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.688 0.038 119.545);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.238 0 161.565);
  --secondary-foreground: oklch(0.781 0 180);
  --accent: oklch(0.238 0 161.565);
  --accent-foreground: oklch(0.781 0 180);
  --destructive: oklch(0.626 0.253 29.328);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.688 0.038 119.545);
  --chart-1: oklch(0.688 0.038 119.545);
  --chart-2: oklch(0.238 0 161.565);
  --chart-3: oklch(0.238 0 161.565);
  --chart-4: oklch(0.27 0 180);
  --chart-5: oklch(0.696 0.047 119.772);
}