Immense for shadcn/ui

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

Color palette

TokenLightDark
Background
#fcf8f8snow
#000000black
Foreground
#0e0202black
#ffffffwhite
Card
#fbf4f4lavenderblush
#030303black
Card foreground
#090101black
#ffffffwhite
Popover
#fcf8f8snow
#000000black
Popover foreground
#0e0202black
#ffffffwhite
Primary
#000000black
#000000black
Primary foreground
#999999darkgray
#999999darkgray
Secondary
#000000black
#000000black
Secondary foreground
#999999darkgray
#999999darkgray
Muted
#ecd4d4gainsboro
#2b1313black
Muted foreground
#5d4b4bdarkolivegreen
#b4a2a2darkgray
Accent
#000000black
#000000black
Accent foreground
#999999darkgray
#999999darkgray
Destructive
#c6310cfirebrick
#f24f26tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#000000black
#000000black

Contrast

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

Light mode
Text on background19.32:1AAA
Text on card19.00:1AAA
Primary button7.37:1AAA
Secondary button7.37:1AAA
Muted text5.82:1AA
Accent7.37:1AAA
Destructive5.48:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.37:1AAA
Secondary button7.37:1AAA
Muted text7.18:1AAA
Accent7.37:1AAA
Destructive3.53:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 17.242);
  --foreground: oklch(0.112 0.032 23.882);
  --muted: oklch(0.891 0.027 17.662);
  --muted-foreground: oklch(0.432 0.025 18.171);
  --popover: oklch(0.981 0.005 17.242);
  --popover-foreground: oklch(0.112 0.032 23.882);
  --card: oklch(0.972 0.008 17.287);
  --card-foreground: oklch(0.098 0.028 23.785);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0 0 0);
  --secondary-foreground: oklch(0.683 0 180);
  --accent: oklch(0 0 0);
  --accent-foreground: oklch(0.683 0 180);
  --destructive: oklch(0.543 0.19 33.71);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0 0 0);
  --chart-3: oklch(0 0 0);
  --chart-4: oklch(0.132 0 165.964);
  --chart-5: oklch(0 0 0);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.22 0.04 20.757);
  --muted-foreground: oklch(0.727 0.022 17.662);
  --popover: oklch(0 0 0);
  --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 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0 0 0);
  --secondary-foreground: oklch(0.683 0 180);
  --accent: oklch(0 0 0);
  --accent-foreground: oklch(0.683 0 180);
  --destructive: oklch(0.65 0.206 34.694);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0 0 0);
  --chart-3: oklch(0 0 0);
  --chart-4: oklch(0.132 0 165.964);
  --chart-5: oklch(0 0 0);
}