Chilly for shadcn/ui

Chilly is a shadcn/ui theme built around an orange primary color (#e4b381) with yellow accents (#e4e481). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the orange primary (#e4b381) on a neutral background (#040302).

Color palette

TokenLightDark
Background
#fcfaf7snow
#040302black
Foreground
#000000black
#ffffffwhite
Card
#fcfaf7snow
#040302black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfaf7snow
#040302black
Popover foreground
#000000black
#ffffffwhite
Primary
#e4b381burlywood
#e4b381burlywood
Primary foreground
#2a1a09black
#2a1a09black
Secondary
#e48181lightcoral
#e48181lightcoral
Secondary foreground
#2a0909black
#2a0909black
Muted
#f1e9e9linen
#160e0eblack
Muted foreground
#654e4edimgray
#b19a9arosybrown
Accent
#e4e481khaki
#e4e481khaki
Accent foreground
#2a2a09black
#2a2a09black
Destructive
#9d3106saddlebrown
#f65313orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4b381burlywood
#e4b381burlywood

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button8.82:1AAA
Secondary button6.78:1AA
Muted text6.38:1AA
Accent10.98:1AAA
Destructive7.29:1AAA
Dark mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button8.82:1AAA
Secondary button6.78:1AA
Muted text7.22:1AAA
Accent10.98:1AAA
Destructive3.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 67.774);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.94 0.009 17.322);
  --muted-foreground: oklch(0.447 0.031 18.397);
  --popover: oklch(0.986 0.004 67.774);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.004 67.774);
  --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.799 0.087 66.036);
  --primary-foreground: oklch(0.233 0.038 64.036);
  --secondary: oklch(0.711 0.123 20.598);
  --secondary-foreground: oklch(0.199 0.055 23.625);
  --accent: oklch(0.899 0.122 108.631);
  --accent-foreground: oklch(0.277 0.05 109.27);
  --destructive: oklch(0.471 0.151 37.758);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.799 0.087 66.036);
  --chart-1: oklch(0.799 0.087 66.036);
  --chart-2: oklch(0.711 0.123 20.598);
  --chart-3: oklch(0.899 0.122 108.631);
  --chart-4: oklch(0.738 0.109 20.016);
  --chart-5: oklch(0.801 0.091 65.916);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.007 73.475);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.173 0.015 18.686);
  --muted-foreground: oklch(0.707 0.028 17.822);
  --popover: oklch(0.094 0.007 73.475);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.094 0.007 73.475);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.799 0.087 66.036);
  --primary-foreground: oklch(0.233 0.038 64.036);
  --secondary: oklch(0.711 0.123 20.598);
  --secondary-foreground: oklch(0.199 0.055 23.625);
  --accent: oklch(0.899 0.122 108.631);
  --accent-foreground: oklch(0.277 0.05 109.27);
  --destructive: oklch(0.661 0.209 37.955);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.799 0.087 66.036);
  --chart-1: oklch(0.799 0.087 66.036);
  --chart-2: oklch(0.711 0.123 20.598);
  --chart-3: oklch(0.899 0.122 108.631);
  --chart-4: oklch(0.738 0.109 20.016);
  --chart-5: oklch(0.801 0.091 65.916);
}