Unimportant for shadcn/ui

Unimportant is a shadcn/ui theme built around a muted deep orange primary color (#342d23) with neutral gray accents (#d6d4d1). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted deep orange primary (#342d23) on an orange-tinted background (#0c0903).

Color palette

TokenLightDark
Background
#fdfdfbsnow
#0c0903black
Foreground
#040301black
#ffffffwhite
Card
#fdfdfbsnow
#0c0903black
Card foreground
#040301black
#ffffffwhite
Popover
#fdfdfbsnow
#0c0903black
Popover foreground
#040301black
#ffffffwhite
Primary
#342d23darkslategray
#342d23darkslategray
Primary foreground
#cfc7b9silver
#cfc7b9silver
Secondary
#d6d4d1lightgrey
#23221fblack
Secondary foreground
#3e3b37darkslategray
#bfbbb5silver
Muted
#f2ece3linen
#1c160dblack
Muted foreground
#716756dimgray
#a99f8erosybrown
Accent
#d6d4d1lightgrey
#23221fblack
Accent foreground
#3e3b37darkslategray
#bfbbb5silver
Destructive
#711e09maroon
#ed4e26chocolate
Destructive foreground
#f9c1b4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#342d23darkslategray
#342d23darkslategray

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button8.09:1AAA
Secondary button7.54:1AAA
Muted text4.74:1AA
Accent7.54:1AAA
Destructive7.02:1AAA
Dark mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button8.09:1AAA
Secondary button8.33:1AAA
Muted text6.87:1AA
Accent8.33:1AAA
Destructive3.66:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 79.931);
  --foreground: oklch(0.098 0.013 87.683);
  --muted: oklch(0.946 0.013 79.905);
  --muted-foreground: oklch(0.518 0.029 79.676);
  --popover: oklch(0.993 0.002 79.931);
  --popover-foreground: oklch(0.098 0.013 87.683);
  --card: oklch(0.993 0.002 79.931);
  --card-foreground: oklch(0.098 0.013 87.683);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.302 0.02 79.593);
  --primary-foreground: oklch(0.833 0.021 79.867);
  --secondary: oklch(0.871 0.005 79.924);
  --secondary-foreground: oklch(0.355 0.008 79.875);
  --accent: oklch(0.871 0.005 79.924);
  --accent-foreground: oklch(0.355 0.008 79.875);
  --destructive: oklch(0.369 0.12 34.506);
  --destructive-foreground: oklch(0.858 0.067 34.425);
  --ring: oklch(0.302 0.02 79.593);
  --chart-1: oklch(0.302 0.02 79.593);
  --chart-2: oklch(0.871 0.005 79.924);
  --chart-3: oklch(0.871 0.005 79.924);
  --chart-4: oklch(0.894 0.004 79.926);
  --chart-5: oklch(0.304 0.023 79.488);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.016 85.999);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.204 0.019 79.255);
  --muted-foreground: oklch(0.706 0.027 79.803);
  --popover: oklch(0.14 0.016 85.999);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.016 85.999);
  --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.302 0.02 79.593);
  --primary-foreground: oklch(0.833 0.021 79.867);
  --secondary: oklch(0.252 0.006 79.874);
  --secondary-foreground: oklch(0.794 0.009 79.911);
  --accent: oklch(0.252 0.006 79.874);
  --accent-foreground: oklch(0.794 0.009 79.911);
  --destructive: oklch(0.641 0.203 34.723);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.302 0.02 79.593);
  --chart-1: oklch(0.302 0.02 79.593);
  --chart-2: oklch(0.252 0.006 79.874);
  --chart-3: oklch(0.252 0.006 79.874);
  --chart-4: oklch(0.284 0.007 79.869);
  --chart-5: oklch(0.304 0.023 79.488);
}