Hidden for shadcn/ui

Hidden is a shadcn/ui theme built around a deep orange primary color (#1f150a) with deep violet accents (#150a1f). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the deep orange primary (#1f150a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfaf7snow
#000000black
Foreground
#080502black
#fbfaf8snow
Card
#fcf8f3floralwhite
#030303black
Card foreground
#040301black
#fdfdfcwhite
Popover
#fdfaf7snow
#000000black
Popover foreground
#080502black
#fbfaf8snow
Primary
#1f150ablack
#1f150ablack
Primary foreground
#d9b282burlywood
#d9b282burlywood
Secondary
#0a1f15black
#0a1f15black
Secondary foreground
#3abb81mediumseagreen
#3abb81mediumseagreen
Muted
#edf2f0whitesmoke
#0d1210black
Muted foreground
#41534bdarkslategray
#acbeb6silver
Accent
#150a1fblack
#150a1fblack
Accent foreground
#b282d9mediumpurple
#b282d9mediumpurple
Destructive
#bb2207firebrick
#f12c09orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1f150ablack
#1f150ablack

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.47:1AAA
Primary button9.06:1AAA
Secondary button7.04:1AAA
Muted text7.24:1AAA
Accent6.47:1AA
Destructive6.28:1AA
Dark mode
Text on background20.13:1AAA
Text on card20.31:1AAA
Primary button9.06:1AAA
Secondary button7.04:1AAA
Muted text9.73:1AAA
Accent6.47:1AA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 73.178);
  --foreground: oklch(0.12 0.013 80.42);
  --muted: oklch(0.957 0.006 167.64);
  --muted-foreground: oklch(0.424 0.026 166.011);
  --popover: oklch(0.987 0.006 73.178);
  --popover-foreground: oklch(0.12 0.013 80.42);
  --card: oklch(0.98 0.008 73.156);
  --card-foreground: oklch(0.095 0.01 80.42);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.207 0.026 71.084);
  --primary-foreground: oklch(0.786 0.077 71.919);
  --secondary: oklch(0.219 0.034 162.232);
  --secondary-foreground: oklch(0.708 0.142 159.473);
  --accent: oklch(0.173 0.046 307.704);
  --accent-foreground: oklch(0.687 0.133 308.557);
  --destructive: oklch(0.512 0.191 31.745);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.207 0.026 71.084);
  --chart-1: oklch(0.207 0.026 71.084);
  --chart-2: oklch(0.219 0.034 162.232);
  --chart-3: oklch(0.173 0.046 307.704);
  --chart-4: oklch(0.262 0.044 161.547);
  --chart-5: oklch(0.208 0.028 70.927);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.003 73.199);
  --muted: oklch(0.175 0.009 166.321);
  --muted-foreground: oklch(0.785 0.022 167);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.003 73.199);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 73.209);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.207 0.026 71.084);
  --primary-foreground: oklch(0.786 0.077 71.919);
  --secondary: oklch(0.219 0.034 162.232);
  --secondary-foreground: oklch(0.708 0.142 159.473);
  --accent: oklch(0.173 0.046 307.704);
  --accent-foreground: oklch(0.687 0.133 308.557);
  --destructive: oklch(0.617 0.233 31.555);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.207 0.026 71.084);
  --chart-1: oklch(0.207 0.026 71.084);
  --chart-2: oklch(0.219 0.034 162.232);
  --chart-3: oklch(0.173 0.046 307.704);
  --chart-4: oklch(0.262 0.044 161.547);
  --chart-5: oklch(0.208 0.028 70.927);
}