LighthouseAI for shadcn/ui

LighthouseAI is a shadcn/ui theme built around a vivid yellow primary color (#ccb400) with muted light yellow accents (#d7d4c1). The light mode uses a neutral background (#fcfcf8). Dark mode switches to an indigo primary (#353496) on an indigo-tinted background (#010115).

Color palette

TokenLightDark
Background
#fcfcf8snow
#010115black
Foreground
#121003black
#ededfflavender
Card
#fbfaf4floralwhite
#0d0d2bblack
Card foreground
#0d0c02black
#b8b8e0lightsteelblue
Popover
#fcfcf8snow
#010115black
Popover foreground
#121003black
#f6f6f9whitesmoke
Primary
#ccb400goldenrod
#353496darkslateblue
Primary foreground
#000000black
#9096b6darkgray
Secondary
#e5e4dcgainsboro
#1b1b5emidnightblue
Secondary foreground
#53503cdarkolivegreen
#9096b6darkgray
Muted
#f4f3eblinen
#535875dimgray
Muted foreground
#737059dimgray
#ededfflavender
Accent
#d7d4c1lightgrey
#353496darkslateblue
Accent foreground
#3e3b28darkslategray
#ffffffwhite
Destructive
#9c0f0ddarkred
#f21c74deeppink
Destructive foreground
#fcdedemistyrose
#ffffffwhite
Border
#e8e7e3gainsboro
#1c203emidnightblue
Input
#e8e7e3gainsboro
#1c203emidnightblue
Ring
#ccb400goldenrod
#353496darkslateblue

Contrast

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

Light mode
Text on background18.51:1AAA
Text on card18.76:1AAA
Primary button10.11:1AAA
Secondary button6.38:1AA
Muted text4.50:1AA
Accent7.57:1AAA
Destructive6.70:1AA
Dark mode
Text on background17.86:1AAA
Text on card9.88:1AAA
Primary button3.46:1AA Large
Secondary button5.29:1AA
Muted text6.01:1AA
Accent10.08:1AAA
Destructive4.04:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.006 100.417);
  --foreground: oklch(0.171 0.028 103.123);
  --muted: oklch(0.963 0.01 100.495);
  --muted-foreground: oklch(0.542 0.035 101.223);
  --popover: oklch(0.99 0.006 100.417);
  --popover-foreground: oklch(0.171 0.028 103.123);
  --card: oklch(0.984 0.008 100.461);
  --card-foreground: oklch(0.152 0.025 103.832);
  --border: oklch(0.928 0.005 100.411);
  --input: oklch(0.928 0.005 100.411);
  --primary: oklch(0.767 0.159 99.721);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.918 0.012 100.523);
  --secondary-foreground: oklch(0.428 0.032 101.333);
  --accent: oklch(0.867 0.026 100.767);
  --accent-foreground: oklch(0.35 0.031 101.485);
  --destructive: oklch(0.441 0.172 28.605);
  --destructive-foreground: oklch(0.926 0.033 18.928);
  --ring: oklch(0.767 0.159 99.721);
  --chart-1: oklch(0.767 0.159 99.721);
  --chart-2: oklch(0.918 0.012 100.523);
  --chart-3: oklch(0.867 0.026 100.767);
  --chart-4: oklch(0.939 0.009 100.472);
  --chart-5: oklch(0.775 0.161 99.576);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.054 270.758);
  --foreground: oklch(0.951 0.024 285.933);
  --muted: oklch(0.468 0.047 276.81);
  --muted-foreground: oklch(0.951 0.024 285.933);
  --popover: oklch(0.099 0.054 270.758);
  --popover-foreground: oklch(0.973 0.005 286.309);
  --card: oklch(0.181 0.059 278.68);
  --card-foreground: oklch(0.796 0.056 285.049);
  --border: oklch(0.257 0.056 275.935);
  --input: oklch(0.257 0.056 275.935);
  --primary: oklch(0.391 0.156 276.863);
  --primary-foreground: oklch(0.679 0.048 276.726);
  --secondary: oklch(0.273 0.116 275.56);
  --secondary-foreground: oklch(0.679 0.048 276.726);
  --accent: oklch(0.391 0.156 276.863);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.625 0.24 5.203);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.391 0.156 276.863);
  --chart-1: oklch(0.632 0.128 263.088);
  --chart-2: oklch(0.766 0.097 212.493);
  --chart-3: oklch(0.391 0.156 276.863);
  --chart-4: oklch(0.783 0.091 212.163);
  --chart-5: oklch(0.63 0.135 262.998);
}