Sneakers for shadcn/ui

Sneakers is a shadcn/ui theme built around a pink primary color (#de789a) with red accents (#de8978). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#de789a) on a pink-tinted background (#0f0509).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0f0509black
Foreground
#000000black
#ffffffwhite
Card
#fefbfcsnow
#0f0509black
Card foreground
#000000black
#ffffffwhite
Popover
#fefbfcsnow
#0f0509black
Popover foreground
#000000black
#ffffffwhite
Primary
#de789apalevioletred
#de789apalevioletred
Primary foreground
#1d070eblack
#1d070eblack
Secondary
#de78cdorchid
#de78cdorchid
Secondary foreground
#1d0719black
#1d0719black
Muted
#f2e9f0whitesmoke
#160d15black
Muted foreground
#5d565cdimgray
#a9a2a8darkgray
Accent
#de8978darksalmon
#de8978darksalmon
Accent foreground
#1d0b07black
#1d0b07black
Destructive
#5f2107maroon
#ef6125chocolate
Destructive foreground
#f8baa0lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#de789apalevioletred
#de789apalevioletred

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.42:1AAA
Primary button6.64:1AA
Secondary button6.98:1AA
Muted text5.97:1AA
Accent7.19:1AAA
Destructive7.31:1AAA
Dark mode
Text on background20.06:1AAA
Text on card20.06:1AAA
Primary button6.64:1AA
Secondary button6.98:1AA
Muted text7.61:1AAA
Accent7.19:1AAA
Destructive6.40:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 354.678);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.942 0.014 331.017);
  --muted-foreground: oklch(0.461 0.013 331.202);
  --popover: oklch(0.991 0.003 354.678);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.003 354.678);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.695 0.132 359.868);
  --primary-foreground: oklch(0.169 0.04 0.767);
  --secondary: oklch(0.714 0.164 333.681);
  --secondary-foreground: oklch(0.175 0.049 334.207);
  --accent: oklch(0.714 0.109 32.056);
  --accent-foreground: oklch(0.175 0.033 33.364);
  --destructive: oklch(0.339 0.096 40.703);
  --destructive-foreground: oklch(0.84 0.08 44.243);
  --ring: oklch(0.695 0.132 359.868);
  --chart-1: oklch(0.695 0.132 359.868);
  --chart-2: oklch(0.714 0.164 333.681);
  --chart-3: oklch(0.714 0.109 32.056);
  --chart-4: oklch(0.738 0.149 333.35);
  --chart-5: oklch(0.695 0.139 0.153);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.022 355.866);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.176 0.021 332.33);
  --muted-foreground: oklch(0.721 0.012 331.04);
  --popover: oklch(0.136 0.022 355.866);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.136 0.022 355.866);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.695 0.132 359.868);
  --primary-foreground: oklch(0.169 0.04 0.767);
  --secondary: oklch(0.714 0.164 333.681);
  --secondary-foreground: oklch(0.175 0.049 334.207);
  --accent: oklch(0.714 0.109 32.056);
  --accent-foreground: oklch(0.175 0.033 33.364);
  --destructive: oklch(0.666 0.188 40.74);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.695 0.132 359.868);
  --chart-1: oklch(0.695 0.132 359.868);
  --chart-2: oklch(0.714 0.164 333.681);
  --chart-3: oklch(0.714 0.109 32.056);
  --chart-4: oklch(0.738 0.149 333.35);
  --chart-5: oklch(0.695 0.139 0.153);
}