Unequaled for shadcn/ui

Unequaled is a shadcn/ui theme built around a vivid deep yellow primary color (#232404) with vivid deep indigo accents (#060424). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep yellow primary (#232404) on a neutral background (#060704).

Color palette

TokenLightDark
Background
#ffffffwhite
#060704black
Foreground
#000000black
#f9f9f6whitesmoke
Card
#fcfcfcsnow
#0a0a05black
Card foreground
#000000black
#fbfbf9snow
Popover
#ffffffwhite
#060704black
Popover foreground
#000000black
#f9f9f6whitesmoke
Primary
#232404black
#232404black
Primary foreground
#d0da1bgoldenrod
#d0da1bgoldenrod
Secondary
#060424black
#060424black
Secondary foreground
#cbc9f8thistle
#cbc9f8thistle
Muted
#cfcde9lightgrey
#171632black
Muted foreground
#59586fdimgray
#9190a7lightslategray
Accent
#060424black
#060424black
Accent foreground
#cbc9f8thistle
#cbc9f8thistle
Destructive
#862209darkred
#e03910orangered
Destructive foreground
#fbd0c6peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#232404black
#232404black

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button10.33:1AAA
Secondary button12.58:1AAA
Muted text4.45:1AA Large
Accent12.58:1AAA
Destructive6.66:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.15:1AAA
Primary button10.33:1AAA
Secondary button12.58:1AAA
Muted text5.64:1AA
Accent12.58:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.859 0.038 287.858);
  --muted-foreground: oklch(0.469 0.038 287.111);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.252 0.05 112.19);
  --primary-foreground: oklch(0.852 0.185 112.952);
  --secondary: oklch(0.145 0.065 277.486);
  --secondary-foreground: oklch(0.852 0.066 287.198);
  --accent: oklch(0.145 0.065 277.486);
  --accent-foreground: oklch(0.852 0.066 287.198);
  --destructive: oklch(0.412 0.138 34.231);
  --destructive-foreground: oklch(0.893 0.05 34.351);
  --ring: oklch(0.252 0.05 112.19);
  --chart-1: oklch(0.252 0.05 112.19);
  --chart-2: oklch(0.145 0.065 277.486);
  --chart-3: oklch(0.145 0.065 277.486);
  --chart-4: oklch(0.169 0.083 275.503);
  --chart-5: oklch(0.254 0.051 112.26);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.01 109.78);
  --foreground: oklch(0.982 0.005 108.801);
  --muted: oklch(0.218 0.053 283.285);
  --muted-foreground: oklch(0.661 0.035 287.69);
  --popover: oklch(0.124 0.01 109.78);
  --popover-foreground: oklch(0.982 0.005 108.801);
  --card: oklch(0.142 0.011 109.78);
  --card-foreground: oklch(0.988 0.003 108.77);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.252 0.05 112.19);
  --primary-foreground: oklch(0.852 0.185 112.952);
  --secondary: oklch(0.145 0.065 277.486);
  --secondary-foreground: oklch(0.852 0.066 287.198);
  --accent: oklch(0.145 0.065 277.486);
  --accent-foreground: oklch(0.852 0.066 287.198);
  --destructive: oklch(0.597 0.209 33.767);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.252 0.05 112.19);
  --chart-1: oklch(0.252 0.05 112.19);
  --chart-2: oklch(0.145 0.065 277.486);
  --chart-3: oklch(0.145 0.065 277.486);
  --chart-4: oklch(0.169 0.083 275.503);
  --chart-5: oklch(0.254 0.051 112.26);
}