English Manor Krill for shadcn/ui

English Manor Krill is a shadcn/ui theme built around a muted blue primary color (#7283ac) with muted indigo accents (#7d72ac). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#7283ac) on a neutral background (#020408).

Color palette

TokenLightDark
Background
#fbfcfewhite
#020408black
Foreground
#000000black
#f8f9fcghostwhite
Card
#f7f9fdghostwhite
#03060cblack
Card foreground
#000000black
#fcfcfdwhite
Popover
#f7f9fdghostwhite
#03060cblack
Popover foreground
#000000black
#fcfcfdwhite
Primary
#7283aclightslategray
#7283aclightslategray
Primary foreground
#000000black
#000000black
Secondary
#72a0accadetblue
#72a0accadetblue
Secondary foreground
#000000black
#000000black
Muted
#dbe0e1gainsboro
#1e2324black
Muted foreground
#39484cdarkslategray
#b3c2c6silver
Accent
#7d72aclightslategray
#7d72aclightslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#681008maroon
#ee3f2ftomato
Destructive foreground
#f8b1aalightpink
#ffffffwhite
Border
#e8e9eelavender
#181a20black
Input
#e8e9eelavender
#181a20black
Ring
#7283aclightslategray
#7283aclightslategray

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card19.88:1AAA
Primary button5.55:1AA
Secondary button7.35:1AAA
Muted text7.13:1AAA
Accent4.31:1AA Large
Destructive7.11:1AAA
Dark mode
Text on background19.48:1AAA
Text on card19.77:1AAA
Primary button5.55:1AA
Secondary button7.35:1AAA
Muted text8.65:1AAA
Accent4.31:1AA Large
Destructive3.88:1AA Large

CSS variables

Paste this into your globals.css to use English Manor Krill in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 267.403);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.903 0.006 214.335);
  --muted-foreground: oklch(0.39 0.02 214.612);
  --popover: oklch(0.981 0.006 267.385);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.006 267.385);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.935 0.006 267.382);
  --input: oklch(0.935 0.006 267.382);
  --primary: oklch(0.612 0.066 266.49);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.677 0.053 214.971);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.585 0.089 292.618);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.336 0.122 29.959);
  --destructive-foreground: oklch(0.825 0.085 24.882);
  --ring: oklch(0.612 0.066 266.49);
  --chart-1: oklch(0.612 0.066 266.49);
  --chart-2: oklch(0.677 0.053 214.971);
  --chart-3: oklch(0.585 0.089 292.618);
  --chart-4: oklch(0.7 0.049 214.851);
  --chart-5: oklch(0.608 0.073 266.342);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.014 259.797);
  --foreground: oklch(0.983 0.003 267.4);
  --muted: oklch(0.252 0.008 214.454);
  --muted-foreground: oklch(0.805 0.017 214.391);
  --popover: oklch(0.121 0.016 260.054);
  --popover-foreground: oklch(0.991 0.002 267.41);
  --card: oklch(0.121 0.016 260.054);
  --card-foreground: oklch(0.991 0.002 267.41);
  --border: oklch(0.219 0.012 267.008);
  --input: oklch(0.219 0.012 267.008);
  --primary: oklch(0.612 0.066 266.49);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.677 0.053 214.971);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.585 0.089 292.618);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.629 0.214 29.562);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.612 0.066 266.49);
  --chart-1: oklch(0.612 0.066 266.49);
  --chart-2: oklch(0.677 0.053 214.971);
  --chart-3: oklch(0.585 0.089 292.618);
  --chart-4: oklch(0.7 0.049 214.851);
  --chart-5: oklch(0.608 0.073 266.342);
}