Flamboyant for shadcn/ui

Flamboyant is a shadcn/ui theme built around a teal primary color (#acd2c8) with pink accents (#d2acb6). The light mode uses a neutral background (#f6fdfc). Dark mode keeps the teal primary (#acd2c8) on a neutral background (#020403).

Color palette

TokenLightDark
Background
#f6fdfcmintcream
#020403black
Foreground
#010403black
#fcfdfdwhite
Card
#f2fdfamintcream
#030706black
Card foreground
#000000black
#ffffffwhite
Popover
#f2fdfamintcream
#030706black
Popover foreground
#000000black
#ffffffwhite
Primary
#acd2c8lightsteelblue
#acd2c8lightsteelblue
Primary foreground
#1b322cdarkslategray
#1b322cdarkslategray
Secondary
#d2acb6silver
#d2acb6silver
Secondary foreground
#321b21black
#321b21black
Muted
#e9d8dcgainsboro
#27161bblack
Muted foreground
#4a4546darkslategray
#bab5b7silver
Accent
#d2acb6silver
#d2acb6silver
Accent foreground
#321b21black
#321b21black
Destructive
#ab1103firebrick
#fc3422orangered
Destructive foreground
#ffe3e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#acd2c8lightsteelblue
#acd2c8lightsteelblue

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.16:1AAA
Primary button8.34:1AAA
Secondary button7.86:1AAA
Muted text6.86:1AA
Accent7.86:1AAA
Destructive6.17:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.23:1AAA
Primary button8.34:1AAA
Secondary button7.86:1AAA
Muted text8.52:1AAA
Accent7.86:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 178.552);
  --foreground: oklch(0.1 0.014 178.902);
  --muted: oklch(0.897 0.02 359.406);
  --muted-foreground: oklch(0.396 0.006 359.216);
  --popover: oklch(0.984 0.012 178.434);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.012 178.434);
  --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.834 0.043 177.217);
  --primary-foreground: oklch(0.295 0.031 175.164);
  --secondary: oklch(0.782 0.046 0.424);
  --secondary-foreground: oklch(0.254 0.037 2.833);
  --accent: oklch(0.782 0.046 0.424);
  --accent-foreground: oklch(0.254 0.037 2.833);
  --destructive: oklch(0.471 0.185 30.234);
  --destructive-foreground: oklch(0.938 0.03 23.922);
  --ring: oklch(0.834 0.043 177.217);
  --chart-1: oklch(0.834 0.043 177.217);
  --chart-2: oklch(0.782 0.046 0.424);
  --chart-3: oklch(0.782 0.046 0.424);
  --chart-4: oklch(0.808 0.04 0.169);
  --chart-5: oklch(0.838 0.047 177.064);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.008 178.858);
  --foreground: oklch(0.993 0.001 178.748);
  --muted: oklch(0.225 0.029 2.286);
  --muted-foreground: oklch(0.778 0.005 358.97);
  --popover: oklch(0.122 0.011 178.858);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.011 178.858);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.834 0.043 177.217);
  --primary-foreground: oklch(0.295 0.031 175.164);
  --secondary: oklch(0.782 0.046 0.424);
  --secondary-foreground: oklch(0.254 0.037 2.833);
  --accent: oklch(0.782 0.046 0.424);
  --accent-foreground: oklch(0.254 0.037 2.833);
  --destructive: oklch(0.642 0.235 29.978);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.834 0.043 177.217);
  --chart-1: oklch(0.834 0.043 177.217);
  --chart-2: oklch(0.782 0.046 0.424);
  --chart-3: oklch(0.782 0.046 0.424);
  --chart-4: oklch(0.808 0.04 0.169);
  --chart-5: oklch(0.838 0.047 177.064);
}