Outgoing for shadcn/ui

Outgoing is a shadcn/ui theme built around a near-black primary color (#020303) with near-black accents (#030202). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#020303) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#ffffffwhite
#020303black
Foreground
#03090cblack
#ffffffwhite
Card
#ffffffwhite
#020303black
Card foreground
#03090cblack
#ffffffwhite
Popover
#ffffffwhite
#020303black
Popover foreground
#03090cblack
#ffffffwhite
Primary
#020303black
#020303black
Primary foreground
#8c9fabdarkgray
#8c9fabdarkgray
Secondary
#030202black
#030202black
Secondary foreground
#ab988crosybrown
#ab988crosybrown
Muted
#ece1dagainsboro
#251a13black
Muted foreground
#525151darkslategray
#aeadaddarkgray
Accent
#030202black
#030202black
Accent foreground
#ab988crosybrown
#ab988crosybrown
Destructive
#881607darkred
#ed270corangered
Destructive foreground
#fccbc5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#020303black
#020303black

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button7.54:1AAA
Secondary button7.48:1AAA
Muted text6.16:1AA
Accent7.48:1AAA
Destructive6.70:1AA
Dark mode
Text on background20.67:1AAA
Text on card20.67:1AAA
Primary button7.54:1AAA
Secondary button7.48:1AAA
Muted text7.57:1AAA
Accent7.48:1AAA
Destructive4.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.132 0.014 230.012);
  --muted: oklch(0.917 0.015 56.21);
  --muted-foreground: oklch(0.437 0.002 56.382);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.132 0.014 230.012);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.132 0.014 230.012);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.092 0.003 234.319);
  --primary-foreground: oklch(0.691 0.029 237.068);
  --secondary: oklch(0.092 0.003 58.664);
  --secondary-foreground: oklch(0.694 0.029 55.855);
  --accent: oklch(0.092 0.003 58.664);
  --accent-foreground: oklch(0.694 0.029 55.855);
  --destructive: oklch(0.405 0.15 31.034);
  --destructive-foreground: oklch(0.884 0.056 26.995);
  --ring: oklch(0.092 0.003 234.319);
  --chart-1: oklch(0.092 0.003 234.319);
  --chart-2: oklch(0.092 0.003 58.664);
  --chart-3: oklch(0.092 0.003 58.664);
  --chart-4: oklch(0.146 0.004 57.407);
  --chart-5: oklch(0.092 0.003 233.933);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.005 232.301);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.23 0.021 55.109);
  --muted-foreground: oklch(0.749 0.001 56.408);
  --popover: oklch(0.092 0.005 232.301);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0.005 232.301);
  --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.092 0.003 234.319);
  --primary-foreground: oklch(0.691 0.029 237.068);
  --secondary: oklch(0.092 0.003 58.664);
  --secondary-foreground: oklch(0.694 0.029 55.855);
  --accent: oklch(0.092 0.003 58.664);
  --accent-foreground: oklch(0.694 0.029 55.855);
  --destructive: oklch(0.608 0.232 30.815);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.092 0.003 234.319);
  --chart-1: oklch(0.092 0.003 234.319);
  --chart-2: oklch(0.092 0.003 58.664);
  --chart-3: oklch(0.092 0.003 58.664);
  --chart-4: oklch(0.146 0.004 57.407);
  --chart-5: oklch(0.092 0.003 233.933);
}