Unknown for shadcn/ui

Unknown is a shadcn/ui theme built around a deep red primary color (#1a0605) with deep orange accents (#1a1105). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep red primary (#1a0605) on a red-tinted background (#0b0504).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0504black
Foreground
#090202black
#f8f7f6whitesmoke
Card
#fcfcfcsnow
#0f0606black
Card foreground
#040101black
#fbf9f9snow
Popover
#fcfcfcsnow
#0f0606black
Popover foreground
#040101black
#fbf9f9snow
Primary
#1a0605black
#1a0605black
Primary foreground
#e5746csalmon
#e5746csalmon
Secondary
#1a050eblack
#1a050eblack
Secondary foreground
#e56ca0palevioletred
#e56ca0palevioletred
Muted
#ece4e8linen
#1b1316black
Muted foreground
#554a4edarkslategray
#b5aaafdarkgray
Accent
#1a1105black
#1a1105black
Accent foreground
#e5b06csandybrown
#e5b06csandybrown
Destructive
#971111darkred
#e83030crimson
Destructive foreground
#fbdfdfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a0605black
#1a0605black

Contrast

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

Light mode
Text on background20.56:1AAA
Text on card20.34:1AAA
Primary button6.57:1AA
Secondary button6.52:1AA
Muted text6.80:1AA
Accent9.56:1AAA
Destructive6.93:1AA
Dark mode
Text on background18.92:1AAA
Text on card19.06:1AAA
Primary button6.57:1AA
Secondary button6.52:1AA
Muted text8.09:1AAA
Accent9.56:1AAA
Destructive4.28:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.104 0.021 28.527);
  --muted: oklch(0.927 0.009 349.002);
  --muted-foreground: oklch(0.42 0.017 349.803);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.082 0.016 28.527);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.082 0.016 28.527);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.158 0.037 27.897);
  --primary-foreground: oklch(0.687 0.142 25.645);
  --secondary: oklch(0.158 0.043 354.272);
  --secondary-foreground: oklch(0.689 0.16 354.916);
  --accent: oklch(0.185 0.028 74.556);
  --accent-foreground: oklch(0.792 0.106 72.716);
  --destructive: oklch(0.433 0.167 27.917);
  --destructive-foreground: oklch(0.927 0.032 17.736);
  --ring: oklch(0.158 0.037 27.897);
  --chart-1: oklch(0.158 0.037 27.897);
  --chart-2: oklch(0.158 0.043 354.272);
  --chart-3: oklch(0.185 0.028 74.556);
  --chart-4: oklch(0.193 0.057 356.758);
  --chart-5: oklch(0.157 0.039 28.371);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.014 25.297);
  --foreground: oklch(0.976 0.002 22.236);
  --muted: oklch(0.199 0.013 350.524);
  --muted-foreground: oklch(0.75 0.014 349.257);
  --popover: oklch(0.138 0.016 25.066);
  --popover-foreground: oklch(0.984 0.001 22.228);
  --card: oklch(0.138 0.016 25.066);
  --card-foreground: oklch(0.984 0.001 22.228);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.158 0.037 27.897);
  --primary-foreground: oklch(0.687 0.142 25.645);
  --secondary: oklch(0.158 0.043 354.272);
  --secondary-foreground: oklch(0.689 0.16 354.916);
  --accent: oklch(0.185 0.028 74.556);
  --accent-foreground: oklch(0.792 0.106 72.716);
  --destructive: oklch(0.607 0.218 26.743);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.158 0.037 27.897);
  --chart-1: oklch(0.158 0.037 27.897);
  --chart-2: oklch(0.158 0.043 354.272);
  --chart-3: oklch(0.185 0.028 74.556);
  --chart-4: oklch(0.193 0.057 356.758);
  --chart-5: oklch(0.157 0.039 28.371);
}