Unknown for shadcn/ui

Unknown is a shadcn/ui theme built around a deep blue primary color (#101623) with deep green accents (#162310). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the deep blue primary (#101623) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#000000black
Foreground
#010204black
#fcfcfdwhite
Card
#f8f9fcghostwhite
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f8f9fcghostwhite
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#101623black
#101623black
Primary foreground
#95a9d0lightsteelblue
#95a9d0lightsteelblue
Secondary
#231016black
#231016black
Secondary foreground
#d095a9rosybrown
#d095a9rosybrown
Muted
#f4f1f2whitesmoke
#0e0b0cblack
Muted foreground
#6a535bdimgray
#ac959drosybrown
Accent
#162310black
#162310black
Accent foreground
#6fb14eolivedrab
#6fb14eolivedrab
Destructive
#5c1d0amaroon
#cf4217chocolate
Destructive foreground
#f5b6a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#101623black
#101623black

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card19.98:1AAA
Primary button7.62:1AAA
Secondary button7.39:1AAA
Muted text6.22:1AA
Accent6.27:1AA
Destructive7.39:1AAA
Dark mode
Text on background20.48:1AAA
Text on card20.67:1AAA
Primary button7.62:1AAA
Secondary button7.39:1AAA
Muted text7.02:1AAA
Accent6.27:1AA
Destructive4.74:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 264.546);
  --foreground: oklch(0.084 0.013 255.177);
  --muted: oklch(0.96 0.003 354.685);
  --muted-foreground: oklch(0.468 0.032 356.485);
  --popover: oklch(0.983 0.003 264.541);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.003 264.541);
  --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.201 0.029 263.614);
  --primary-foreground: oklch(0.732 0.062 264.08);
  --secondary: oklch(0.203 0.035 359.334);
  --secondary-foreground: oklch(0.732 0.076 357.434);
  --accent: oklch(0.239 0.04 135.886);
  --accent-foreground: oklch(0.694 0.15 136.393);
  --destructive: oklch(0.327 0.096 36.794);
  --destructive-foreground: oklch(0.83 0.078 37.609);
  --ring: oklch(0.201 0.029 263.614);
  --chart-1: oklch(0.201 0.029 263.614);
  --chart-2: oklch(0.203 0.035 359.334);
  --chart-3: oklch(0.239 0.04 135.886);
  --chart-4: oklch(0.233 0.044 359.794);
  --chart-5: oklch(0.201 0.031 263.513);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 264.549);
  --muted: oklch(0.155 0.005 355.53);
  --muted-foreground: oklch(0.693 0.029 355.756);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.201 0.029 263.614);
  --primary-foreground: oklch(0.732 0.062 264.08);
  --secondary: oklch(0.203 0.035 359.334);
  --secondary-foreground: oklch(0.732 0.076 357.434);
  --accent: oklch(0.239 0.04 135.886);
  --accent-foreground: oklch(0.694 0.15 136.393);
  --destructive: oklch(0.576 0.184 36.011);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.201 0.029 263.614);
  --chart-1: oklch(0.201 0.029 263.614);
  --chart-2: oklch(0.203 0.035 359.334);
  --chart-3: oklch(0.239 0.04 135.886);
  --chart-4: oklch(0.233 0.044 359.794);
  --chart-5: oklch(0.201 0.031 263.513);
}