Gigantic for shadcn/ui

Gigantic is a shadcn/ui theme built around a neutral gray primary color (#98a296) with neutral gray accents (#cecfce). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#98a296) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#ffffffwhite
#040703black
Foreground
#050c03black
#f6faf5whitesmoke
Card
#fcfcfcsnow
#060a05black
Card foreground
#040802black
#f9fbf8mintcream
Popover
#ffffffwhite
#040703black
Popover foreground
#050c03black
#f6faf5whitesmoke
Primary
#98a296darkgray
#98a296darkgray
Primary foreground
#020302black
#020302black
Secondary
#cecfcelightgrey
#232423black
Secondary foreground
#353635darkslategray
#bcbebbsilver
Muted
#e4f0e0beige
#131f0fblack
Muted foreground
#50544fdarkslategray
#acb0abdarkgray
Accent
#cecfcelightgrey
#232423black
Accent foreground
#353635darkslategray
#bcbebbsilver
Destructive
#5c0a0amaroon
#cf1717firebrick
Destructive foreground
#f5a3a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#98a296darkgray
#98a296darkgray

Contrast

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

Light mode
Text on background19.80:1AAA
Text on card19.74:1AAA
Primary button7.78:1AAA
Secondary button7.77:1AAA
Muted text6.53:1AA
Accent7.77:1AAA
Destructive7.09:1AAA
Dark mode
Text on background19.21:1AAA
Text on card19.14:1AAA
Primary button7.78:1AAA
Secondary button8.28:1AAA
Muted text7.79:1AAA
Accent8.28:1AAA
Destructive5.56: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.143 0.026 136.662);
  --muted: oklch(0.941 0.024 138.357);
  --muted-foreground: oklch(0.441 0.009 138.352);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.026 136.662);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.124 0.022 136.567);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.7 0.02 138.36);
  --primary-foreground: oklch(0.093 0.002 138.141);
  --secondary: oklch(0.854 0.002 138.332);
  --secondary-foreground: oklch(0.332 0.002 138.337);
  --accent: oklch(0.854 0.002 138.332);
  --accent-foreground: oklch(0.332 0.002 138.337);
  --destructive: oklch(0.306 0.113 27.207);
  --destructive-foreground: oklch(0.796 0.097 19.443);
  --ring: oklch(0.7 0.02 138.36);
  --chart-1: oklch(0.7 0.02 138.36);
  --chart-2: oklch(0.854 0.002 138.332);
  --chart-3: oklch(0.854 0.002 138.332);
  --chart-4: oklch(0.877 0.001 138.332);
  --chart-5: oklch(0.704 0.03 138.376);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.012 137.341);
  --foreground: oklch(0.98 0.007 138.338);
  --muted: oklch(0.221 0.033 138.573);
  --muted-foreground: oklch(0.752 0.008 138.341);
  --popover: oklch(0.121 0.012 137.341);
  --popover-foreground: oklch(0.98 0.007 138.338);
  --card: oklch(0.138 0.014 137.341);
  --card-foreground: oklch(0.987 0.005 138.335);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.7 0.02 138.36);
  --primary-foreground: oklch(0.093 0.002 138.141);
  --secondary: oklch(0.26 0.003 138.342);
  --secondary-foreground: oklch(0.799 0.004 138.336);
  --accent: oklch(0.26 0.003 138.342);
  --accent-foreground: oklch(0.799 0.004 138.336);
  --destructive: oklch(0.543 0.212 28.19);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.02 138.36);
  --chart-1: oklch(0.7 0.02 138.36);
  --chart-2: oklch(0.26 0.003 138.342);
  --chart-3: oklch(0.26 0.003 138.342);
  --chart-4: oklch(0.292 0.004 138.343);
  --chart-5: oklch(0.704 0.03 138.376);
}