Gigantic for shadcn/ui

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

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fbf9fbsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#fdfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fbf9fbsnow
Primary
#040103black
#040103black
Primary foreground
#c671bborchid
#c671bborchid
Secondary
#030401black
#030401black
Secondary foreground
#8a963colivedrab
#8a963colivedrab
Muted
#eaebe5linen
#191a14black
Muted foreground
#464837darkslategray
#c5c8b7silver
Accent
#010304black
#010304black
Accent foreground
#71bbc6mediumaquamarine
#71bbc6mediumaquamarine
Destructive
#5f1707maroon
#f26140tomato
Destructive foreground
#f8b0a0lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#040103black
#040103black

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 button6.40:1AA
Secondary button6.37:1AA
Muted text7.81:1AAA
Accent9.45:1AAA
Destructive7.24:1AAA
Dark mode
Text on background20.04:1AAA
Text on card20.20:1AAA
Primary button6.40:1AA
Secondary button6.37:1AA
Muted text10.27:1AAA
Accent9.45:1AAA
Destructive6.54:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.938 0.008 112.703);
  --muted-foreground: oklch(0.395 0.027 113.814);
  --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.087 0.014 330.563);
  --primary-foreground: oklch(0.667 0.143 332.092);
  --secondary: oklch(0.101 0.011 113.411);
  --secondary-foreground: oklch(0.643 0.115 116.121);
  --accent: oklch(0.096 0.008 205.428);
  --accent-foreground: oklch(0.748 0.076 208.209);
  --destructive: oklch(0.326 0.107 33.908);
  --destructive-foreground: oklch(0.821 0.089 33.086);
  --ring: oklch(0.087 0.014 330.563);
  --chart-1: oklch(0.087 0.014 330.563);
  --chart-2: oklch(0.101 0.011 113.411);
  --chart-3: oklch(0.096 0.008 205.428);
  --chart-4: oklch(0.162 0.019 114.257);
  --chart-5: oklch(0.087 0.015 330.625);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.004 329.731);
  --muted: oklch(0.214 0.011 113.531);
  --muted-foreground: oklch(0.825 0.023 113.059);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.004 329.731);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.002 329.707);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.087 0.014 330.563);
  --primary-foreground: oklch(0.667 0.143 332.092);
  --secondary: oklch(0.101 0.011 113.411);
  --secondary-foreground: oklch(0.643 0.115 116.121);
  --accent: oklch(0.096 0.008 205.428);
  --accent-foreground: oklch(0.748 0.076 208.209);
  --destructive: oklch(0.673 0.185 34.153);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.087 0.014 330.563);
  --chart-1: oklch(0.087 0.014 330.563);
  --chart-2: oklch(0.101 0.011 113.411);
  --chart-3: oklch(0.096 0.008 205.428);
  --chart-4: oklch(0.162 0.019 114.257);
  --chart-5: oklch(0.087 0.015 330.625);
}