Exciting for shadcn/ui

Exciting is a shadcn/ui theme built around a vivid light red primary color (#feaec0) with vivid light teal accents (#aefeed). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid light red primary (#feaec0) on a red-tinted background (#0a0506).

Color palette

TokenLightDark
Background
#fdf7f8snow
#0a0506black
Foreground
#040101black
#fbf9f9snow
Card
#fcf2f5lavenderblush
#0e0708black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fdf7f8snow
#0a0506black
Popover foreground
#040101black
#fbf9f9snow
Primary
#feaec0lightpink
#feaec0lightpink
Primary foreground
#79011bmaroon
#79011bmaroon
Secondary
#aefeedpaleturquoise
#aefeedpaleturquoise
Secondary foreground
#001410black
#001410black
Muted
#d5e1dfgainsboro
#1e2a27darkslategray
Muted foreground
#575c5bdimgray
#a3a8a7darkgray
Accent
#aefeedpaleturquoise
#aefeedpaleturquoise
Accent foreground
#001410black
#001410black
Destructive
#952509saddlebrown
#f04014orangered
Destructive foreground
#fcdcd4antiquewhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#feaec0lightpink
#feaec0lightpink

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.20:1AAA
Primary button6.57:1AA
Secondary button16.45:1AAA
Muted text5.08:1AA
Accent16.45:1AAA
Destructive6.41:1AA
Dark mode
Text on background19.28:1AAA
Text on card19.51:1AAA
Primary button6.57:1AA
Secondary button16.45:1AAA
Muted text6.17:1AA
Accent16.45:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.007 2.272);
  --foreground: oklch(0.08 0.021 2.271);
  --muted: oklch(0.901 0.013 181.647);
  --muted-foreground: oklch(0.469 0.007 181.649);
  --popover: oklch(0.98 0.007 2.272);
  --popover-foreground: oklch(0.08 0.021 2.271);
  --card: oklch(0.971 0.011 2.379);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.833 0.096 5.142);
  --primary-foreground: oklch(0.366 0.146 20.081);
  --secondary: oklch(0.941 0.082 179.357);
  --secondary-foreground: oklch(0.172 0.031 178.149);
  --accent: oklch(0.941 0.082 179.357);
  --accent-foreground: oklch(0.172 0.031 178.149);
  --destructive: oklch(0.443 0.151 34.057);
  --destructive-foreground: oklch(0.919 0.038 34.316);
  --ring: oklch(0.833 0.096 5.142);
  --chart-1: oklch(0.833 0.096 5.142);
  --chart-2: oklch(0.941 0.082 179.357);
  --chart-3: oklch(0.941 0.082 179.357);
  --chart-4: oklch(0.951 0.068 179.917);
  --chart-5: oklch(0.832 0.099 5.245);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.012 2.138);
  --foreground: oklch(0.983 0.002 2.13);
  --muted: oklch(0.272 0.017 180.154);
  --muted-foreground: oklch(0.728 0.006 181.826);
  --popover: oklch(0.125 0.012 2.138);
  --popover-foreground: oklch(0.983 0.002 2.13);
  --card: oklch(0.138 0.014 2.966);
  --card-foreground: oklch(0.992 0.001 2.098);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.833 0.096 5.142);
  --primary-foreground: oklch(0.366 0.146 20.081);
  --secondary: oklch(0.941 0.082 179.357);
  --secondary-foreground: oklch(0.172 0.031 178.149);
  --accent: oklch(0.941 0.082 179.357);
  --accent-foreground: oklch(0.172 0.031 178.149);
  --destructive: oklch(0.631 0.218 33.914);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.833 0.096 5.142);
  --chart-1: oklch(0.833 0.096 5.142);
  --chart-2: oklch(0.941 0.082 179.357);
  --chart-3: oklch(0.941 0.082 179.357);
  --chart-4: oklch(0.951 0.068 179.917);
  --chart-5: oklch(0.832 0.099 5.245);
}