Hot for shadcn/ui

Hot is a shadcn/ui theme built around a vivid light green primary color (#e5f49f) with muted light green accents (#d4d7c6). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the vivid light green primary (#e5f49f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcf8snow
#000000black
Foreground
#070802black
#fbfcf8snow
Card
#f9faf4whitesmoke
#030303black
Card foreground
#040401black
#fdfdfcwhite
Popover
#fbfcf8snow
#000000black
Popover foreground
#070802black
#fbfcf8snow
Primary
#e5f49fpalegoldenrod
#e5f49fpalegoldenrod
Primary foreground
#49570adarkolivegreen
#49570adarkolivegreen
Secondary
#e3e4ddgainsboro
#161613black
Secondary foreground
#4c4f40darkslategray
#b2b5a6darkgray
Muted
#e1e3d9gainsboro
#24261cblack
Muted foreground
#545648darkolivegreen
#b4b7a9darkgray
Accent
#d4d7c6lightgrey
#2b2d1fdarkslategray
Accent foreground
#3b3f2cdarkslategray
#c7cbb4silver
Destructive
#841b0bmaroon
#ef4d34tomato
Destructive foreground
#facdc6pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e5f49fpalegoldenrod
#e5f49fpalegoldenrod

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.63:1AAA
Primary button6.71:1AA
Secondary button6.54:1AA
Muted text5.77:1AA
Accent7.40:1AAA
Destructive6.81:1AA
Dark mode
Text on background20.38:1AAA
Text on card20.31:1AAA
Primary button6.71:1AA
Secondary button8.67:1AAA
Muted text7.49:1AAA
Accent8.42:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 114.927);
  --foreground: oklch(0.131 0.021 115.579);
  --muted: oklch(0.911 0.013 115.096);
  --muted-foreground: oklch(0.447 0.023 115.764);
  --popover: oklch(0.989 0.006 114.927);
  --popover-foreground: oklch(0.131 0.021 115.579);
  --card: oklch(0.984 0.008 114.98);
  --card-foreground: oklch(0.104 0.016 115.579);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.937 0.11 117.035);
  --primary-foreground: oklch(0.43 0.097 120.323);
  --secondary: oklch(0.915 0.009 115.008);
  --secondary-foreground: oklch(0.421 0.025 115.939);
  --accent: oklch(0.872 0.022 115.3);
  --accent-foreground: oklch(0.358 0.03 116.4);
  --destructive: oklch(0.402 0.143 31.609);
  --destructive-foreground: oklch(0.886 0.052 28.349);
  --ring: oklch(0.937 0.11 117.035);
  --chart-1: oklch(0.937 0.11 117.035);
  --chart-2: oklch(0.915 0.009 115.008);
  --chart-3: oklch(0.872 0.022 115.3);
  --chart-4: oklch(0.937 0.007 114.958);
  --chart-5: oklch(0.941 0.113 117.105);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.989 0.005 114.91);
  --muted: oklch(0.264 0.018 116.088);
  --muted-foreground: oklch(0.774 0.02 115.301);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.989 0.005 114.91);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.994 0.002 114.866);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.937 0.11 117.035);
  --primary-foreground: oklch(0.43 0.097 120.323);
  --secondary: oklch(0.199 0.007 115.494);
  --secondary-foreground: oklch(0.766 0.021 115.322);
  --accent: oklch(0.291 0.024 116.368);
  --accent-foreground: oklch(0.832 0.032 115.524);
  --destructive: oklch(0.643 0.202 31.554);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.937 0.11 117.035);
  --chart-1: oklch(0.937 0.11 117.035);
  --chart-2: oklch(0.199 0.007 115.494);
  --chart-3: oklch(0.291 0.024 116.368);
  --chart-4: oklch(0.235 0.01 115.573);
  --chart-5: oklch(0.941 0.113 117.105);
}