Tremendous for shadcn/ui

Tremendous is a shadcn/ui theme built around a yellow primary color (#938d2f) with indigo accents (#2f3593). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#938d2f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040401black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#040401black
#ffffffwhite
Primary
#938d2folivedrab
#938d2folivedrab
Primary foreground
#000000black
#000000black
Secondary
#2f3593darkslateblue
#2f3593darkslateblue
Secondary foreground
#f7f8fdghostwhite
#f7f8fdghostwhite
Muted
#d9dae3gainsboro
#1c1d26black
Muted foreground
#4d4e66darkslategray
#999bb2darkgray
Accent
#2f3593darkslateblue
#2f3593darkslateblue
Accent foreground
#f7f8fdghostwhite
#f7f8fdghostwhite
Destructive
#8b3304saddlebrown
#fa752etomato
Destructive foreground
#fdd8c3peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#938d2folivedrab
#938d2folivedrab

Contrast

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

Light mode
Text on background20.52:1AAA
Text on card20.54:1AAA
Primary button6.07:1AA
Secondary button9.63:1AAA
Muted text5.78:1AA
Accent9.63:1AAA
Destructive6.12:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.07:1AA
Secondary button9.63:1AAA
Muted text6.13:1AA
Accent9.63:1AAA
Destructive7.65:1AAA

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.105 0.016 106.315);
  --muted: oklch(0.889 0.013 282.862);
  --muted-foreground: oklch(0.433 0.038 281.466);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.016 106.315);
  --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.63 0.114 105.233);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.387 0.152 273.701);
  --secondary-foreground: oklch(0.979 0.007 282.992);
  --accent: oklch(0.387 0.152 273.701);
  --accent-foreground: oklch(0.979 0.007 282.992);
  --destructive: oklch(0.442 0.13 42.226);
  --destructive-foreground: oklch(0.908 0.05 49.997);
  --ring: oklch(0.63 0.114 105.233);
  --chart-1: oklch(0.63 0.114 105.233);
  --chart-2: oklch(0.387 0.152 273.701);
  --chart-3: oklch(0.387 0.152 273.701);
  --chart-4: oklch(0.407 0.162 273.577);
  --chart-5: oklch(0.638 0.118 105.227);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.234 0.018 281.711);
  --muted-foreground: oklch(0.696 0.034 282.237);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.63 0.114 105.233);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.387 0.152 273.701);
  --secondary-foreground: oklch(0.979 0.007 282.992);
  --accent: oklch(0.387 0.152 273.701);
  --accent-foreground: oklch(0.979 0.007 282.992);
  --destructive: oklch(0.71 0.181 45.175);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.63 0.114 105.233);
  --chart-1: oklch(0.63 0.114 105.233);
  --chart-2: oklch(0.387 0.152 273.701);
  --chart-3: oklch(0.387 0.152 273.701);
  --chart-4: oklch(0.407 0.162 273.577);
  --chart-5: oklch(0.638 0.118 105.227);
}