Parka for shadcn/ui

Parka is a shadcn/ui theme built around a near-black primary color (#040103) with muted light pink accents (#e2d5dd). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the near-black primary (#040103) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#000000black
Foreground
#080206black
#f9f6f8whitesmoke
Card
#fbf4f8lavenderblush
#030303black
Card foreground
#040103black
#fbf9fasnow
Popover
#fbf4f8lavenderblush
#030303black
Popover foreground
#040103black
#fbf9fasnow
Primary
#040103black
#040103black
Primary foreground
#d463adpalevioletred
#d463adpalevioletred
Secondary
#e2d5ddgainsboro
#352730darkslategray
Secondary foreground
#4f3646darkslategray
#d0becathistle
Muted
#eee2ealavender
#1d1119black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#e2d5ddgainsboro
#352730darkslategray
Accent foreground
#4f3646darkslategray
#d0becathistle
Destructive
#792102maroon
#fb4604orangered
Destructive foreground
#fec4aflightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#040103black
#040103black

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.16:1AAA
Primary button6.11:1AA
Secondary button7.57:1AAA
Muted text5.15:1AA
Accent7.57:1AAA
Destructive6.76:1AA
Dark mode
Text on background19.56:1AAA
Text on card19.72:1AAA
Primary button6.11:1AA
Secondary button8.04:1AAA
Muted text7.09:1AAA
Accent8.04:1AAA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 338.123);
  --foreground: oklch(0.107 0.021 338.306);
  --muted: oklch(0.924 0.017 338.367);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.973 0.01 338.194);
  --popover-foreground: oklch(0.085 0.017 338.306);
  --card: oklch(0.973 0.01 338.194);
  --card-foreground: oklch(0.085 0.017 338.306);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.085 0.018 338.326);
  --primary-foreground: oklch(0.659 0.166 342.87);
  --secondary: oklch(0.885 0.019 338.426);
  --secondary-foreground: oklch(0.367 0.044 340.328);
  --accent: oklch(0.885 0.019 338.426);
  --accent-foreground: oklch(0.367 0.044 340.328);
  --destructive: oklch(0.386 0.126 37.338);
  --destructive-foreground: oklch(0.866 0.073 40.891);
  --ring: oklch(0.085 0.018 338.326);
  --chart-1: oklch(0.085 0.018 338.326);
  --chart-2: oklch(0.885 0.019 338.426);
  --chart-3: oklch(0.885 0.019 338.426);
  --chart-4: oklch(0.91 0.015 338.321);
  --chart-5: oklch(0.084 0.019 338.345);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.005 338.087);
  --muted: oklch(0.197 0.025 340.485);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.984 0.003 338.052);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.984 0.003 338.052);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.085 0.018 338.326);
  --primary-foreground: oklch(0.659 0.166 342.87);
  --secondary: oklch(0.292 0.027 339.824);
  --secondary-foreground: oklch(0.82 0.026 338.624);
  --accent: oklch(0.292 0.027 339.824);
  --accent-foreground: oklch(0.82 0.026 338.624);
  --destructive: oklch(0.655 0.225 35.562);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.085 0.018 338.326);
  --chart-1: oklch(0.085 0.018 338.326);
  --chart-2: oklch(0.292 0.027 339.824);
  --chart-3: oklch(0.292 0.027 339.824);
  --chart-4: oklch(0.321 0.031 339.887);
  --chart-5: oklch(0.084 0.019 338.345);
}