Simplistic for shadcn/ui

Simplistic is a shadcn/ui theme built around a muted light green primary color (#e2e9d8) with neutral gray accents (#e6e6e5). The light mode uses a neutral background (#fafcf8). Dark mode keeps the muted light green primary (#e2e9d8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fafcf8snow
#000000black
Foreground
#060802black
#f8f8f6whitesmoke
Card
#fafcf8snow
#000000black
Card foreground
#060802black
#f8f8f6whitesmoke
Popover
#fafcf8snow
#000000black
Popover foreground
#060802black
#f8f8f6whitesmoke
Primary
#e2e9d8gainsboro
#e2e9d8gainsboro
Primary foreground
#161a0eblack
#161a0eblack
Secondary
#e6e6e5gainsboro
#313130darkslategray
Secondary foreground
#4d4f4adarkslategray
#cacac9lightgrey
Muted
#eef1e9linen
#13160eblack
Muted foreground
#5d6454dimgray
#a5ab9bdarkgray
Accent
#e6e6e5gainsboro
#313130darkslategray
Accent foreground
#4d4f4adarkslategray
#cacac9lightgrey
Destructive
#651601maroon
#ef3501orangered
Destructive foreground
#feaf9alightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e2e9d8gainsboro
#e2e9d8gainsboro

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button14.23:1AAA
Secondary button6.64:1AA
Muted text5.39:1AA
Accent6.64:1AA
Destructive7.04:1AAA
Dark mode
Text on background19.74:1AAA
Text on card19.74:1AAA
Primary button14.23:1AAA
Secondary button7.95:1AAA
Muted text7.74:1AAA
Accent7.95:1AAA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 124.418);
  --foreground: oklch(0.129 0.021 123.575);
  --muted: oklch(0.954 0.012 124.524);
  --muted-foreground: oklch(0.493 0.027 125.143);
  --popover: oklch(0.988 0.005 124.418);
  --popover-foreground: oklch(0.129 0.021 123.575);
  --card: oklch(0.988 0.005 124.418);
  --card-foreground: oklch(0.129 0.021 123.575);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.025 124.733);
  --primary-foreground: oklch(0.21 0.023 126.043);
  --secondary: oklch(0.925 0.002 124.378);
  --secondary-foreground: oklch(0.424 0.008 124.611);
  --accent: oklch(0.925 0.002 124.378);
  --accent-foreground: oklch(0.424 0.008 124.611);
  --destructive: oklch(0.337 0.116 35.525);
  --destructive-foreground: oklch(0.826 0.098 36.117);
  --ring: oklch(0.925 0.025 124.733);
  --chart-1: oklch(0.925 0.025 124.733);
  --chart-2: oklch(0.925 0.002 124.378);
  --chart-3: oklch(0.925 0.002 124.378);
  --chart-4: oklch(0.948 0.001 124.367);
  --chart-5: oklch(0.926 0.027 124.772);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.003 124.391);
  --muted: oklch(0.194 0.017 125.689);
  --muted-foreground: oklch(0.733 0.024 124.828);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.003 124.391);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.003 124.391);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.025 124.733);
  --primary-foreground: oklch(0.21 0.023 126.043);
  --secondary: oklch(0.312 0.002 124.427);
  --secondary-foreground: oklch(0.838 0.002 124.371);
  --accent: oklch(0.312 0.002 124.427);
  --accent-foreground: oklch(0.838 0.002 124.371);
  --destructive: oklch(0.618 0.226 33.35);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.025 124.733);
  --chart-1: oklch(0.925 0.025 124.733);
  --chart-2: oklch(0.312 0.002 124.427);
  --chart-3: oklch(0.312 0.002 124.427);
  --chart-4: oklch(0.342 0.002 124.429);
  --chart-5: oklch(0.926 0.027 124.772);
}