Easy for shadcn/ui

Easy is a shadcn/ui theme built around a pink primary color (#a3386c) with teal accents (#38a36f). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#a3386c) on a pink-tinted background (#0e060a).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0e060ablack
Foreground
#0d0207black
#f9f6f7whitesmoke
Card
#fdf7fasnow
#12080dblack
Card foreground
#090105black
#fbf9fasnow
Popover
#fefbfcsnow
#0e060ablack
Popover foreground
#0d0207black
#f9f6f7whitesmoke
Primary
#a3386cmediumvioletred
#a3386cmediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#38a36fmediumseagreen
#38a36fmediumseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f0f5f2whitesmoke
#0a0f0dblack
Muted foreground
#404442darkslategray
#bbbfbdsilver
Accent
#38a36fmediumseagreen
#38a36fmediumseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b50903firebrick
#fc2e27orangered
Destructive foreground
#ffeceblinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a3386cmediumvioletred
#a3386cmediumvioletred

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.49:1AAA
Primary button6.27:1AA
Secondary button3.15:1AA Large
Muted text8.95:1AAA
Accent3.15:1AA Large
Destructive6.15:1AA
Dark mode
Text on background18.61:1AAA
Text on card18.81:1AAA
Primary button6.27:1AA
Secondary button3.15:1AA Large
Muted text10.37:1AAA
Accent3.15:1AA Large
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 346.114);
  --foreground: oklch(0.118 0.033 346.363);
  --muted: oklch(0.965 0.006 165.842);
  --muted-foreground: oklch(0.383 0.006 165.581);
  --popover: oklch(0.991 0.004 346.114);
  --popover-foreground: oklch(0.118 0.033 346.363);
  --card: oklch(0.981 0.007 346.212);
  --card-foreground: oklch(0.102 0.029 345.687);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.509 0.151 353.906);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.642 0.126 158.452);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.642 0.126 158.452);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.488 0.197 29.479);
  --destructive-foreground: oklch(0.957 0.021 19.918);
  --ring: oklch(0.509 0.151 353.906);
  --chart-1: oklch(0.509 0.151 353.906);
  --chart-2: oklch(0.642 0.126 158.452);
  --chart-3: oklch(0.642 0.126 158.452);
  --chart-4: oklch(0.674 0.133 158.398);
  --chart-5: oklch(0.511 0.158 354.43);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.017 347.351);
  --foreground: oklch(0.976 0.003 346.11);
  --muted: oklch(0.163 0.01 164.329);
  --muted-foreground: oklch(0.8 0.005 165.844);
  --popover: oklch(0.139 0.017 347.351);
  --popover-foreground: oklch(0.976 0.003 346.11);
  --card: oklch(0.151 0.02 348.854);
  --card-foreground: oklch(0.984 0.002 346.079);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.509 0.151 353.906);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.642 0.126 158.452);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.642 0.126 158.452);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.639 0.238 28.47);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.509 0.151 353.906);
  --chart-1: oklch(0.509 0.151 353.906);
  --chart-2: oklch(0.642 0.126 158.452);
  --chart-3: oklch(0.642 0.126 158.452);
  --chart-4: oklch(0.674 0.133 158.398);
  --chart-5: oklch(0.511 0.158 354.43);
}