Season for shadcn/ui

Season is a shadcn/ui theme built around a neutral gray primary color (#595959) with neutral gray accents (#595959). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the neutral gray primary (#595959) on a red-tinted background (#0c0303).

Color palette

TokenLightDark
Background
#fcf8f8snow
#0c0303black
Foreground
#140606black
#faf5f5whitesmoke
Card
#fcf8f8snow
#0c0303black
Card foreground
#140606black
#faf5f5whitesmoke
Popover
#fcf8f8snow
#0c0303black
Popover foreground
#140606black
#faf5f5whitesmoke
Primary
#595959dimgray
#595959dimgray
Primary foreground
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Secondary
#595959dimgray
#595959dimgray
Secondary foreground
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Muted
#f4ececlinen
#130b0bblack
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#595959dimgray
#595959dimgray
Accent foreground
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Destructive
#d63d05orangered
#f9591forangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#595959dimgray
#595959dimgray

Contrast

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

Light mode
Text on background18.79:1AAA
Text on card18.79:1AAA
Primary button6.23:1AA
Secondary button6.23:1AA
Muted text8.61:1AAA
Accent6.23:1AA
Destructive4.64:1AA
Dark mode
Text on background18.86:1AAA
Text on card18.86:1AAA
Primary button6.23:1AA
Secondary button6.23:1AA
Muted text10.32:1AAA
Accent6.23:1AA
Destructive6.49:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 17.235);
  --foreground: oklch(0.145 0.027 20.955);
  --muted: oklch(0.948 0.009 17.314);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.982 0.005 17.235);
  --popover-foreground: oklch(0.145 0.027 20.955);
  --card: oklch(0.982 0.005 17.235);
  --card-foreground: oklch(0.145 0.027 20.955);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.465 0 180);
  --primary-foreground: oklch(0.962 0 180);
  --secondary: oklch(0.465 0 180);
  --secondary-foreground: oklch(0.962 0 180);
  --accent: oklch(0.465 0 180);
  --accent-foreground: oklch(0.962 0 180);
  --destructive: oklch(0.583 0.197 36.048);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.465 0 180);
  --chart-1: oklch(0.465 0 180);
  --chart-2: oklch(0.465 0 180);
  --chart-3: oklch(0.465 0 180);
  --chart-4: oklch(0.492 0 180);
  --chart-5: oklch(0.46 0.007 17.41);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.022 21.037);
  --foreground: oklch(0.973 0.006 17.253);
  --muted: oklch(0.162 0.015 18.774);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0.118 0.022 21.037);
  --popover-foreground: oklch(0.973 0.006 17.253);
  --card: oklch(0.118 0.022 21.037);
  --card-foreground: oklch(0.973 0.006 17.253);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.465 0 180);
  --primary-foreground: oklch(0.962 0 180);
  --secondary: oklch(0.465 0 180);
  --secondary-foreground: oklch(0.962 0 180);
  --accent: oklch(0.465 0 180);
  --accent-foreground: oklch(0.962 0 180);
  --destructive: oklch(0.673 0.206 37.98);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.465 0 180);
  --chart-1: oklch(0.465 0 180);
  --chart-2: oklch(0.465 0 180);
  --chart-3: oklch(0.465 0 180);
  --chart-4: oklch(0.492 0 180);
  --chart-5: oklch(0.46 0.007 17.41);
}