Chilly for shadcn/ui

Chilly is a shadcn/ui theme built around a vivid deep teal primary color (#023b38) with vivid deep red accents (#3b0206). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#023b38) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#020808black
#fcfdfdwhite
Card
#fcfcfcsnow
#030807black
Card foreground
#010404black
#ffffffwhite
Popover
#fcfcfcsnow
#030807black
Popover foreground
#010404black
#ffffffwhite
Primary
#023b38darkslategray
#023b38darkslategray
Primary foreground
#12f8e8aqua
#12f8e8aqua
Secondary
#3b0206black
#3b0206black
Secondary foreground
#fb747dsalmon
#fb747dsalmon
Muted
#f7eeeelinen
#110809black
Muted foreground
#5f5455dimgray
#aba0a1darkgray
Accent
#3b0206black
#3b0206black
Accent foreground
#fb747dsalmon
#fb747dsalmon
Destructive
#6f1806maroon
#f1340eorangered
Destructive foreground
#fabaadlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#023b38darkslategray
#023b38darkslategray

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.13:1AAA
Primary button9.23:1AAA
Secondary button6.58:1AA
Muted text6.36:1AA
Accent6.58:1AA
Destructive7.02:1AAA
Dark mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button9.23:1AAA
Secondary button6.58:1AA
Muted text7.77:1AAA
Accent6.58:1AA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.125 0.014 191.398);
  --muted: oklch(0.955 0.01 12.644);
  --muted-foreground: oklch(0.456 0.014 13.078);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.099 0.011 191.398);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.099 0.011 191.398);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.319 0.055 187.617);
  --primary-foreground: oklch(0.881 0.153 186.808);
  --secondary: oklch(0.226 0.088 23.963);
  --secondary-foreground: oklch(0.722 0.164 18.043);
  --accent: oklch(0.226 0.088 23.963);
  --accent-foreground: oklch(0.722 0.164 18.043);
  --destructive: oklch(0.357 0.124 32.969);
  --destructive-foreground: oklch(0.844 0.077 31.506);
  --ring: oklch(0.319 0.055 187.617);
  --chart-1: oklch(0.319 0.055 187.617);
  --chart-2: oklch(0.226 0.088 23.963);
  --chart-3: oklch(0.226 0.088 23.963);
  --chart-4: oklch(0.261 0.102 24.92);
  --chart-5: oklch(0.322 0.056 187.523);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.009 191.525);
  --foreground: oklch(0.993 0.001 192.398);
  --muted: oklch(0.149 0.017 14.498);
  --muted-foreground: oklch(0.716 0.013 12.793);
  --popover: oklch(0.124 0.012 191.525);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.012 191.525);
  --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.319 0.055 187.617);
  --primary-foreground: oklch(0.881 0.153 186.808);
  --secondary: oklch(0.226 0.088 23.963);
  --secondary-foreground: oklch(0.722 0.164 18.043);
  --accent: oklch(0.226 0.088 23.963);
  --accent-foreground: oklch(0.722 0.164 18.043);
  --destructive: oklch(0.623 0.228 32.317);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.319 0.055 187.617);
  --chart-1: oklch(0.319 0.055 187.617);
  --chart-2: oklch(0.226 0.088 23.963);
  --chart-3: oklch(0.226 0.088 23.963);
  --chart-4: oklch(0.261 0.102 24.92);
  --chart-5: oklch(0.322 0.056 187.523);
}