Presentation for shadcn/ui

Presentation is a shadcn/ui theme built around a vivid pink primary color (#f36295) with vivid teal accents (#62f3c1). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the vivid pink primary (#f36295) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f9snow
#000000black
Foreground
#15040ablack
#ffffffwhite
Card
#fbf3f6lavenderblush
#030303black
Card foreground
#110408black
#ffffffwhite
Popover
#fbf3f6lavenderblush
#030303black
Popover foreground
#110408black
#ffffffwhite
Primary
#f36295palevioletred
#f36295palevioletred
Primary foreground
#21020dblack
#21020dblack
Secondary
#62f3c1aquamarine
#62f3c1aquamarine
Secondary foreground
#022116black
#022116black
Muted
#dbe6e2gainsboro
#192420black
Muted foreground
#505e59dimgray
#a1afaadarkgray
Accent
#62f3c1aquamarine
#62f3c1aquamarine
Accent foreground
#022116black
#022116black
Destructive
#e02d00orangered
#eb2f00orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f36295palevioletred
#f36295palevioletred

Contrast

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

Light mode
Text on background18.85:1AAA
Text on card18.49:1AAA
Primary button6.50:1AA
Secondary button12.28:1AAA
Muted text5.31:1AA
Accent12.28:1AAA
Destructive4.60:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.50:1AA
Secondary button12.28:1AAA
Muted text7.02:1AAA
Accent12.28:1AAA
Destructive4.26:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 353.751);
  --foreground: oklch(0.145 0.034 357.249);
  --muted: oklch(0.915 0.012 173.183);
  --muted-foreground: oklch(0.467 0.019 172.347);
  --popover: oklch(0.972 0.009 353.842);
  --popover-foreground: oklch(0.133 0.03 355.203);
  --card: oklch(0.972 0.009 353.842);
  --card-foreground: oklch(0.133 0.03 355.203);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.694 0.183 1.286);
  --primary-foreground: oklch(0.168 0.058 1.295);
  --secondary: oklch(0.873 0.145 166.739);
  --secondary-foreground: oklch(0.222 0.043 166.144);
  --accent: oklch(0.873 0.145 166.739);
  --accent-foreground: oklch(0.222 0.043 166.144);
  --destructive: oklch(0.588 0.218 32.801);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.183 1.286);
  --chart-1: oklch(0.694 0.183 1.286);
  --chart-2: oklch(0.873 0.145 166.739);
  --chart-3: oklch(0.873 0.145 166.739);
  --chart-4: oklch(0.881 0.135 167.587);
  --chart-5: oklch(0.694 0.189 1.595);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.248 0.016 171.504);
  --muted-foreground: oklch(0.742 0.017 172.894);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.694 0.183 1.286);
  --primary-foreground: oklch(0.168 0.058 1.295);
  --secondary: oklch(0.873 0.145 166.739);
  --secondary-foreground: oklch(0.222 0.043 166.144);
  --accent: oklch(0.873 0.145 166.739);
  --accent-foreground: oklch(0.222 0.043 166.144);
  --destructive: oklch(0.607 0.226 32.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.183 1.286);
  --chart-1: oklch(0.694 0.183 1.286);
  --chart-2: oklch(0.873 0.145 166.739);
  --chart-3: oklch(0.873 0.145 166.739);
  --chart-4: oklch(0.881 0.135 167.587);
  --chart-5: oklch(0.694 0.189 1.595);
}