Excited for shadcn/ui

Excited is a shadcn/ui theme built around a deep teal primary color (#0e442d) with deep orange accents (#442d0e). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the deep teal primary (#0e442d) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#030705black
Foreground
#03120bblack
#fcfdfdwhite
Card
#f8fcfamintcream
#030705black
Card foreground
#03120bblack
#fcfdfdwhite
Popover
#f8fcfamintcream
#030705black
Popover foreground
#03120bblack
#fcfdfdwhite
Primary
#0e442ddarkslategray
#0e442ddarkslategray
Primary foreground
#45d99bmediumaquamarine
#45d99bmediumaquamarine
Secondary
#2d0e44midnightblue
#2d0e44midnightblue
Secondary foreground
#c999eaplum
#c999eaplum
Muted
#e9e0f0lavender
#180f1fblack
Muted foreground
#5f5a63dimgray
#a19ca5darkgray
Accent
#442d0edarkolivegreen
#442d0edarkolivegreen
Accent foreground
#eac999burlywood
#eac999burlywood
Destructive
#822f03saddlebrown
#fa6b1echocolate
Destructive foreground
#fed1b9peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e442ddarkslategray
#0e442ddarkslategray

Contrast

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

Light mode
Text on background18.54:1AAA
Text on card18.54:1AAA
Primary button6.20:1AA
Secondary button7.33:1AAA
Muted text5.23:1AA
Accent8.16:1AAA
Destructive6.37:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button6.20:1AA
Secondary button7.33:1AAA
Muted text6.93:1AA
Accent8.16:1AAA
Destructive7.21:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 169.514);
  --foreground: oklch(0.163 0.027 166.713);
  --muted: oklch(0.919 0.024 311.51);
  --muted-foreground: oklch(0.475 0.016 311.446);
  --popover: oklch(0.988 0.005 169.514);
  --popover-foreground: oklch(0.163 0.027 166.713);
  --card: oklch(0.988 0.005 169.514);
  --card-foreground: oklch(0.163 0.027 166.713);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.344 0.068 161.032);
  --primary-foreground: oklch(0.792 0.153 161.349);
  --secondary: oklch(0.246 0.097 307.314);
  --secondary-foreground: oklch(0.757 0.123 310.379);
  --accent: oklch(0.318 0.056 72.217);
  --accent-foreground: oklch(0.852 0.072 75.835);
  --destructive: oklch(0.421 0.124 42.379);
  --destructive-foreground: oklch(0.893 0.06 49.868);
  --ring: oklch(0.344 0.068 161.032);
  --chart-1: oklch(0.344 0.068 161.032);
  --chart-2: oklch(0.246 0.097 307.314);
  --chart-3: oklch(0.318 0.056 72.217);
  --chart-4: oklch(0.273 0.111 307.036);
  --chart-5: oklch(0.348 0.07 160.663);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.012 169.87);
  --foreground: oklch(0.993 0.002 169.617);
  --muted: oklch(0.189 0.035 310.145);
  --muted-foreground: oklch(0.7 0.015 311.553);
  --popover: oklch(0.122 0.012 169.87);
  --popover-foreground: oklch(0.993 0.002 169.617);
  --card: oklch(0.122 0.012 169.87);
  --card-foreground: oklch(0.993 0.002 169.617);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.344 0.068 161.032);
  --primary-foreground: oklch(0.792 0.153 161.349);
  --secondary: oklch(0.246 0.097 307.314);
  --secondary-foreground: oklch(0.757 0.123 310.379);
  --accent: oklch(0.318 0.056 72.217);
  --accent-foreground: oklch(0.852 0.072 75.835);
  --destructive: oklch(0.696 0.193 43.611);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.344 0.068 161.032);
  --chart-1: oklch(0.344 0.068 161.032);
  --chart-2: oklch(0.246 0.097 307.314);
  --chart-3: oklch(0.318 0.056 72.217);
  --chart-4: oklch(0.273 0.111 307.036);
  --chart-5: oklch(0.348 0.07 160.663);
}