P. \ Floresta for shadcn/ui

P. \ Floresta is a shadcn/ui theme built around a pink primary color (#d16baa) with deep cyan accents (#164b55). The light mode uses a cyan-tinted background (#061618). Dark mode keeps the pink primary (#d16baa) on a cyan-tinted background (#061618).

Color palette

TokenLightDark
Background
#061618black
#061618black
Foreground
#ffd4c7peachpuff
#ffd4c7peachpuff
Card
#040e10black
#040e10black
Card foreground
#ffe8e0mistyrose
#ffe8e0mistyrose
Popover
#030b0cblack
#030b0cblack
Popover foreground
#fffbfasnow
#fffbfasnow
Primary
#d16baapalevioletred
#d16baapalevioletred
Primary foreground
#080206black
#080206black
Secondary
#532d44darkslategray
#532d44darkslategray
Secondary foreground
#e4cddbgainsboro
#e4cddbgainsboro
Muted
#22292bdarkslategray
#22292bdarkslategray
Muted foreground
#9badb0darkgray
#9badb0darkgray
Accent
#164b55darkslategray
#164b55darkslategray
Accent foreground
#b2e2ebpowderblue
#b2e2ebpowderblue
Destructive
#f91e01red
#f91e01red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#0f252ablack
#0f252ablack
Input
#133035darkslategray
#133035darkslategray
Ring
#d16baapalevioletred
#d16baapalevioletred

Contrast

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

Light mode
Text on background13.67:1AAA
Text on card16.58:1AAA
Primary button6.26:1AA
Secondary button7.72:1AAA
Muted text6.31:1AA
Accent6.86:1AA
Destructive4.03:1AA Large
Dark mode
Text on background13.67:1AAA
Text on card16.58:1AAA
Primary button6.26:1AA
Secondary button7.72:1AAA
Muted text6.31:1AA
Accent6.86:1AA
Destructive4.03:1AA Large

CSS variables

Paste this into your globals.css to use P. \ Floresta in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.186 0.022 209.908);
  --foreground: oklch(0.903 0.052 37.593);
  --muted: oklch(0.276 0.011 209.446);
  --muted-foreground: oklch(0.735 0.021 209.43);
  --popover: oklch(0.14 0.015 206.845);
  --popover-foreground: oklch(0.991 0.004 37.72);
  --card: oklch(0.156 0.017 208.399);
  --card-foreground: oklch(0.947 0.028 37.632);
  --border: oklch(0.25 0.03 210.377);
  --input: oklch(0.288 0.036 210.552);
  --primary: oklch(0.666 0.149 344.062);
  --primary-foreground: oklch(0.107 0.02 339.663);
  --secondary: oklch(0.353 0.066 343.271);
  --secondary-foreground: oklch(0.872 0.032 340.253);
  --accent: oklch(0.384 0.056 211.523);
  --accent-foreground: oklch(0.883 0.051 209.506);
  --destructive: oklch(0.624 0.246 30.558);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.666 0.149 344.062);
  --chart-1: oklch(0.666 0.149 344.062);
  --chart-2: oklch(0.353 0.066 343.271);
  --chart-3: oklch(0.384 0.056 211.523);
  --chart-4: oklch(0.381 0.072 343.344);
  --chart-5: oklch(0.666 0.157 344.316);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.186 0.022 209.908);
  --foreground: oklch(0.903 0.052 37.593);
  --muted: oklch(0.276 0.011 209.446);
  --muted-foreground: oklch(0.735 0.021 209.43);
  --popover: oklch(0.14 0.015 206.845);
  --popover-foreground: oklch(0.991 0.004 37.72);
  --card: oklch(0.156 0.017 208.399);
  --card-foreground: oklch(0.947 0.028 37.632);
  --border: oklch(0.25 0.03 210.377);
  --input: oklch(0.288 0.036 210.552);
  --primary: oklch(0.666 0.149 344.062);
  --primary-foreground: oklch(0.107 0.02 339.663);
  --secondary: oklch(0.353 0.066 343.271);
  --secondary-foreground: oklch(0.872 0.032 340.253);
  --accent: oklch(0.384 0.056 211.523);
  --accent-foreground: oklch(0.883 0.051 209.506);
  --destructive: oklch(0.624 0.246 30.558);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.666 0.149 344.062);
  --chart-1: oklch(0.666 0.149 344.062);
  --chart-2: oklch(0.353 0.066 343.271);
  --chart-3: oklch(0.384 0.056 211.523);
  --chart-4: oklch(0.381 0.072 343.344);
  --chart-5: oklch(0.666 0.157 344.316);
}