Launchbase Theme for shadcn/ui

Launchbase Theme is a shadcn/ui theme built around a light yellow primary color (#fcfcf3) with deep orange accents (#473624). The light mode uses an orange-tinted background (#140f0a). Dark mode keeps the light yellow primary (#fcfcf3) on an orange-tinted background (#140f0a).

Color palette

TokenLightDark
Background
#140f0ablack
#140f0ablack
Foreground
#d4d4d4lightgrey
#d4d4d4lightgrey
Card
#0e0a07black
#0e0a07black
Card foreground
#e0e0e0gainsboro
#e0e0e0gainsboro
Popover
#0a0805black
#0a0805black
Popover foreground
#edededwhitesmoke
#edededwhitesmoke
Primary
#fcfcf3floralwhite
#fcfcf3floralwhite
Primary foreground
#464610darkolivegreen
#464610darkolivegreen
Secondary
#53532ddarkolivegreen
#53532ddarkolivegreen
Secondary foreground
#e4e4cdgainsboro
#e4e4cdgainsboro
Muted
#2b2622darkslategray
#2b2622darkslategray
Muted foreground
#b0a69bdarkgray
#b0a69bdarkgray
Accent
#473624darkslategray
#473624darkslategray
Accent foreground
#dfcfbflightgrey
#dfcfbflightgrey
Destructive
#fc2222crimson
#fc2222crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#231c16black
#231c16black
Input
#2c241bblack
#2c241bblack
Ring
#fcfcf3floralwhite
#fcfcf3floralwhite

Contrast

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

Light mode
Text on background12.82:1AAA
Text on card14.93:1AAA
Primary button9.50:1AAA
Secondary button6.17:1AA
Muted text6.24:1AA
Accent7.61:1AAA
Destructive3.90:1AA Large
Dark mode
Text on background12.82:1AAA
Text on card14.93:1AAA
Primary button9.50:1AAA
Secondary button6.17:1AA
Muted text6.24:1AA
Accent7.61:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.174 0.013 66.782);
  --foreground: oklch(0.869 0 165.964);
  --muted: oklch(0.273 0.011 67.352);
  --muted-foreground: oklch(0.73 0.02 67.513);
  --popover: oklch(0.135 0.009 72.48);
  --popover-foreground: oklch(0.947 0 180);
  --card: oklch(0.149 0.01 69.813);
  --card-foreground: oklch(0.908 0 180);
  --border: oklch(0.232 0.016 66.926);
  --input: oklch(0.266 0.019 66.84);
  --primary: oklch(0.989 0.012 106.625);
  --primary-foreground: oklch(0.384 0.073 109.391);
  --secondary: oklch(0.432 0.057 108.563);
  --secondary-foreground: oklch(0.913 0.031 106.989);
  --accent: oklch(0.346 0.038 66.004);
  --accent-foreground: oklch(0.862 0.028 67.441);
  --destructive: oklch(0.632 0.245 28.004);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.989 0.012 106.625);
  --chart-1: oklch(0.989 0.012 106.625);
  --chart-2: oklch(0.432 0.057 108.563);
  --chart-3: oklch(0.346 0.038 66.004);
  --chart-4: oklch(0.467 0.062 108.59);
  --chart-5: oklch(0.989 0.013 106.636);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.174 0.013 66.782);
  --foreground: oklch(0.869 0 165.964);
  --muted: oklch(0.273 0.011 67.352);
  --muted-foreground: oklch(0.73 0.02 67.513);
  --popover: oklch(0.135 0.009 72.48);
  --popover-foreground: oklch(0.947 0 180);
  --card: oklch(0.149 0.01 69.813);
  --card-foreground: oklch(0.908 0 180);
  --border: oklch(0.232 0.016 66.926);
  --input: oklch(0.266 0.019 66.84);
  --primary: oklch(0.989 0.012 106.625);
  --primary-foreground: oklch(0.384 0.073 109.391);
  --secondary: oklch(0.432 0.057 108.563);
  --secondary-foreground: oklch(0.913 0.031 106.989);
  --accent: oklch(0.346 0.038 66.004);
  --accent-foreground: oklch(0.862 0.028 67.441);
  --destructive: oklch(0.632 0.245 28.004);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.989 0.012 106.625);
  --chart-1: oklch(0.989 0.012 106.625);
  --chart-2: oklch(0.432 0.057 108.563);
  --chart-3: oklch(0.346 0.038 66.004);
  --chart-4: oklch(0.467 0.062 108.59);
  --chart-5: oklch(0.989 0.013 106.636);
}