Siding for shadcn/ui

Siding is a shadcn/ui theme built around a teal primary color (#48936f) with muted light teal accents (#c8d5cf). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the teal primary (#48936f) on a teal-tinted background (#040b08).

Color palette

TokenLightDark
Background
#f7fcfamintcream
#040b08black
Foreground
#000000black
#f6f9f7whitesmoke
Card
#f4fbf7mintcream
#060f0ablack
Card foreground
#000000black
#f9fbfamintcream
Popover
#f4fbf7mintcream
#060f0ablack
Popover foreground
#000000black
#f9fbfamintcream
Primary
#48936fmediumseagreen
#48936fmediumseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c8d5cflightgrey
#2c302edarkslategray
Secondary foreground
#2e3d36darkslategray
#c5c9c7silver
Muted
#dff1e8lavender
#0e2017black
Muted foreground
#535f59dimgray
#a0aca6darkgray
Accent
#c8d5cflightgrey
#2c302edarkslategray
Accent foreground
#2e3d36darkslategray
#c5c9c7silver
Destructive
#cc5814chocolate
#ea732echocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#48936fmediumseagreen
#48936fmediumseagreen

Contrast

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

Light mode
Text on background20.31:1AAA
Text on card19.98:1AAA
Primary button3.69:1AA Large
Secondary button7.56:1AAA
Muted text5.67:1AA
Accent7.56:1AAA
Destructive4.22:1AA Large
Dark mode
Text on background18.74:1AAA
Text on card18.73:1AAA
Primary button3.69:1AA Large
Secondary button8.02:1AAA
Muted text7.24:1AAA
Accent8.02:1AAA
Destructive7.00:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 165.854);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.942 0.022 165.392);
  --muted-foreground: oklch(0.475 0.018 164.95);
  --popover: oklch(0.982 0.009 165.77);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.009 165.77);
  --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.605 0.094 160.713);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.862 0.017 165.475);
  --secondary-foreground: oklch(0.344 0.023 164.059);
  --accent: oklch(0.862 0.017 165.475);
  --accent-foreground: oklch(0.344 0.023 164.059);
  --destructive: oklch(0.6 0.164 44.634);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.605 0.094 160.713);
  --chart-1: oklch(0.605 0.094 160.713);
  --chart-2: oklch(0.862 0.017 165.475);
  --chart-3: oklch(0.862 0.017 165.475);
  --chart-4: oklch(0.884 0.014 165.576);
  --chart-5: oklch(0.612 0.1 160.253);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.015 166.05);
  --foreground: oklch(0.979 0.003 165.925);
  --muted: oklch(0.224 0.029 161.856);
  --muted-foreground: oklch(0.733 0.016 165.404);
  --popover: oklch(0.156 0.017 164.306);
  --popover-foreground: oklch(0.986 0.002 165.956);
  --card: oklch(0.156 0.017 164.306);
  --card-foreground: oklch(0.986 0.002 165.956);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.605 0.094 160.713);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.304 0.006 165.477);
  --secondary-foreground: oklch(0.832 0.006 165.832);
  --accent: oklch(0.304 0.006 165.477);
  --accent-foreground: oklch(0.832 0.006 165.832);
  --destructive: oklch(0.685 0.167 46.926);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.605 0.094 160.713);
  --chart-1: oklch(0.605 0.094 160.713);
  --chart-2: oklch(0.304 0.006 165.477);
  --chart-3: oklch(0.304 0.006 165.477);
  --chart-4: oklch(0.335 0.007 165.458);
  --chart-5: oklch(0.612 0.1 160.253);
}