Celebrated for shadcn/ui

Celebrated is a shadcn/ui theme built around a vivid light yellow primary color (#fdfbed) with vivid light purple accents (#fbedfd). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the vivid light yellow primary (#fdfbed) on a yellow-tinted background (#0a0a05).

Color palette

TokenLightDark
Background
#fcfbf8snow
#0a0a05black
Foreground
#080702black
#fdfdfcwhite
Card
#fcfbf8snow
#0a0a05black
Card foreground
#080702black
#fdfdfcwhite
Popover
#fcfbf8snow
#0a0a05black
Popover foreground
#080702black
#fdfdfcwhite
Primary
#fdfbedfloralwhite
#fdfbedfloralwhite
Primary foreground
#494108darkolivegreen
#494108darkolivegreen
Secondary
#edfdfbazure
#edfdfbazure
Secondary foreground
#084941darkslategray
#084941darkslategray
Muted
#ecf3f2whitesmoke
#0c1312black
Muted foreground
#474848darkslategray
#b7b8b8silver
Accent
#fbedfdlavenderblush
#fbedfdlavenderblush
Accent foreground
#9212a5darkmagenta
#9212a5darkmagenta
Destructive
#b4270efirebrick
#f05338tomato
Destructive foreground
#fef7f6snow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fdfbedfloralwhite
#fdfbedfloralwhite

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button9.87:1AAA
Secondary button9.81:1AAA
Muted text8.17:1AAA
Accent6.51:1AA
Destructive6.13:1AA
Dark mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button9.87:1AAA
Secondary button9.81:1AAA
Muted text9.45:1AAA
Accent6.51:1AA
Destructive3.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 99.399);
  --foreground: oklch(0.129 0.018 103.099);
  --muted: oklch(0.959 0.008 187.546);
  --muted-foreground: oklch(0.401 0.002 187.631);
  --popover: oklch(0.988 0.004 99.399);
  --popover-foreground: oklch(0.129 0.018 103.099);
  --card: oklch(0.988 0.004 99.399);
  --card-foreground: oklch(0.129 0.018 103.099);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.985 0.019 99.615);
  --primary-foreground: oklch(0.372 0.072 99.883);
  --secondary: oklch(0.981 0.017 187.311);
  --secondary-foreground: oklch(0.367 0.063 181.09);
  --accent: oklch(0.961 0.026 321.668);
  --accent-foreground: oklch(0.482 0.218 321.466);
  --destructive: oklch(0.503 0.181 32.058);
  --destructive-foreground: oklch(0.981 0.008 29.497);
  --ring: oklch(0.985 0.019 99.615);
  --chart-1: oklch(0.985 0.019 99.615);
  --chart-2: oklch(0.981 0.017 187.311);
  --chart-3: oklch(0.961 0.026 321.668);
  --chart-4: oklch(0.995 0.004 187.641);
  --chart-5: oklch(0.986 0.019 99.624);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.011 101.594);
  --foreground: oklch(0.993 0.001 99.359);
  --muted: oklch(0.179 0.011 186.1);
  --muted-foreground: oklch(0.782 0.002 187.698);
  --popover: oklch(0.141 0.011 101.594);
  --popover-foreground: oklch(0.993 0.001 99.359);
  --card: oklch(0.141 0.011 101.594);
  --card-foreground: oklch(0.993 0.001 99.359);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.985 0.019 99.615);
  --primary-foreground: oklch(0.372 0.072 99.883);
  --secondary: oklch(0.981 0.017 187.311);
  --secondary-foreground: oklch(0.367 0.063 181.09);
  --accent: oklch(0.961 0.026 321.668);
  --accent-foreground: oklch(0.482 0.218 321.466);
  --destructive: oklch(0.653 0.197 32.334);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.019 99.615);
  --chart-1: oklch(0.985 0.019 99.615);
  --chart-2: oklch(0.981 0.017 187.311);
  --chart-3: oklch(0.961 0.026 321.668);
  --chart-4: oklch(0.995 0.004 187.641);
  --chart-5: oklch(0.986 0.019 99.624);
}