Exciting for shadcn/ui

Exciting is a shadcn/ui theme built around a pink primary color (#c63f8d) with green accents (#3fc677). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the pink primary (#c63f8d) on a neutral background (#080206).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#080206black
Foreground
#080206black
#fdfcfdwhite
Card
#fdfcfdwhite
#080206black
Card foreground
#080206black
#fdfcfdwhite
Popover
#fdfcfdwhite
#080206black
Popover foreground
#080206black
#fdfcfdwhite
Primary
#c63f8dmediumvioletred
#c63f8dmediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3fc677mediumseagreen
#3fc677mediumseagreen
Secondary foreground
#0d2b1ablack
#0d2b1ablack
Muted
#ddeee4gainsboro
#112218black
Muted foreground
#4a6455darkslategray
#9bb5a6darkgray
Accent
#3fc677mediumseagreen
#3fc677mediumseagreen
Accent foreground
#0d2b1ablack
#0d2b1ablack
Destructive
#890e06darkred
#f63f31tomato
Destructive foreground
#fdc8c4pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c63f8dmediumvioletred
#c63f8dmediumvioletred

Contrast

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

Light mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button4.69:1AA
Secondary button6.90:1AA
Muted text5.36:1AA
Accent6.90:1AA
Destructive6.67:1AA
Dark mode
Text on background20.08:1AAA
Text on card20.08:1AAA
Primary button4.69:1AA
Secondary button6.90:1AA
Muted text7.56:1AAA
Accent6.90:1AA
Destructive3.69: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.992 0.002 341.061);
  --foreground: oklch(0.106 0.022 341.099);
  --muted: oklch(0.933 0.021 160.462);
  --muted-foreground: oklch(0.477 0.039 158.884);
  --popover: oklch(0.992 0.002 341.061);
  --popover-foreground: oklch(0.106 0.022 341.099);
  --card: oklch(0.992 0.002 341.061);
  --card-foreground: oklch(0.106 0.022 341.099);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.583 0.187 348.55);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.734 0.163 153.479);
  --secondary-foreground: oklch(0.261 0.049 155.134);
  --accent: oklch(0.734 0.163 153.479);
  --accent-foreground: oklch(0.261 0.049 155.134);
  --destructive: oklch(0.403 0.156 29.84);
  --destructive-foreground: oklch(0.878 0.06 23.109);
  --ring: oklch(0.583 0.187 348.55);
  --chart-1: oklch(0.583 0.187 348.55);
  --chart-2: oklch(0.734 0.163 153.479);
  --chart-3: oklch(0.734 0.163 153.479);
  --chart-4: oklch(0.747 0.155 154.244);
  --chart-5: oklch(0.585 0.195 348.979);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.023 341.102);
  --foreground: oklch(0.992 0.001 341.038);
  --muted: oklch(0.232 0.029 157.609);
  --muted-foreground: oklch(0.75 0.036 159.839);
  --popover: oklch(0.106 0.023 341.102);
  --popover-foreground: oklch(0.992 0.001 341.038);
  --card: oklch(0.106 0.023 341.102);
  --card-foreground: oklch(0.992 0.001 341.038);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.583 0.187 348.55);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.734 0.163 153.479);
  --secondary-foreground: oklch(0.261 0.049 155.134);
  --accent: oklch(0.734 0.163 153.479);
  --accent-foreground: oklch(0.261 0.049 155.134);
  --destructive: oklch(0.642 0.222 28.965);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.583 0.187 348.55);
  --chart-1: oklch(0.583 0.187 348.55);
  --chart-2: oklch(0.734 0.163 153.479);
  --chart-3: oklch(0.734 0.163 153.479);
  --chart-4: oklch(0.747 0.155 154.244);
  --chart-5: oklch(0.585 0.195 348.979);
}