Issue for shadcn/ui

Issue is a shadcn/ui theme built around a neutral gray primary color (#675f63) with neutral gray accents (#5f6764). The light mode uses a neutral background (#fefbfc). Dark mode keeps the neutral gray primary (#675f63) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfcsnow
#000000black
Foreground
#040102black
#ffffffwhite
Card
#fefbfcsnow
#000000black
Card foreground
#040102black
#ffffffwhite
Popover
#fefbfcsnow
#000000black
Popover foreground
#040102black
#ffffffwhite
Primary
#675f63dimgray
#675f63dimgray
Primary foreground
#fdfcfcsnow
#fdfcfcsnow
Secondary
#5f6764dimgray
#5f6764dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#cfe7degainsboro
#183027darkslategray
Muted foreground
#4c5250darkslategray
#adb3b1darkgray
Accent
#5f6764dimgray
#5f6764dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ab3503firebrick
#f64c04orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#675f63dimgray
#675f63dimgray

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button6.00:1AA
Secondary button5.77:1AA
Muted text6.15:1AA
Accent5.77:1AA
Destructive6.48:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.00:1AA
Secondary button5.77:1AA
Muted text6.63:1AA
Accent5.77:1AA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 351.679);
  --foreground: oklch(0.081 0.022 351.025);
  --muted: oklch(0.909 0.029 170.656);
  --muted-foreground: oklch(0.433 0.009 170.98);
  --popover: oklch(0.991 0.003 351.679);
  --popover-foreground: oklch(0.081 0.022 351.025);
  --card: oklch(0.991 0.003 351.679);
  --card-foreground: oklch(0.081 0.022 351.025);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.496 0.011 352.225);
  --primary-foreground: oklch(0.992 0 351.598);
  --secondary: oklch(0.507 0.011 170.961);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.507 0.011 170.961);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.5 0.162 38.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.496 0.011 352.225);
  --chart-1: oklch(0.496 0.011 352.225);
  --chart-2: oklch(0.507 0.011 170.961);
  --chart-3: oklch(0.507 0.011 170.961);
  --chart-4: oklch(0.535 0.012 170.955);
  --chart-5: oklch(0.492 0.02 352.704);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.285 0.035 167.24);
  --muted-foreground: oklch(0.761 0.008 171.292);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.496 0.011 352.225);
  --primary-foreground: oklch(0.992 0 351.598);
  --secondary: oklch(0.507 0.011 170.961);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.507 0.011 170.961);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.653 0.216 37.32);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.496 0.011 352.225);
  --chart-1: oklch(0.496 0.011 352.225);
  --chart-2: oklch(0.507 0.011 170.961);
  --chart-3: oklch(0.507 0.011 170.961);
  --chart-4: oklch(0.535 0.012 170.955);
  --chart-5: oklch(0.492 0.02 352.704);
}