Neighbour for shadcn/ui

Neighbour is a shadcn/ui theme built around a muted light cyan primary color (#f3f6f7) with muted light orange accents (#f7f4f3). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted light cyan primary (#f3f6f7) on a cyan-tinted background (#050c0f).

Color palette

TokenLightDark
Background
#fbfdfewhite
#050c0fblack
Foreground
#031117black
#f5f8f9whitesmoke
Card
#f7fbfdghostwhite
#070f13black
Card foreground
#020e12black
#f9fafbghostwhite
Popover
#f7fbfdghostwhite
#070f13black
Popover foreground
#020e12black
#f9fafbghostwhite
Primary
#f3f6f7whitesmoke
#f3f6f7whitesmoke
Primary foreground
#202d31darkslategray
#202d31darkslategray
Secondary
#f7f4f3whitesmoke
#f7f4f3whitesmoke
Secondary foreground
#6f5349dimgray
#6f5349dimgray
Muted
#f2e7e3linen
#1c110dblack
Muted foreground
#6d5f5adimgray
#a59792rosybrown
Accent
#f7f4f3whitesmoke
#f7f4f3whitesmoke
Accent foreground
#6f5349dimgray
#6f5349dimgray
Destructive
#b80e05firebrick
#fa4238tomato
Destructive foreground
#fff1f0seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3f6f7whitesmoke
#f3f6f7whitesmoke

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.78:1AAA
Primary button13.02:1AAA
Secondary button6.36:1AA
Muted text5.05:1AA
Accent6.36:1AA
Destructive6.15:1AA
Dark mode
Text on background18.42:1AAA
Text on card18.46:1AAA
Primary button13.02:1AAA
Secondary button6.36:1AA
Muted text6.55:1AA
Accent6.36:1AA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 223.152);
  --foreground: oklch(0.167 0.025 223.432);
  --muted: oklch(0.936 0.013 43.009);
  --muted-foreground: oklch(0.498 0.021 42.813);
  --popover: oklch(0.986 0.004 223.175);
  --popover-foreground: oklch(0.152 0.022 221.274);
  --card: oklch(0.986 0.004 223.175);
  --card-foreground: oklch(0.152 0.022 221.274);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.97 0.004 223.168);
  --primary-foreground: oklch(0.286 0.019 224.091);
  --secondary: oklch(0.969 0.004 43.095);
  --secondary-foreground: oklch(0.47 0.041 42.573);
  --accent: oklch(0.969 0.004 43.095);
  --accent-foreground: oklch(0.47 0.041 42.573);
  --destructive: oklch(0.496 0.198 29.59);
  --destructive-foreground: oklch(0.968 0.015 21.088);
  --ring: oklch(0.97 0.004 223.168);
  --chart-1: oklch(0.97 0.004 223.168);
  --chart-2: oklch(0.969 0.004 43.095);
  --chart-3: oklch(0.969 0.004 43.095);
  --chart-4: oklch(0.992 0.001 43.122);
  --chart-5: oklch(0.97 0.004 223.173);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.149 0.013 222.028);
  --foreground: oklch(0.978 0.003 223.163);
  --muted: oklch(0.191 0.02 42.503);
  --muted-foreground: oklch(0.688 0.019 42.905);
  --popover: oklch(0.163 0.015 223.786);
  --popover-foreground: oklch(0.985 0.002 223.152);
  --card: oklch(0.163 0.015 223.786);
  --card-foreground: oklch(0.985 0.002 223.152);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.97 0.004 223.168);
  --primary-foreground: oklch(0.286 0.019 224.091);
  --secondary: oklch(0.969 0.004 43.095);
  --secondary-foreground: oklch(0.47 0.041 42.573);
  --accent: oklch(0.969 0.004 43.095);
  --accent-foreground: oklch(0.47 0.041 42.573);
  --destructive: oklch(0.652 0.222 28.11);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0.004 223.168);
  --chart-1: oklch(0.97 0.004 223.168);
  --chart-2: oklch(0.969 0.004 43.095);
  --chart-3: oklch(0.969 0.004 43.095);
  --chart-4: oklch(0.992 0.001 43.122);
  --chart-5: oklch(0.97 0.004 223.173);
}