Sill for shadcn/ui

Sill is a shadcn/ui theme built around a light red primary color (#f8e5e3) with light orange accents (#f8efe3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f8e5e3) on a red-tinted background (#0c0404).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0404black
Foreground
#140705black
#fbf9f8snow
Card
#fcfcfcsnow
#100605black
Card foreground
#100504black
#fdfcfcsnow
Popover
#ffffffwhite
#0c0404black
Popover foreground
#140705black
#fbf9f8snow
Primary
#f8e5e3mistyrose
#f8e5e3mistyrose
Primary foreground
#852d23saddlebrown
#852d23saddlebrown
Secondary
#f8e3ebmistyrose
#f8e3ebmistyrose
Secondary foreground
#85234abrown
#85234abrown
Muted
#e9e2e5gainsboro
#1d1619black
Muted foreground
#69595fdimgray
#a6969ddarkgray
Accent
#f8efe3linen
#f8efe3linen
Accent foreground
#34250eblack
#34250eblack
Destructive
#831307maroon
#f32c16orangered
Destructive foreground
#fcc6c0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f8e5e3mistyrose
#f8e5e3mistyrose

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.65:1AAA
Primary button7.20:1AAA
Secondary button7.33:1AAA
Muted text5.16:1AA
Accent13.02:1AAA
Destructive6.78:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.55:1AAA
Primary button7.20:1AAA
Secondary button7.33:1AAA
Muted text6.31:1AA
Accent13.02:1AAA
Destructive4.05:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.149 0.025 29.179);
  --muted: oklch(0.92 0.007 350.85);
  --muted-foreground: oklch(0.482 0.022 351.89);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.149 0.025 29.179);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.136 0.022 29.746);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.936 0.021 25.183);
  --primary-foreground: oklch(0.426 0.123 29.414);
  --secondary: oklch(0.934 0.025 351.369);
  --secondary-foreground: oklch(0.424 0.136 0.494);
  --accent: oklch(0.956 0.019 78.239);
  --accent-foreground: oklch(0.277 0.043 75.433);
  --destructive: oklch(0.393 0.147 30.582);
  --destructive-foreground: oklch(0.872 0.062 25.731);
  --ring: oklch(0.936 0.021 25.183);
  --chart-1: oklch(0.936 0.021 25.183);
  --chart-2: oklch(0.934 0.025 351.369);
  --chart-3: oklch(0.956 0.019 78.239);
  --chart-4: oklch(0.962 0.014 351.036);
  --chart-5: oklch(0.935 0.022 25.194);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.017 29.724);
  --foreground: oklch(0.983 0.003 25.014);
  --muted: oklch(0.211 0.011 352.027);
  --muted-foreground: oklch(0.69 0.02 351.438);
  --popover: oklch(0.123 0.017 29.724);
  --popover-foreground: oklch(0.983 0.003 25.014);
  --card: oklch(0.137 0.02 29.246);
  --card-foreground: oklch(0.992 0.001 25.002);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.936 0.021 25.183);
  --primary-foreground: oklch(0.426 0.123 29.414);
  --secondary: oklch(0.934 0.025 351.369);
  --secondary-foreground: oklch(0.424 0.136 0.494);
  --accent: oklch(0.956 0.019 78.239);
  --accent-foreground: oklch(0.277 0.043 75.433);
  --destructive: oklch(0.621 0.233 30.514);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.021 25.183);
  --chart-1: oklch(0.936 0.021 25.183);
  --chart-2: oklch(0.934 0.025 351.369);
  --chart-3: oklch(0.956 0.019 78.239);
  --chart-4: oklch(0.962 0.014 351.036);
  --chart-5: oklch(0.935 0.022 25.194);
}