Endless Sweet Ariel for shadcn/ui

Endless Sweet Ariel is a shadcn/ui theme built around a muted light green primary color (#e3e9e2) with muted light green accents (#e2e9e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#e3e9e2) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#ffffffwhite
#040703black
Foreground
#010401black
#f9fbf9mintcream
Card
#fcfcfcsnow
#060a05black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fcfcfcsnow
#060a05black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#e3e9e2gainsboro
#e3e9e2gainsboro
Primary foreground
#465841darkslategray
#465841darkslategray
Secondary
#e7e9e2gainsboro
#e7e9e2gainsboro
Secondary foreground
#515841darkolivegreen
#515841darkolivegreen
Muted
#f0f1eewhitesmoke
#10110eblack
Muted foreground
#44483ddarkslategray
#bfc2b7silver
Accent
#e2e9e4gainsboro
#e2e9e4gainsboro
Accent foreground
#415848darkslategray
#415848darkslategray
Destructive
#782202maroon
#fb6028tomato
Destructive foreground
#fdc4aflightpink
#000000black
Border
#eaebealinen
#232523black
Input
#eaebealinen
#232523black
Ring
#e3e9e2gainsboro
#e3e9e2gainsboro

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.54:1AAA
Primary button6.24:1AA
Secondary button6.08:1AA
Muted text8.27:1AAA
Accent6.27:1AA
Destructive6.76:1AA
Dark mode
Text on background19.47:1AAA
Text on card19.51:1AAA
Primary button6.24:1AA
Secondary button6.08:1AA
Muted text10.50:1AAA
Accent6.27:1AA
Destructive6.79:1AA

CSS variables

Paste this into your globals.css to use Endless Sweet Ariel in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.023 137.119);
  --muted: oklch(0.957 0.004 120.104);
  --muted-foreground: oklch(0.394 0.018 120.809);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.94 0.002 139.444);
  --input: oklch(0.94 0.002 139.444);
  --primary: oklch(0.928 0.012 139.441);
  --primary-foreground: oklch(0.438 0.043 139.437);
  --secondary: oklch(0.931 0.01 120.228);
  --secondary-foreground: oklch(0.447 0.037 121.465);
  --accent: oklch(0.928 0.011 155.645);
  --accent-foreground: oklch(0.436 0.038 154.055);
  --destructive: oklch(0.385 0.125 37.389);
  --destructive-foreground: oklch(0.866 0.072 40.894);
  --ring: oklch(0.928 0.012 139.441);
  --chart-1: oklch(0.928 0.012 139.441);
  --chart-2: oklch(0.931 0.01 120.228);
  --chart-3: oklch(0.928 0.011 155.645);
  --chart-4: oklch(0.952 0.007 120.167);
  --chart-5: oklch(0.929 0.015 139.44);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.014 138.327);
  --foreground: oklch(0.986 0.004 139.443);
  --muted: oklch(0.174 0.006 120.593);
  --muted-foreground: oklch(0.809 0.015 120.352);
  --popover: oklch(0.139 0.016 138.329);
  --popover-foreground: oklch(0.993 0.002 139.444);
  --card: oklch(0.139 0.016 138.329);
  --card-foreground: oklch(0.993 0.002 139.444);
  --border: oklch(0.261 0.005 139.44);
  --input: oklch(0.261 0.005 139.44);
  --primary: oklch(0.928 0.012 139.441);
  --primary-foreground: oklch(0.438 0.043 139.437);
  --secondary: oklch(0.931 0.01 120.228);
  --secondary-foreground: oklch(0.447 0.037 121.465);
  --accent: oklch(0.928 0.011 155.645);
  --accent-foreground: oklch(0.436 0.038 154.055);
  --destructive: oklch(0.683 0.2 38.551);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.928 0.012 139.441);
  --chart-1: oklch(0.928 0.012 139.441);
  --chart-2: oklch(0.931 0.01 120.228);
  --chart-3: oklch(0.928 0.011 155.645);
  --chart-4: oklch(0.952 0.007 120.167);
  --chart-5: oklch(0.929 0.015 139.44);
}