Runny for shadcn/ui

Runny is a shadcn/ui theme built around a pink primary color (#c38da6) with muted light pink accents (#e6e0e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#c38da6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#16040cblack
#fdfcfcsnow
Card
#ffffffwhite
#000000black
Card foreground
#16040cblack
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#16040cblack
#fdfcfcsnow
Primary
#c38da6rosybrown
#c38da6rosybrown
Primary foreground
#140b0fblack
#140b0fblack
Secondary
#e6e0e3gainsboro
#171717black
Secondary foreground
#514349darkslategray
#b1afb0darkgray
Muted
#ede8ealinen
#171214black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#e6e0e3gainsboro
#171717black
Accent foreground
#514349darkslategray
#b1afb0darkgray
Destructive
#a93b04saddlebrown
#f96b24tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c38da6rosybrown
#c38da6rosybrown

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button7.10:1AAA
Secondary button7.17:1AAA
Muted text6.25:1AA
Accent7.17:1AAA
Destructive6.32:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.10:1AAA
Secondary button8.23:1AAA
Muted text8.07:1AAA
Accent8.23:1AAA
Destructive7.18:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.038 351.862);
  --muted: oklch(0.936 0.006 347.988);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.038 351.862);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.146 0.038 351.862);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.704 0.072 350.461);
  --primary-foreground: oklch(0.163 0.018 350.721);
  --secondary: oklch(0.912 0.007 348.02);
  --secondary-foreground: oklch(0.399 0.023 349.318);
  --accent: oklch(0.912 0.007 348.02);
  --accent-foreground: oklch(0.399 0.023 349.318);
  --destructive: oklch(0.504 0.154 40.463);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.704 0.072 350.461);
  --chart-1: oklch(0.704 0.072 350.461);
  --chart-2: oklch(0.912 0.007 348.02);
  --chart-3: oklch(0.912 0.007 348.02);
  --chart-4: oklch(0.936 0.005 347.959);
  --chart-5: oklch(0.702 0.079 350.72);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 347.838);
  --muted: oklch(0.189 0.009 349.085);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 347.838);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 347.838);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.704 0.072 350.461);
  --primary-foreground: oklch(0.163 0.018 350.721);
  --secondary: oklch(0.204 0.001 347.923);
  --secondary-foreground: oklch(0.756 0.002 347.887);
  --accent: oklch(0.204 0.001 347.923);
  --accent-foreground: oklch(0.756 0.002 347.887);
  --destructive: oklch(0.695 0.19 42.957);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.704 0.072 350.461);
  --chart-1: oklch(0.704 0.072 350.461);
  --chart-2: oklch(0.204 0.001 347.923);
  --chart-3: oklch(0.204 0.001 347.923);
  --chart-4: oklch(0.237 0.001 347.935);
  --chart-5: oklch(0.702 0.079 350.72);
}