Tremendous for shadcn/ui

Tremendous is a shadcn/ui theme built around a deep yellow primary color (#444521) with deep indigo accents (#222145). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep yellow primary (#444521) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#ffffffwhite
#070703black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#0b0b04black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#0b0b04black
Popover foreground
#000000black
#ffffffwhite
Primary
#444521darkolivegreen
#444521darkolivegreen
Primary foreground
#dddebawheat
#dddebawheat
Secondary
#222145midnightblue
#222145midnightblue
Secondary foreground
#bbbadelightsteelblue
#bbbadelightsteelblue
Muted
#cccbe7thistle
#1a1834midnightblue
Muted foreground
#434252darkslategray
#aeadbddarkgray
Accent
#222145midnightblue
#222145midnightblue
Accent foreground
#bbbadelightsteelblue
#bbbadelightsteelblue
Destructive
#812a0esaddlebrown
#ec7046tomato
Destructive foreground
#f9d4c8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#444521darkolivegreen
#444521darkolivegreen

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 button7.17:1AAA
Secondary button8.16:1AAA
Muted text6.19:1AA
Accent8.16:1AAA
Destructive6.69:1AA
Dark mode
Text on background20.14:1AAA
Text on card19.74:1AAA
Primary button7.17:1AAA
Secondary button8.16:1AAA
Muted text7.74:1AAA
Accent8.16:1AAA
Destructive6.94:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.852 0.038 287.858);
  --muted-foreground: oklch(0.386 0.027 287.328);
  --popover: oklch(0.992 0 161.565);
  --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.381 0.056 111.3);
  --primary-foreground: oklch(0.891 0.049 109.698);
  --secondary: oklch(0.269 0.067 283.222);
  --secondary-foreground: oklch(0.801 0.052 287.466);
  --accent: oklch(0.269 0.067 283.222);
  --accent-foreground: oklch(0.801 0.052 287.466);
  --destructive: oklch(0.414 0.126 37.334);
  --destructive-foreground: oklch(0.898 0.045 39.284);
  --ring: oklch(0.381 0.056 111.3);
  --chart-1: oklch(0.381 0.056 111.3);
  --chart-2: oklch(0.269 0.067 283.222);
  --chart-3: oklch(0.269 0.067 283.222);
  --chart-4: oklch(0.293 0.075 283.001);
  --chart-5: oklch(0.386 0.059 111.44);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.014 110.181);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.229 0.052 283.72);
  --muted-foreground: oklch(0.753 0.023 288.129);
  --popover: oklch(0.146 0.016 110.269);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.146 0.016 110.269);
  --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.381 0.056 111.3);
  --primary-foreground: oklch(0.891 0.049 109.698);
  --secondary: oklch(0.269 0.067 283.222);
  --secondary-foreground: oklch(0.801 0.052 287.466);
  --accent: oklch(0.269 0.067 283.222);
  --accent-foreground: oklch(0.801 0.052 287.466);
  --destructive: oklch(0.684 0.164 38.745);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.381 0.056 111.3);
  --chart-1: oklch(0.381 0.056 111.3);
  --chart-2: oklch(0.269 0.067 283.222);
  --chart-3: oklch(0.269 0.067 283.222);
  --chart-4: oklch(0.293 0.075 283.001);
  --chart-5: oklch(0.386 0.059 111.44);
}