SKILLR for shadcn/ui

SKILLR is a shadcn/ui theme built around a vivid red primary color (#ff3050) with muted light red accents (#dad2d3). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid red primary (#ff3050) on a red-tinted background (#0a0506).

Color palette

TokenLightDark
Background
#fdf7f8snow
#0a0506black
Foreground
#0d0304black
#fdfbfcsnow
Card
#fdf7f8snow
#0a0506black
Card foreground
#0d0304black
#fdfbfcsnow
Popover
#fdf7f8snow
#0a0506black
Popover foreground
#0d0304black
#fdfbfcsnow
Primary
#ff3050crimson
#ff3050crimson
Primary foreground
#caa0a6rosybrown
#caa0a6rosybrown
Secondary
#dad2d3lightgrey
#181616black
Secondary foreground
#433739darkslategray
#b4acaddarkgray
Muted
#f4ebedlinen
#140b0cblack
Muted foreground
#574c4edarkslategray
#b3a8a9darkgray
Accent
#dad2d3lightgrey
#181616black
Accent foreground
#433739darkslategray
#b4acaddarkgray
Destructive
#ff3050crimson
#ff3050crimson
Destructive foreground
#fda39blightsalmon
#ffffffwhite
Border
#e7dfe0gainsboro
#231a1cblack
Input
#e7dfe0gainsboro
#231a1cblack
Ring
#241416black
#241416black

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card19.21:1AAA
Primary button1.56:1Fail
Secondary button7.68:1AAA
Muted text7.06:1AAA
Accent7.68:1AAA
Destructive1.88:1Fail
Dark mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button1.56:1Fail
Secondary button8.11:1AAA
Muted text8.39:1AAA
Accent8.11:1AAA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 6.757);
  --foreground: oklch(0.117 0.026 7.878);
  --muted: oklch(0.948 0.009 6.845);
  --muted-foreground: oklch(0.428 0.016 7.501);
  --popover: oklch(0.981 0.006 6.757);
  --popover-foreground: oklch(0.117 0.026 7.878);
  --card: oklch(0.981 0.006 6.757);
  --card-foreground: oklch(0.117 0.026 7.878);
  --border: oklch(0.91 0.009 6.836);
  --input: oklch(0.91 0.009 6.836);
  --primary: oklch(0.651 0.237 19.636);
  --primary-foreground: oklch(0.746 0.052 8.316);
  --secondary: oklch(0.871 0.009 6.859);
  --secondary-foreground: oklch(0.351 0.018 7.846);
  --accent: oklch(0.871 0.009 6.859);
  --accent-foreground: oklch(0.351 0.018 7.846);
  --destructive: oklch(0.651 0.237 19.636);
  --destructive-foreground: oklch(0.803 0.109 25.422);
  --ring: oklch(0.214 0.027 9.798);
  --chart-1: oklch(0.214 0.027 9.798);
  --chart-2: oklch(0.871 0.009 6.859);
  --chart-3: oklch(0.871 0.009 6.859);
  --chart-4: oklch(0.896 0.007 6.802);
  --chart-5: oklch(0.213 0.03 10.179);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.011 6.981);
  --foreground: oklch(0.991 0.002 6.648);
  --muted: oklch(0.162 0.015 8.938);
  --muted-foreground: oklch(0.741 0.013 7.049);
  --popover: oklch(0.125 0.011 6.981);
  --popover-foreground: oklch(0.991 0.002 6.648);
  --card: oklch(0.125 0.011 6.981);
  --card-foreground: oklch(0.991 0.002 6.648);
  --border: oklch(0.23 0.014 8.085);
  --input: oklch(0.23 0.014 8.085);
  --primary: oklch(0.651 0.237 19.636);
  --primary-foreground: oklch(0.746 0.052 8.316);
  --secondary: oklch(0.202 0.004 7.058);
  --secondary-foreground: oklch(0.751 0.009 6.903);
  --accent: oklch(0.202 0.004 7.058);
  --accent-foreground: oklch(0.751 0.009 6.903);
  --destructive: oklch(0.651 0.237 19.636);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.214 0.027 9.798);
  --chart-1: oklch(0.214 0.027 9.798);
  --chart-2: oklch(0.202 0.004 7.058);
  --chart-3: oklch(0.202 0.004 7.058);
  --chart-4: oklch(0.235 0.005 7.107);
  --chart-5: oklch(0.213 0.03 10.179);
}