Queasy for shadcn/ui

Queasy is a shadcn/ui theme built around a light red primary color (#f8e0d8) with light cyan accents (#d8f0f8). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the light red primary (#f8e0d8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf9f8snow
#000000black
Foreground
#0d0502black
#ffffffwhite
Card
#fbf5f4whitesmoke
#030303black
Card foreground
#090302black
#ffffffwhite
Popover
#fbf5f4whitesmoke
#030303black
Popover foreground
#090302black
#ffffffwhite
Primary
#f8e0d8antiquewhite
#f8e0d8antiquewhite
Primary foreground
#863219saddlebrown
#863219saddlebrown
Secondary
#d8f0f8lavender
#d8f0f8lavender
Secondary foreground
#09262fblack
#09262fblack
Muted
#d1e1e5gainsboro
#1a292edarkslategray
Muted foreground
#596569dimgray
#96a2a6darkgray
Accent
#d8f0f8lavender
#d8f0f8lavender
Accent foreground
#09262fblack
#09262fblack
Destructive
#aa4108saddlebrown
#f67d3ccoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f8e0d8antiquewhite
#f8e0d8antiquewhite

Contrast

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

Light mode
Text on background19.24:1AAA
Text on card19.03:1AAA
Primary button6.68:1AA
Secondary button13.38:1AAA
Muted text4.46:1AA Large
Accent13.38:1AAA
Destructive6.04:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.68:1AA
Secondary button13.38:1AAA
Muted text5.72:1AA
Accent13.38:1AAA
Destructive7.91:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 37.721);
  --foreground: oklch(0.127 0.02 46.767);
  --muted: oklch(0.898 0.018 217.873);
  --muted-foreground: oklch(0.498 0.016 217.978);
  --popover: oklch(0.975 0.006 37.711);
  --popover-foreground: oklch(0.11 0.017 47.31);
  --card: oklch(0.975 0.006 37.711);
  --card-foreground: oklch(0.11 0.017 47.31);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.923 0.029 37.627);
  --primary-foreground: oklch(0.433 0.121 37.086);
  --secondary: oklch(0.941 0.027 217.955);
  --secondary-foreground: oklch(0.253 0.038 221.647);
  --accent: oklch(0.941 0.027 217.955);
  --accent-foreground: oklch(0.253 0.038 221.647);
  --destructive: oklch(0.514 0.151 42.167);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.923 0.029 37.627);
  --chart-1: oklch(0.923 0.029 37.627);
  --chart-2: oklch(0.941 0.027 217.955);
  --chart-3: oklch(0.941 0.027 217.955);
  --chart-4: oklch(0.961 0.018 217.868);
  --chart-5: oklch(0.923 0.03 37.624);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.269 0.022 218.77);
  --muted-foreground: oklch(0.705 0.015 217.88);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.923 0.029 37.627);
  --primary-foreground: oklch(0.433 0.121 37.086);
  --secondary: oklch(0.941 0.027 217.955);
  --secondary-foreground: oklch(0.253 0.038 221.647);
  --accent: oklch(0.941 0.027 217.955);
  --accent-foreground: oklch(0.253 0.038 221.647);
  --destructive: oklch(0.718 0.167 46.322);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.923 0.029 37.627);
  --chart-1: oklch(0.923 0.029 37.627);
  --chart-2: oklch(0.941 0.027 217.955);
  --chart-3: oklch(0.941 0.027 217.955);
  --chart-4: oklch(0.961 0.018 217.868);
  --chart-5: oklch(0.923 0.03 37.624);
}