Skiing for shadcn/ui

Skiing is a shadcn/ui theme built around a light violet primary color (#cfbdeb) with light purple accents (#e6bdeb). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the light violet primary (#cfbdeb) on a violet-tinted background (#0a070d).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#0a070dblack
Foreground
#000000black
#faf9fbghostwhite
Card
#faf8fcghostwhite
#0c0911black
Card foreground
#000000black
#fcfcfdwhite
Popover
#faf8fcghostwhite
#0c0911black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#cfbdebthistle
#cfbdebthistle
Primary foreground
#341c5amidnightblue
#341c5amidnightblue
Secondary
#bdc1eblightsteelblue
#bdc1eblightsteelblue
Secondary foreground
#1c225amidnightblue
#1c225amidnightblue
Muted
#e6e7eflavender
#101119black
Muted foreground
#3f3f40darkslategray
#bfbfc0silver
Accent
#e6bdebthistle
#e6bdebthistle
Accent foreground
#541c5aindigo
#541c5aindigo
Destructive
#9e2710brown
#e83a17orangered
Destructive foreground
#fce7e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cfbdebthistle
#cfbdebthistle

Contrast

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

Light mode
Text on background20.44:1AAA
Text on card19.90:1AAA
Primary button8.28:1AAA
Secondary button8.41:1AAA
Muted text8.52:1AAA
Accent7.57:1AAA
Destructive6.42:1AA
Dark mode
Text on background19.08:1AAA
Text on card19.30:1AAA
Primary button8.28:1AAA
Secondary button8.41:1AAA
Muted text10.26:1AAA
Accent7.57:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 304.311);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.929 0.011 281.087);
  --muted-foreground: oklch(0.369 0.002 281.202);
  --popover: oklch(0.982 0.005 304.277);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.005 304.277);
  --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.828 0.066 303.193);
  --primary-foreground: oklch(0.296 0.107 297.938);
  --secondary: oklch(0.822 0.058 280.051);
  --secondary-foreground: oklch(0.283 0.1 273.406);
  --accent: oklch(0.848 0.077 322.976);
  --accent-foreground: oklch(0.339 0.118 323.582);
  --destructive: oklch(0.462 0.158 32.911);
  --destructive-foreground: oklch(0.945 0.024 31.107);
  --ring: oklch(0.828 0.066 303.193);
  --chart-1: oklch(0.828 0.066 303.193);
  --chart-2: oklch(0.822 0.058 280.051);
  --chart-3: oklch(0.848 0.077 322.976);
  --chart-4: oklch(0.854 0.047 280.335);
  --chart-5: oklch(0.825 0.07 303.123);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.016 303.968);
  --foreground: oklch(0.983 0.002 304.31);
  --muted: oklch(0.179 0.017 279.542);
  --muted-foreground: oklch(0.804 0.002 281.255);
  --popover: oklch(0.147 0.018 302.723);
  --popover-foreground: oklch(0.992 0.001 304.328);
  --card: oklch(0.147 0.018 302.723);
  --card-foreground: oklch(0.992 0.001 304.328);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.828 0.066 303.193);
  --primary-foreground: oklch(0.296 0.107 297.938);
  --secondary: oklch(0.822 0.058 280.051);
  --secondary-foreground: oklch(0.283 0.1 273.406);
  --accent: oklch(0.848 0.077 322.976);
  --accent-foreground: oklch(0.339 0.118 323.582);
  --destructive: oklch(0.612 0.215 32.739);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.828 0.066 303.193);
  --chart-1: oklch(0.828 0.066 303.193);
  --chart-2: oklch(0.822 0.058 280.051);
  --chart-3: oklch(0.848 0.077 322.976);
  --chart-4: oklch(0.854 0.047 280.335);
  --chart-5: oklch(0.825 0.07 303.123);
}