Skiing for shadcn/ui

Skiing is a shadcn/ui theme built around a near-white primary color (#fafffc) with near-white accents (#fffafd). The light mode uses a neutral background (#fbfefc). Dark mode keeps the near-white primary (#fafffc) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefcwhite
#000000black
Foreground
#021208black
#f8fcf9mintcream
Card
#fbfefcwhite
#000000black
Card foreground
#021208black
#f8fcf9mintcream
Popover
#fbfefcwhite
#000000black
Popover foreground
#021208black
#f8fcf9mintcream
Primary
#fafffcmintcream
#fafffcmintcream
Primary foreground
#065b25darkgreen
#065b25darkgreen
Secondary
#fffafdsnow
#fffafdsnow
Secondary foreground
#5b063cmaroon
#5b063cmaroon
Muted
#efe1eamistyrose
#1e1019black
Muted foreground
#523d4adarkslategray
#c2adbasilver
Accent
#fffafdsnow
#fffafdsnow
Accent foreground
#5b063cmaroon
#5b063cmaroon
Destructive
#75210amaroon
#eb4719orangered
Destructive foreground
#f9c7b9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fafffcmintcream
#fafffcmintcream

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card18.93:1AAA
Primary button8.19:1AAA
Secondary button13.25:1AAA
Muted text7.82:1AAA
Accent13.25:1AAA
Destructive6.99:1AA
Dark mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button8.19:1AAA
Secondary button13.25:1AAA
Muted text8.73:1AAA
Accent13.25:1AAA
Destructive3.86: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.994 0.004 158.626);
  --foreground: oklch(0.164 0.033 156.387);
  --muted: oklch(0.923 0.02 339.167);
  --muted-foreground: oklch(0.387 0.037 340.642);
  --popover: oklch(0.994 0.004 158.626);
  --popover-foreground: oklch(0.164 0.033 156.387);
  --card: oklch(0.994 0.004 158.626);
  --card-foreground: oklch(0.164 0.033 156.387);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.995 0.006 158.589);
  --primary-foreground: oklch(0.413 0.113 148.957);
  --secondary: oklch(0.99 0.006 338.85);
  --secondary-foreground: oklch(0.316 0.126 348.826);
  --accent: oklch(0.99 0.006 338.85);
  --accent-foreground: oklch(0.316 0.126 348.826);
  --destructive: oklch(0.38 0.121 35.363);
  --destructive-foreground: oklch(0.869 0.061 35.975);
  --ring: oklch(0.995 0.006 158.589);
  --chart-1: oklch(0.995 0.006 158.589);
  --chart-2: oklch(0.99 0.006 338.85);
  --chart-3: oklch(0.99 0.006 338.85);
  --chart-4: oklch(1.02 0.012 158.465);
  --chart-5: oklch(0.995 0.006 158.584);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.005 158.617);
  --muted: oklch(0.196 0.029 341.646);
  --muted-foreground: oklch(0.77 0.031 339.557);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.005 158.617);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.987 0.005 158.617);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.995 0.006 158.589);
  --primary-foreground: oklch(0.413 0.113 148.957);
  --secondary: oklch(0.99 0.006 338.85);
  --secondary-foreground: oklch(0.316 0.126 348.826);
  --accent: oklch(0.99 0.006 338.85);
  --accent-foreground: oklch(0.316 0.126 348.826);
  --destructive: oklch(0.629 0.208 35.004);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.995 0.006 158.589);
  --chart-1: oklch(0.995 0.006 158.589);
  --chart-2: oklch(0.99 0.006 338.85);
  --chart-3: oklch(0.99 0.006 338.85);
  --chart-4: oklch(1.02 0.012 158.465);
  --chart-5: oklch(0.995 0.006 158.584);
}