Small Creek Pebble for shadcn/ui

Small Creek Pebble is a shadcn/ui theme built around a neutral gray primary color (#dbd7d8) with neutral gray accents (#dbd8d7). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the neutral gray primary (#dbd7d8) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fdf7f9snow
#040102black
Foreground
#160309black
#fbf9fasnow
Card
#fdf7f9snow
#040102black
Card foreground
#160309black
#fbf9fasnow
Popover
#fdf7f9snow
#040102black
Popover foreground
#160309black
#fbf9fasnow
Primary
#dbd7d8gainsboro
#dbd7d8gainsboro
Primary foreground
#433d3edarkslategray
#433d3edarkslategray
Secondary
#dbd7dagainsboro
#dbd7dagainsboro
Secondary foreground
#433d42darkslategray
#433d42darkslategray
Muted
#ead7e6gainsboro
#281524black
Muted foreground
#73596edimgray
#a68ca1rosybrown
Accent
#dbd8d7gainsboro
#dbd8d7gainsboro
Accent foreground
#433e3ddarkslategray
#433e3ddarkslategray
Destructive
#791602maroon
#ec2a04orangered
Destructive foreground
#febcaflightpink
#ffffffwhite
Border
#e6e0e2gainsboro
#221b1dblack
Input
#e6e0e2gainsboro
#221b1dblack
Ring
#dbd7d8gainsboro
#dbd7d8gainsboro

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button7.43:1AAA
Secondary button7.41:1AAA
Muted text4.53:1AA
Accent7.39:1AAA
Destructive6.78:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.43:1AAA
Secondary button7.41:1AAA
Muted text5.62:1AA
Accent7.39:1AAA
Destructive4.27:1AA Large

CSS variables

Paste this into your globals.css to use Small Creek Pebble in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.008 356.879);
  --foreground: oklch(0.143 0.039 0.378);
  --muted: oklch(0.898 0.03 332.492);
  --muted-foreground: oklch(0.497 0.047 333.339);
  --popover: oklch(0.981 0.008 356.879);
  --popover-foreground: oklch(0.143 0.039 0.378);
  --card: oklch(0.981 0.008 356.879);
  --card-foreground: oklch(0.143 0.039 0.378);
  --border: oklch(0.911 0.008 356.904);
  --input: oklch(0.911 0.008 356.904);
  --primary: oklch(0.882 0.004 356.804);
  --primary-foreground: oklch(0.366 0.009 357.384);
  --secondary: oklch(0.883 0.006 332.104);
  --secondary-foreground: oklch(0.367 0.012 332.491);
  --accent: oklch(0.883 0.004 34.31);
  --accent-foreground: oklch(0.368 0.007 34.297);
  --destructive: oklch(0.374 0.136 32.938);
  --destructive-foreground: oklch(0.852 0.079 31.517);
  --ring: oklch(0.882 0.004 356.804);
  --chart-1: oklch(0.882 0.004 356.804);
  --chart-2: oklch(0.883 0.006 332.104);
  --chart-3: oklch(0.883 0.004 34.31);
  --chart-4: oklch(0.906 0.005 332.082);
  --chart-5: oklch(0.881 0.007 356.891);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.015 356.376);
  --foreground: oklch(0.984 0.002 356.702);
  --muted: oklch(0.229 0.041 334.496);
  --muted-foreground: oklch(0.67 0.044 332.939);
  --popover: oklch(0.084 0.015 356.376);
  --popover-foreground: oklch(0.984 0.002 356.702);
  --card: oklch(0.084 0.015 356.376);
  --card-foreground: oklch(0.984 0.002 356.702);
  --border: oklch(0.231 0.012 358.129);
  --input: oklch(0.231 0.012 358.129);
  --primary: oklch(0.882 0.004 356.804);
  --primary-foreground: oklch(0.366 0.009 357.384);
  --secondary: oklch(0.883 0.006 332.104);
  --secondary-foreground: oklch(0.367 0.012 332.491);
  --accent: oklch(0.883 0.004 34.31);
  --accent-foreground: oklch(0.368 0.007 34.297);
  --destructive: oklch(0.607 0.229 31.849);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.882 0.004 356.804);
  --chart-1: oklch(0.882 0.004 356.804);
  --chart-2: oklch(0.883 0.006 332.104);
  --chart-3: oklch(0.883 0.004 34.31);
  --chart-4: oklch(0.906 0.005 332.082);
  --chart-5: oklch(0.881 0.007 356.891);
}