Reflecting for shadcn/ui

Reflecting is a shadcn/ui theme built around a vivid pink primary color (#cf1751) with vivid teal accents (#17cf94). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#cf1751) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#160309black
#fdfcfcsnow
Card
#ffffffwhite
#000000black
Card foreground
#160309black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#160309black
#fdfcfcsnow
Primary
#cf1751crimson
#cf1751crimson
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#17cf94lightseagreen
#17cf94lightseagreen
Secondary foreground
#031710black
#031710black
Muted
#e6efeclavender
#101916black
Muted foreground
#475c55darkslategray
#a3b8b1darkgray
Accent
#17cf94lightseagreen
#17cf94lightseagreen
Accent foreground
#031710black
#031710black
Destructive
#901409darkred
#f02b19orangered
Destructive foreground
#fcd3cfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cf1751crimson
#cf1751crimson

Contrast

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

Light mode
Text on background19.97:1AAA
Text on card19.97:1AAA
Primary button5.41:1AA
Secondary button9.12:1AAA
Muted text6.12:1AA
Accent9.12:1AAA
Destructive6.70:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button5.41:1AA
Secondary button9.12:1AAA
Muted text8.56:1AAA
Accent9.12:1AAA
Destructive4.13:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.041 359.436);
  --muted: oklch(0.945 0.011 175.282);
  --muted-foreground: oklch(0.456 0.028 173.678);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.041 359.436);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.143 0.041 359.436);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.551 0.21 11.665);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.757 0.158 163.877);
  --secondary-foreground: oklch(0.184 0.032 170.64);
  --accent: oklch(0.757 0.158 163.877);
  --accent-foreground: oklch(0.184 0.032 170.64);
  --destructive: oklch(0.42 0.159 30.082);
  --destructive-foreground: oklch(0.9 0.047 24.162);
  --ring: oklch(0.551 0.21 11.665);
  --chart-1: oklch(0.551 0.21 11.665);
  --chart-2: oklch(0.757 0.158 163.877);
  --chart-3: oklch(0.757 0.158 163.877);
  --chart-4: oklch(0.794 0.166 163.806);
  --chart-5: oklch(0.556 0.214 12.396);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 355.646);
  --muted: oklch(0.203 0.015 173.241);
  --muted-foreground: oklch(0.764 0.025 174.621);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 355.646);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 355.646);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.551 0.21 11.665);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.757 0.158 163.877);
  --secondary-foreground: oklch(0.184 0.032 170.64);
  --accent: oklch(0.757 0.158 163.877);
  --accent-foreground: oklch(0.184 0.032 170.64);
  --destructive: oklch(0.616 0.231 30.068);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.551 0.21 11.665);
  --chart-1: oklch(0.551 0.21 11.665);
  --chart-2: oklch(0.757 0.158 163.877);
  --chart-3: oklch(0.757 0.158 163.877);
  --chart-4: oklch(0.794 0.166 163.806);
  --chart-5: oklch(0.556 0.214 12.396);
}