Overlooked for shadcn/ui

Overlooked is a shadcn/ui theme built around a neutral gray primary color (#504f49) with neutral gray accents (#4e5049). The light mode uses a neutral background (#fcfbf7). Dark mode keeps the neutral gray primary (#504f49) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fcfbf7snow
#030302black
Foreground
#000000black
#ffffffwhite
Card
#fcfbf7snow
#030302black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfbf7snow
#030302black
Popover foreground
#000000black
#ffffffwhite
Primary
#504f49darkslategray
#504f49darkslategray
Primary foreground
#e7e6e4gainsboro
#e7e6e4gainsboro
Secondary
#504b49darkslategray
#504b49darkslategray
Secondary foreground
#e7e5e4gainsboro
#e7e5e4gainsboro
Muted
#e9d8d2gainsboro
#2d1c16black
Muted foreground
#534a46darkslategray
#b9b0acdarkgray
Accent
#4e5049darkslategray
#4e5049darkslategray
Accent foreground
#e6e7e4gainsboro
#e6e7e4gainsboro
Destructive
#d40c0cfirebrick
#f22121crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#504f49darkslategray
#504f49darkslategray

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.33:1AAA
Primary button6.61:1AA
Secondary button6.86:1AA
Muted text6.27:1AA
Accent6.55:1AA
Destructive5.43:1AA
Dark mode
Text on background20.62:1AAA
Text on card20.62:1AAA
Primary button6.61:1AA
Secondary button6.86:1AA
Muted text7.67:1AAA
Accent6.55:1AA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 92.71);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.896 0.021 41.141);
  --muted-foreground: oklch(0.416 0.013 41.091);
  --popover: oklch(0.989 0.005 92.71);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.005 92.71);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.426 0.01 92.868);
  --primary-foreground: oklch(0.925 0.003 92.686);
  --secondary: oklch(0.417 0.008 41.161);
  --secondary-foreground: oklch(0.923 0.002 41.285);
  --accent: oklch(0.428 0.013 119.082);
  --accent-foreground: oklch(0.926 0.003 118.632);
  --destructive: oklch(0.55 0.221 28.776);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.426 0.01 92.868);
  --chart-1: oklch(0.426 0.01 92.868);
  --chart-2: oklch(0.417 0.008 41.161);
  --chart-3: oklch(0.428 0.013 119.082);
  --chart-4: oklch(0.444 0.009 41.16);
  --chart-5: oklch(0.43 0.015 92.969);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.007 95.692);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.03 40.795);
  --muted-foreground: oklch(0.763 0.011 41.194);
  --popover: oklch(0.097 0.007 95.692);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.097 0.007 95.692);
  --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.426 0.01 92.868);
  --primary-foreground: oklch(0.925 0.003 92.686);
  --secondary: oklch(0.417 0.008 41.161);
  --secondary-foreground: oklch(0.923 0.002 41.285);
  --accent: oklch(0.428 0.013 119.082);
  --accent-foreground: oklch(0.926 0.003 118.632);
  --destructive: oklch(0.614 0.237 27.942);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.426 0.01 92.868);
  --chart-1: oklch(0.426 0.01 92.868);
  --chart-2: oklch(0.417 0.008 41.161);
  --chart-3: oklch(0.428 0.013 119.082);
  --chart-4: oklch(0.444 0.009 41.16);
  --chart-5: oklch(0.43 0.015 92.969);
}