Huge for shadcn/ui

Huge is a shadcn/ui theme built around a vivid deep violet primary color (#40085e) with vivid deep green accents (#265e08). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the vivid deep violet primary (#40085e) on a neutral background (#060307).

Color palette

TokenLightDark
Background
#fdfbfewhite
#060307black
Foreground
#030104black
#fdfcfdwhite
Card
#fbf7fdghostwhite
#08050ablack
Card foreground
#000000black
#ffffffwhite
Popover
#fbf7fdghostwhite
#08050ablack
Popover foreground
#000000black
#ffffffwhite
Primary
#40085eindigo
#40085eindigo
Primary foreground
#d9a1f7plum
#d9a1f7plum
Secondary
#265e08darkgreen
#265e08darkgreen
Secondary foreground
#bff7a1palegreen
#bff7a1palegreen
Muted
#dee8d9gainsboro
#1c2617black
Muted foreground
#616260dimgray
#9e9f9ddarkgray
Accent
#265e08darkgreen
#265e08darkgreen
Accent foreground
#bff7a1palegreen
#bff7a1palegreen
Destructive
#6f1902maroon
#fc4d1dorangered
Destructive foreground
#feb8a5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#40085eindigo
#40085eindigo

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card19.76:1AAA
Primary button7.35:1AAA
Secondary button6.35:1AA
Muted text4.85:1AA
Accent6.35:1AA
Destructive6.96:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.25:1AAA
Primary button7.35:1AAA
Secondary button6.35:1AA
Muted text5.89:1AA
Accent6.35:1AA
Destructive3.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.005 314.192);
  --foreground: oklch(0.081 0.022 316.572);
  --muted: oklch(0.919 0.022 134.356);
  --muted-foreground: oklch(0.494 0.003 134.258);
  --popover: oklch(0.98 0.01 314.163);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.01 314.163);
  --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.293 0.137 309.109);
  --primary-foreground: oklch(0.792 0.132 313.27);
  --secondary: oklch(0.427 0.126 137.901);
  --secondary-foreground: oklch(0.917 0.126 135.114);
  --accent: oklch(0.427 0.126 137.901);
  --accent-foreground: oklch(0.917 0.126 135.114);
  --destructive: oklch(0.358 0.123 35.17);
  --destructive-foreground: oklch(0.842 0.086 36.059);
  --ring: oklch(0.293 0.137 309.109);
  --chart-1: oklch(0.293 0.137 309.109);
  --chart-2: oklch(0.427 0.126 137.901);
  --chart-3: oklch(0.427 0.126 137.901);
  --chart-4: oklch(0.471 0.14 138.039);
  --chart-5: oklch(0.294 0.14 308.829);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.014 315.354);
  --foreground: oklch(0.992 0.002 314.21);
  --muted: oklch(0.254 0.03 134.961);
  --muted-foreground: oklch(0.701 0.003 134.245);
  --popover: oklch(0.125 0.016 315.353);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.016 315.353);
  --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.293 0.137 309.109);
  --primary-foreground: oklch(0.792 0.132 313.27);
  --secondary: oklch(0.427 0.126 137.901);
  --secondary-foreground: oklch(0.917 0.126 135.114);
  --accent: oklch(0.427 0.126 137.901);
  --accent-foreground: oklch(0.917 0.126 135.114);
  --destructive: oklch(0.663 0.218 35.07);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.293 0.137 309.109);
  --chart-1: oklch(0.293 0.137 309.109);
  --chart-2: oklch(0.427 0.126 137.901);
  --chart-3: oklch(0.427 0.126 137.901);
  --chart-4: oklch(0.471 0.14 138.039);
  --chart-5: oklch(0.294 0.14 308.829);
}