Chinolor Light for shadcn/ui

Chinolor Light is a shadcn/ui theme built around a neutral gray primary color (#2b312c) with light orange accents (#e2d2b6). The light mode uses an orange-tinted background (#f8f4ed). Dark mode keeps the neutral gray primary (#2b312c) on an orange-tinted background (#f8f4ed).

Color palette

TokenLightDark
Background
#f8f4edseashell
#f8f4edseashell
Foreground
#2b312cdarkslategray
#2b312cdarkslategray
Card
#f5efe5linen
#f5efe5linen
Card foreground
#1f2320black
#1f2320black
Popover
#f4ede2linen
#f4ede2linen
Popover foreground
#131613black
#131613black
Primary
#2b312cdarkslategray
#2b312cdarkslategray
Primary foreground
#c3cbc4silver
#c3cbc4silver
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e9e6e2gainsboro
#e9e6e2gainsboro
Muted foreground
#564f43darkolivegreen
#564f43darkolivegreen
Accent
#e2d2b6wheat
#e2d2b6wheat
Accent foreground
#49391ddarkolivegreen
#49391ddarkolivegreen
Destructive
#d71604red
#d71604red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eee8ddantiquewhite
#eee8ddantiquewhite
Input
#e9e1d3gainsboro
#e9e1d3gainsboro
Ring
#2b312cdarkslategray
#2b312cdarkslategray

Contrast

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

Light mode
Text on background12.10:1AAA
Text on card13.93:1AAA
Primary button8.01:1AAA
Secondary button8.25:1AAA
Muted text6.51:1AA
Accent7.49:1AAA
Destructive5.24:1AA
Dark mode
Text on background12.10:1AAA
Text on card13.93:1AAA
Primary button8.01:1AAA
Secondary button8.25:1AAA
Muted text6.51:1AA
Accent7.49:1AAA
Destructive5.24:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.968 0.01 81.509);
  --foreground: oklch(0.305 0.013 150.223);
  --muted: oklch(0.927 0.006 81.513);
  --muted-foreground: oklch(0.43 0.021 81.394);
  --popover: oklch(0.948 0.017 81.5);
  --popover-foreground: oklch(0.195 0.006 150.359);
  --card: oklch(0.955 0.015 81.504);
  --card-foreground: oklch(0.252 0.01 150.273);
  --border: oklch(0.932 0.016 81.501);
  --input: oklch(0.912 0.021 81.489);
  --primary: oklch(0.305 0.013 150.223);
  --primary-foreground: oklch(0.834 0.012 150.616);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.87 0.042 81.39);
  --accent-foreground: oklch(0.355 0.049 79.826);
  --destructive: oklch(0.558 0.221 30.065);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.305 0.013 150.223);
  --chart-1: oklch(0.305 0.013 150.223);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.87 0.042 81.39);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.308 0.018 149.966);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.968 0.01 81.509);
  --foreground: oklch(0.305 0.013 150.223);
  --muted: oklch(0.927 0.006 81.513);
  --muted-foreground: oklch(0.43 0.021 81.394);
  --popover: oklch(0.948 0.017 81.5);
  --popover-foreground: oklch(0.195 0.006 150.359);
  --card: oklch(0.955 0.015 81.504);
  --card-foreground: oklch(0.252 0.01 150.273);
  --border: oklch(0.932 0.016 81.501);
  --input: oklch(0.912 0.021 81.489);
  --primary: oklch(0.305 0.013 150.223);
  --primary-foreground: oklch(0.834 0.012 150.616);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.87 0.042 81.39);
  --accent-foreground: oklch(0.355 0.049 79.826);
  --destructive: oklch(0.558 0.221 30.065);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.305 0.013 150.223);
  --chart-1: oklch(0.305 0.013 150.223);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.87 0.042 81.39);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.308 0.018 149.966);
}