brown creamy type for shadcn/ui

brown creamy type is a shadcn/ui theme built around a muted purple primary color (#c2aec1) with muted green accents (#aec2ae). The light mode uses a neutral background (#fcf8fc). Dark mode keeps the muted purple primary (#c2aec1) on a purple-tinted background (#0f060f).

Color palette

TokenLightDark
Background
#fcf8fcsnow
#0f060fblack
Foreground
#000000black
#fbf9fbsnow
Card
#fcf8fcsnow
#0f060fblack
Card foreground
#000000black
#fbf9fbsnow
Popover
#fcf8fcsnow
#0f060fblack
Popover foreground
#000000black
#fbf9fbsnow
Primary
#c2aec1silver
#c2aec1silver
Primary foreground
#231a23black
#231a23black
Secondary
#aec2aesilver
#aec2aesilver
Secondary foreground
#1a231ablack
#1a231ablack
Muted
#d3ded4lightgrey
#212c21darkslategray
Muted foreground
#3d483ddarkslategray
#b7c2b8silver
Accent
#aec2aesilver
#aec2aesilver
Accent foreground
#1a231ablack
#1a231ablack
Destructive
#b6330cfirebrick
#f14f1eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e3dee2gainsboro
#262126darkslategray
Input
#e3dee2gainsboro
#262126darkslategray
Ring
#c2aec1silver
#c2aec1silver

Contrast

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

Light mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button8.10:1AAA
Secondary button8.52:1AAA
Muted text6.92:1AA
Accent8.52:1AAA
Destructive6.03:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button8.10:1AAA
Secondary button8.52:1AAA
Muted text7.92:1AAA
Accent8.52:1AAA
Destructive3.58:1AA Large

CSS variables

Paste this into your globals.css to use brown creamy type in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.008 326.117);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.89 0.018 145.885);
  --muted-foreground: oklch(0.387 0.022 145.574);
  --popover: oklch(0.983 0.008 326.117);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.008 326.117);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.906 0.007 326.119);
  --input: oklch(0.906 0.007 326.119);
  --primary: oklch(0.773 0.035 326.417);
  --primary-foreground: oklch(0.233 0.02 326.733);
  --secondary: oklch(0.792 0.035 145.686);
  --secondary-foreground: oklch(0.244 0.02 145.359);
  --accent: oklch(0.792 0.035 145.686);
  --accent-foreground: oklch(0.244 0.02 145.359);
  --destructive: oklch(0.518 0.173 35.38);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.773 0.035 326.417);
  --chart-1: oklch(0.773 0.035 326.417);
  --chart-2: oklch(0.792 0.035 145.686);
  --chart-3: oklch(0.792 0.035 145.686);
  --chart-4: oklch(0.815 0.031 145.738);
  --chart-5: oklch(0.771 0.043 326.493);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.026 327.377);
  --foreground: oklch(0.984 0.004 326.086);
  --muted: oklch(0.278 0.024 145.313);
  --muted-foreground: oklch(0.803 0.019 145.864);
  --popover: oklch(0.14 0.026 327.377);
  --popover-foreground: oklch(0.984 0.004 326.086);
  --card: oklch(0.14 0.026 327.377);
  --card-foreground: oklch(0.984 0.004 326.086);
  --border: oklch(0.256 0.012 326.414);
  --input: oklch(0.256 0.012 326.414);
  --primary: oklch(0.773 0.035 326.417);
  --primary-foreground: oklch(0.233 0.02 326.733);
  --secondary: oklch(0.792 0.035 145.686);
  --secondary-foreground: oklch(0.244 0.02 145.359);
  --accent: oklch(0.792 0.035 145.686);
  --accent-foreground: oklch(0.244 0.02 145.359);
  --destructive: oklch(0.647 0.206 36.073);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.773 0.035 326.417);
  --chart-1: oklch(0.773 0.035 326.417);
  --chart-2: oklch(0.792 0.035 145.686);
  --chart-3: oklch(0.792 0.035 145.686);
  --chart-4: oklch(0.815 0.031 145.738);
  --chart-5: oklch(0.771 0.043 326.493);
}