Colossal for shadcn/ui

Colossal is a shadcn/ui theme built around a deep teal primary color (#255b47) with deep pink accents (#5b2539). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#255b47) on a teal-tinted background (#070d0b).

Color palette

TokenLightDark
Background
#fbfefdwhite
#070d0bblack
Foreground
#010906black
#fcfdfdwhite
Card
#fbfefdwhite
#070d0bblack
Card foreground
#010906black
#fcfdfdwhite
Popover
#fbfefdwhite
#070d0bblack
Popover foreground
#010906black
#fcfdfdwhite
Primary
#255b47darkslategray
#255b47darkslategray
Primary foreground
#c9e9ddgainsboro
#c9e9ddgainsboro
Secondary
#5b2539darkslategray
#5b2539darkslategray
Secondary foreground
#e9c9d4thistle
#e9c9d4thistle
Muted
#ecd5ddgainsboro
#2a131cblack
Muted foreground
#69595fdimgray
#a6969cdarkgray
Accent
#5b2539darkslategray
#5b2539darkslategray
Accent foreground
#e9c9d4thistle
#e9c9d4thistle
Destructive
#9c3107saddlebrown
#f45b1fchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#255b47darkslategray
#255b47darkslategray

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button6.10:1AA
Secondary button7.81:1AAA
Muted text4.73:1AA
Accent7.81:1AAA
Destructive7.34:1AAA
Dark mode
Text on background19.19:1AAA
Text on card19.19:1AAA
Primary button6.10:1AA
Secondary button7.81:1AAA
Muted text6.17:1AA
Accent7.81:1AAA
Destructive6.39:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 172.47);
  --foreground: oklch(0.126 0.019 172.897);
  --muted: oklch(0.894 0.027 353.434);
  --muted-foreground: oklch(0.482 0.022 353.843);
  --popover: oklch(0.994 0.004 172.47);
  --popover-foreground: oklch(0.126 0.019 172.897);
  --card: oklch(0.994 0.004 172.47);
  --card-foreground: oklch(0.126 0.019 172.897);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.427 0.066 166.5);
  --primary-foreground: oklch(0.907 0.037 171.329);
  --secondary: oklch(0.347 0.082 359.211);
  --secondary-foreground: oklch(0.865 0.039 353.838);
  --accent: oklch(0.347 0.082 359.211);
  --accent-foreground: oklch(0.865 0.039 353.838);
  --destructive: oklch(0.469 0.149 37.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.427 0.066 166.5);
  --chart-1: oklch(0.427 0.066 166.5);
  --chart-2: oklch(0.347 0.082 359.211);
  --chart-3: oklch(0.347 0.082 359.211);
  --chart-4: oklch(0.374 0.09 359.356);
  --chart-5: oklch(0.432 0.07 166.077);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.012 171.15);
  --foreground: oklch(0.993 0.001 172.554);
  --muted: oklch(0.224 0.039 357.342);
  --muted-foreground: oklch(0.689 0.02 353.39);
  --popover: oklch(0.153 0.012 171.15);
  --popover-foreground: oklch(0.993 0.001 172.554);
  --card: oklch(0.153 0.012 171.15);
  --card-foreground: oklch(0.993 0.001 172.554);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.427 0.066 166.5);
  --primary-foreground: oklch(0.907 0.037 171.329);
  --secondary: oklch(0.347 0.082 359.211);
  --secondary-foreground: oklch(0.865 0.039 353.838);
  --accent: oklch(0.347 0.082 359.211);
  --accent-foreground: oklch(0.865 0.039 353.838);
  --destructive: oklch(0.667 0.199 39.061);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.427 0.066 166.5);
  --chart-1: oklch(0.427 0.066 166.5);
  --chart-2: oklch(0.347 0.082 359.211);
  --chart-3: oklch(0.347 0.082 359.211);
  --chart-4: oklch(0.374 0.09 359.356);
  --chart-5: oklch(0.432 0.07 166.077);
}