Pleased for shadcn/ui

Pleased is a shadcn/ui theme built around a light yellow primary color (#e3dfc9) with light green accents (#dae3c9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#e3dfc9) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#ffffffwhite
#040301black
Foreground
#161403black
#ffffffwhite
Card
#ffffffwhite
#040301black
Card foreground
#161403black
#ffffffwhite
Popover
#ffffffwhite
#040301black
Popover foreground
#161403black
#ffffffwhite
Primary
#e3dfc9gainsboro
#e3dfc9gainsboro
Primary foreground
#514b2adarkolivegreen
#514b2adarkolivegreen
Secondary
#e3d2c9lightgrey
#e3d2c9lightgrey
Secondary foreground
#51372adarkolivegreen
#51372adarkolivegreen
Muted
#f6f1efwhitesmoke
#100c09black
Muted foreground
#6d5a50dimgray
#af9c92rosybrown
Accent
#dae3c9lightgrey
#dae3c9lightgrey
Accent foreground
#43512adarkolivegreen
#43512adarkolivegreen
Destructive
#b34205saddlebrown
#e05206orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3dfc9gainsboro
#e3dfc9gainsboro

Contrast

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

Light mode
Text on background18.49:1AAA
Text on card18.49:1AAA
Primary button6.57:1AA
Secondary button7.44:1AAA
Muted text5.81:1AA
Accent6.46:1AA
Destructive5.69:1AA
Dark mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button6.57:1AA
Secondary button7.44:1AAA
Muted text7.41:1AAA
Accent6.46:1AA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.188 0.032 100.541);
  --muted: oklch(0.962 0.006 50.581);
  --muted-foreground: oklch(0.483 0.029 49.952);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.188 0.032 100.541);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.188 0.032 100.541);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.902 0.03 98.759);
  --primary-foreground: oklch(0.41 0.051 99.497);
  --secondary: oklch(0.876 0.023 50.336);
  --secondary-foreground: oklch(0.364 0.043 49.237);
  --accent: oklch(0.903 0.036 122.849);
  --accent-foreground: oklch(0.412 0.063 124.87);
  --destructive: oklch(0.529 0.159 41.457);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.902 0.03 98.759);
  --chart-1: oklch(0.902 0.03 98.759);
  --chart-2: oklch(0.876 0.023 50.336);
  --chart-3: oklch(0.903 0.036 122.849);
  --chart-4: oklch(0.899 0.018 50.403);
  --chart-5: oklch(0.904 0.033 98.795);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.01 101.402);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.158 0.009 50.097);
  --muted-foreground: oklch(0.707 0.026 50.209);
  --popover: oklch(0.1 0.01 101.402);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.1 0.01 101.402);
  --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.902 0.03 98.759);
  --primary-foreground: oklch(0.41 0.051 99.497);
  --secondary: oklch(0.876 0.023 50.336);
  --secondary-foreground: oklch(0.364 0.043 49.237);
  --accent: oklch(0.903 0.036 122.849);
  --accent-foreground: oklch(0.412 0.063 124.87);
  --destructive: oklch(0.622 0.19 40.919);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.902 0.03 98.759);
  --chart-1: oklch(0.902 0.03 98.759);
  --chart-2: oklch(0.876 0.023 50.336);
  --chart-3: oklch(0.903 0.036 122.849);
  --chart-4: oklch(0.899 0.018 50.403);
  --chart-5: oklch(0.904 0.033 98.795);
}