Hidden for shadcn/ui

Hidden is a shadcn/ui theme built around a pink primary color (#b85173) with blue accents (#5173b8). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#b85173) on a neutral background (#070305).

Color palette

TokenLightDark
Background
#fefbfcsnow
#070305black
Foreground
#13060bblack
#faf5f7whitesmoke
Card
#fefbfcsnow
#070305black
Card foreground
#13060bblack
#faf5f7whitesmoke
Popover
#fefbfcsnow
#070305black
Popover foreground
#13060bblack
#faf5f7whitesmoke
Primary
#b85173indianred
#b85173indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#73b851yellowgreen
#73b851yellowgreen
Secondary foreground
#1a2b12black
#1a2b12black
Muted
#f1f7eewhitesmoke
#0b1108black
Muted foreground
#5e6b57dimgray
#9ba894darkseagreen
Accent
#5173b8steelblue
#5173b8steelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#862904saddlebrown
#f96f39tomato
Destructive foreground
#fdd0bfpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b85173indianred
#b85173indianred

Contrast

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

Light mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button4.69:1AA
Secondary button6.23:1AA
Muted text5.17:1AA
Accent4.64:1AA
Destructive6.43:1AA
Dark mode
Text on background18.98:1AAA
Text on card18.98:1AAA
Primary button4.69:1AA
Secondary button6.23:1AA
Muted text7.66:1AAA
Accent4.64:1AA
Destructive7.37:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 354.668);
  --foreground: oklch(0.147 0.027 357.861);
  --muted: oklch(0.968 0.013 134.894);
  --muted-foreground: oklch(0.51 0.034 135.172);
  --popover: oklch(0.991 0.003 354.668);
  --popover-foreground: oklch(0.147 0.027 357.861);
  --card: oklch(0.991 0.003 354.668);
  --card-foreground: oklch(0.147 0.027 357.861);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.576 0.137 1.427);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.714 0.154 136.389);
  --secondary-foreground: oklch(0.268 0.05 136.064);
  --accent: oklch(0.563 0.114 263.094);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.419 0.133 38.098);
  --destructive-foreground: oklch(0.893 0.056 42.691);
  --ring: oklch(0.576 0.137 1.427);
  --chart-1: oklch(0.576 0.137 1.427);
  --chart-2: oklch(0.714 0.154 136.389);
  --chart-3: oklch(0.563 0.114 263.094);
  --chart-4: oklch(0.731 0.145 136.188);
  --chart-5: oklch(0.576 0.146 1.984);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.011 354.392);
  --foreground: oklch(0.974 0.005 354.739);
  --muted: oklch(0.169 0.02 135.296);
  --muted-foreground: oklch(0.715 0.031 135.048);
  --popover: oklch(0.11 0.011 354.392);
  --popover-foreground: oklch(0.974 0.005 354.739);
  --card: oklch(0.11 0.011 354.392);
  --card-foreground: oklch(0.974 0.005 354.739);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.576 0.137 1.427);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.714 0.154 136.389);
  --secondary-foreground: oklch(0.268 0.05 136.064);
  --accent: oklch(0.563 0.114 263.094);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.702 0.182 40.651);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.576 0.137 1.427);
  --chart-1: oklch(0.576 0.137 1.427);
  --chart-2: oklch(0.714 0.154 136.389);
  --chart-3: oklch(0.563 0.114 263.094);
  --chart-4: oklch(0.731 0.145 136.188);
  --chart-5: oklch(0.576 0.146 1.984);
}