Queasy for shadcn/ui

Queasy is a shadcn/ui theme built around a vivid light green primary color (#effeeb) with vivid light red accents (#feebef). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the vivid light green primary (#effeeb) on a green-tinted background (#071005).

Color palette

TokenLightDark
Background
#f8fdf7mintcream
#071005black
Foreground
#071603black
#fcfdfcwhite
Card
#f4fcf2honeydew
#091306black
Card foreground
#051203black
#ffffffwhite
Popover
#f4fcf2honeydew
#091306black
Popover foreground
#051203black
#ffffffwhite
Primary
#effeebhoneydew
#effeebhoneydew
Primary foreground
#114f03darkgreen
#114f03darkgreen
Secondary
#ebeffealiceblue
#ebeffealiceblue
Secondary foreground
#0626b1mediumblue
#0626b1mediumblue
Muted
#dadce7gainsboro
#181a25black
Muted foreground
#444650darkslategray
#afb1bbdarkgray
Accent
#feebeflavenderblush
#feebeflavenderblush
Accent foreground
#b10626firebrick
#b10626firebrick
Destructive
#d90f08red
#f8403atomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#effeebhoneydew
#effeebhoneydew

Contrast

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

Light mode
Text on background18.13:1AAA
Text on card18.37:1AAA
Primary button9.36:1AAA
Secondary button9.53:1AAA
Muted text6.87:1AA
Accent6.28:1AA
Destructive5.24:1AA
Dark mode
Text on background19.03:1AAA
Text on card18.92:1AAA
Primary button9.36:1AAA
Secondary button9.53:1AAA
Muted text8.08:1AAA
Accent6.28:1AA
Destructive3.62: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.989 0.01 139.982);
  --foreground: oklch(0.181 0.045 138.708);
  --muted: oklch(0.896 0.015 275.94);
  --muted-foreground: oklch(0.397 0.016 275.586);
  --popover: oklch(0.983 0.016 139.977);
  --popover-foreground: oklch(0.164 0.04 138.253);
  --card: oklch(0.983 0.016 139.977);
  --card-foreground: oklch(0.164 0.04 138.253);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.981 0.03 139.964);
  --primary-foreground: oklch(0.373 0.119 140.772);
  --secondary: oklch(0.953 0.021 275.867);
  --secondary-foreground: oklch(0.377 0.216 264.749);
  --accent: oklch(0.957 0.021 4.89);
  --accent-foreground: oklch(0.482 0.192 22.451);
  --destructive: oklch(0.559 0.224 29.294);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.981 0.03 139.964);
  --chart-1: oklch(0.981 0.03 139.964);
  --chart-2: oklch(0.953 0.021 275.867);
  --chart-3: oklch(0.957 0.021 4.89);
  --chart-4: oklch(0.988 0.005 276.097);
  --chart-5: oklch(0.982 0.031 139.963);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.027 138.785);
  --foreground: oklch(0.993 0.002 139.989);
  --muted: oklch(0.222 0.022 274.664);
  --muted-foreground: oklch(0.763 0.014 275.922);
  --popover: oklch(0.173 0.032 139.233);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.173 0.032 139.233);
  --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.981 0.03 139.964);
  --primary-foreground: oklch(0.373 0.119 140.772);
  --secondary: oklch(0.953 0.021 275.867);
  --secondary-foreground: oklch(0.377 0.216 264.749);
  --accent: oklch(0.957 0.021 4.89);
  --accent-foreground: oklch(0.482 0.192 22.451);
  --destructive: oklch(0.647 0.22 27.387);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.981 0.03 139.964);
  --chart-1: oklch(0.981 0.03 139.964);
  --chart-2: oklch(0.953 0.021 275.867);
  --chart-3: oklch(0.957 0.021 4.89);
  --chart-4: oklch(0.988 0.005 276.097);
  --chart-5: oklch(0.982 0.031 139.963);
}