Tremendous for shadcn/ui

Tremendous is a shadcn/ui theme built around a vivid deep violet primary color (#0b021d) with vivid deep green accents (#021d0b). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid deep violet primary (#0b021d) on a violet-tinted background (#09060f).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#09060fblack
Foreground
#090510black
#f9f8fcghostwhite
Card
#f9f8fcghostwhite
#09060fblack
Card foreground
#090510black
#f9f8fcghostwhite
Popover
#f9f8fcghostwhite
#09060fblack
Popover foreground
#090510black
#f9f8fcghostwhite
Primary
#0b021dblack
#0b021dblack
Primary foreground
#d2bbfbthistle
#d2bbfbthistle
Secondary
#1d0b02black
#1d0b02black
Secondary foreground
#f6915asandybrown
#f6915asandybrown
Muted
#e6dfdbgainsboro
#241d19black
Muted foreground
#736259dimgray
#a6958crosybrown
Accent
#021d0bblack
#021d0bblack
Accent foreground
#0cdf56springgreen
#0cdf56springgreen
Destructive
#ce4112chocolate
#ef6e43tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0b021dblack
#0b021dblack

Contrast

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

Light mode
Text on background19.08:1AAA
Text on card19.08:1AAA
Primary button11.78:1AAA
Secondary button8.27:1AAA
Muted text4.39:1AA Large
Accent9.89:1AAA
Destructive4.76:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button11.78:1AAA
Secondary button8.27:1AAA
Muted text5.77:1AA
Accent9.89:1AAA
Destructive6.97:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 302.128);
  --foreground: oklch(0.128 0.027 301.438);
  --muted: oklch(0.907 0.009 50.525);
  --muted-foreground: oklch(0.51 0.027 50.036);
  --popover: oklch(0.981 0.005 302.128);
  --popover-foreground: oklch(0.128 0.027 301.438);
  --card: oklch(0.981 0.005 302.128);
  --card-foreground: oklch(0.128 0.027 301.438);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.133 0.062 296.811);
  --primary-foreground: oklch(0.833 0.091 300.464);
  --secondary: oklch(0.175 0.038 54.499);
  --secondary-foreground: oklch(0.753 0.141 47.899);
  --accent: oklch(0.204 0.05 152.685);
  --accent-foreground: oklch(0.788 0.231 147.169);
  --destructive: oklch(0.575 0.185 36.509);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.133 0.062 296.811);
  --chart-1: oklch(0.133 0.062 296.811);
  --chart-2: oklch(0.175 0.038 54.499);
  --chart-3: oklch(0.204 0.05 152.685);
  --chart-4: oklch(0.215 0.052 49.375);
  --chart-5: oklch(0.131 0.064 296.647);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.022 301.547);
  --foreground: oklch(0.982 0.004 302.142);
  --muted: oklch(0.238 0.013 49.989);
  --muted-foreground: oklch(0.682 0.025 50.218);
  --popover: oklch(0.131 0.022 301.547);
  --popover-foreground: oklch(0.982 0.004 302.142);
  --card: oklch(0.131 0.022 301.547);
  --card-foreground: oklch(0.982 0.004 302.142);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.133 0.062 296.811);
  --primary-foreground: oklch(0.833 0.091 300.464);
  --secondary: oklch(0.175 0.038 54.499);
  --secondary-foreground: oklch(0.753 0.141 47.899);
  --accent: oklch(0.204 0.05 152.685);
  --accent-foreground: oklch(0.788 0.231 147.169);
  --destructive: oklch(0.686 0.169 38.654);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.133 0.062 296.811);
  --chart-1: oklch(0.133 0.062 296.811);
  --chart-2: oklch(0.175 0.038 54.499);
  --chart-3: oklch(0.204 0.05 152.685);
  --chart-4: oklch(0.215 0.052 49.375);
  --chart-5: oklch(0.131 0.064 296.647);
}