Gigantism for shadcn/ui

Gigantism is a shadcn/ui theme built around a purple primary color (#cf9bc8) with pink accents (#cf9bae). The light mode uses a neutral background (#fefbfd). Dark mode keeps the purple primary (#cf9bc8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfdsnow
#000000black
Foreground
#080207black
#faf5f9whitesmoke
Card
#fcf7fcsnow
#030303black
Card foreground
#040104black
#fcf8fbsnow
Popover
#fcf7fcsnow
#030303black
Popover foreground
#040104black
#fcf8fbsnow
Primary
#cf9bc8plum
#cf9bc8plum
Primary foreground
#261223black
#261223black
Secondary
#bc9bcfplum
#bc9bcfplum
Secondary foreground
#1f1226black
#1f1226black
Muted
#ebe9eclavender
#151316black
Muted foreground
#615568dimgray
#a397aadarkgray
Accent
#cf9baerosybrown
#cf9baerosybrown
Accent foreground
#261219black
#261219black
Destructive
#ac3f0csaddlebrown
#ee5711orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cf9bc8plum
#cf9bc8plum

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card19.68:1AAA
Primary button7.69:1AAA
Secondary button7.44:1AAA
Muted text5.79:1AA
Accent7.57:1AAA
Destructive6.08:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.65:1AAA
Primary button7.69:1AAA
Secondary button7.44:1AAA
Muted text6.65:1AA
Accent7.57:1AAA
Destructive3.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 329.732);
  --foreground: oklch(0.108 0.023 330.813);
  --muted: oklch(0.937 0.004 313.582);
  --muted-foreground: oklch(0.468 0.033 313.167);
  --popover: oklch(0.982 0.008 329.781);
  --popover-foreground: oklch(0.086 0.019 330.813);
  --card: oklch(0.982 0.008 329.781);
  --card-foreground: oklch(0.086 0.019 330.813);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.753 0.086 331.006);
  --primary-foreground: oklch(0.219 0.043 331.929);
  --secondary: oklch(0.737 0.081 312.923);
  --secondary-foreground: oklch(0.21 0.041 312.318);
  --accent: oklch(0.744 0.066 355.005);
  --accent-foreground: oklch(0.214 0.034 356.937);
  --destructive: oklch(0.513 0.153 40.425);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.753 0.086 331.006);
  --chart-1: oklch(0.753 0.086 331.006);
  --chart-2: oklch(0.737 0.081 312.923);
  --chart-3: oklch(0.744 0.066 355.005);
  --chart-4: oklch(0.765 0.073 313.022);
  --chart-5: oklch(0.752 0.093 331.115);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.008 329.786);
  --muted: oklch(0.19 0.005 313.43);
  --muted-foreground: oklch(0.693 0.03 313.337);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.983 0.005 329.751);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.005 329.751);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.753 0.086 331.006);
  --primary-foreground: oklch(0.219 0.043 331.929);
  --secondary: oklch(0.737 0.081 312.923);
  --secondary-foreground: oklch(0.21 0.041 312.318);
  --accent: oklch(0.744 0.066 355.005);
  --accent-foreground: oklch(0.214 0.034 356.937);
  --destructive: oklch(0.652 0.199 39.894);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.753 0.086 331.006);
  --chart-1: oklch(0.753 0.086 331.006);
  --chart-2: oklch(0.737 0.081 312.923);
  --chart-3: oklch(0.744 0.066 355.005);
  --chart-4: oklch(0.765 0.073 313.022);
  --chart-5: oklch(0.752 0.093 331.115);
}