Kindly for shadcn/ui

Kindly is a shadcn/ui theme built around a light red primary color (#f5e5e5) with light orange accents (#f5ede5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f5e5e5) on a neutral background (#070303).

Color palette

TokenLightDark
Background
#ffffffwhite
#070303black
Foreground
#120202black
#f9f6f6whitesmoke
Card
#fcfcfcsnow
#0a0505black
Card foreground
#0e0202black
#fbf9f9snow
Popover
#fcfcfcsnow
#0a0505black
Popover foreground
#0e0202black
#fbf9f9snow
Primary
#f5e5e5mistyrose
#f5e5e5mistyrose
Primary foreground
#792f2fsaddlebrown
#792f2fsaddlebrown
Secondary
#f5e5edlinen
#f5e5edlinen
Secondary foreground
#792f54brown
#792f54brown
Muted
#f1e4eblinen
#1b0e14black
Muted foreground
#5a5859dimgray
#a7a5a6darkgray
Accent
#f5ede5linen
#f5ede5linen
Accent foreground
#302113black
#302113black
Destructive
#da1e01red
#fe391borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5e5e5mistyrose
#f5e5e5mistyrose

Contrast

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

Light mode
Text on background20.28:1AAA
Text on card19.98:1AAA
Primary button7.63:1AAA
Secondary button7.38:1AAA
Muted text5.73:1AA
Accent13.41:1AAA
Destructive5.03:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.30:1AAA
Primary button7.63:1AAA
Secondary button7.38:1AAA
Muted text7.65:1AAA
Accent13.41:1AAA
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.127 0.035 23.607);
  --muted: oklch(0.932 0.016 345.574);
  --muted-foreground: oklch(0.464 0.003 345.295);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.113 0.031 23.351);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.113 0.031 23.351);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.935 0.017 17.464);
  --primary-foreground: oklch(0.411 0.104 22.795);
  --secondary: oklch(0.938 0.02 345.69);
  --secondary-foreground: oklch(0.422 0.112 351.82);
  --accent: oklch(0.951 0.014 67.664);
  --accent-foreground: oklch(0.262 0.033 65.488);
  --destructive: oklch(0.568 0.22 31.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.935 0.017 17.464);
  --chart-1: oklch(0.935 0.017 17.464);
  --chart-2: oklch(0.938 0.02 345.69);
  --chart-3: oklch(0.951 0.014 67.664);
  --chart-4: oklch(0.964 0.011 345.447);
  --chart-5: oklch(0.935 0.018 17.486);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.011 18.916);
  --foreground: oklch(0.975 0.004 17.219);
  --muted: oklch(0.185 0.024 348.247);
  --muted-foreground: oklch(0.723 0.002 345.231);
  --popover: oklch(0.124 0.012 18.916);
  --popover-foreground: oklch(0.983 0.002 17.198);
  --card: oklch(0.124 0.012 18.916);
  --card-foreground: oklch(0.983 0.002 17.198);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.935 0.017 17.464);
  --primary-foreground: oklch(0.411 0.104 22.795);
  --secondary: oklch(0.938 0.02 345.69);
  --secondary-foreground: oklch(0.422 0.112 351.82);
  --accent: oklch(0.951 0.014 67.664);
  --accent-foreground: oklch(0.262 0.033 65.488);
  --destructive: oklch(0.649 0.235 31.546);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.935 0.017 17.464);
  --chart-1: oklch(0.935 0.017 17.464);
  --chart-2: oklch(0.938 0.02 345.69);
  --chart-3: oklch(0.951 0.014 67.664);
  --chart-4: oklch(0.964 0.011 345.447);
  --chart-5: oklch(0.935 0.018 17.486);
}