Romantic Capture for shadcn/ui

Romantic Capture is a shadcn/ui theme built around a vivid teal primary color (#00bda4) with vivid blue accents (#0078bd). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid teal primary (#00bda4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#000000black
Foreground
#031714black
#f5faf9mintcream
Card
#f3fcfbmintcream
#030303black
Card foreground
#021210black
#f8fcfbmintcream
Popover
#f3fcfbmintcream
#030303black
Popover foreground
#021210black
#f8fcfbmintcream
Primary
#00bda4lightseagreen
#00bda4lightseagreen
Primary foreground
#000000black
#000000black
Secondary
#44b36dmediumseagreen
#00bd45limegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dce5dfgainsboro
#1a231dblack
Muted foreground
#54645adimgray
#9baba1darkgray
Accent
#0078bddarkcyan
#0078bddarkcyan
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#db0700red
#fa0800red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaeceblavender
#181b1ablack
Input
#eaeceblavender
#181b1ablack
Ring
#00bda4lightseagreen
#00bda4lightseagreen

Contrast

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

Light mode
Text on background17.94:1AAA
Text on card18.33:1AAA
Primary button8.78:1AAA
Secondary button2.64:1Fail
Muted text4.86:1AA
Accent4.77:1AA
Destructive5.18:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.99:1AAA
Primary button8.78:1AAA
Secondary button2.51:1Fail
Muted text6.70:1AA
Accent4.77:1AA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 187.589);
  --foreground: oklch(0.185 0.028 183.972);
  --muted: oklch(0.913 0.012 158.44);
  --muted-foreground: oklch(0.486 0.026 157.501);
  --popover: oklch(0.984 0.01 187.507);
  --popover-foreground: oklch(0.167 0.025 184.797);
  --card: oklch(0.984 0.01 187.507);
  --card-foreground: oklch(0.167 0.025 184.797);
  --border: oklch(0.94 0.002 187.691);
  --input: oklch(0.94 0.002 187.691);
  --primary: oklch(0.714 0.131 178.593);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.686 0.145 152.493);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.552 0.139 244.938);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.562 0.228 29.547);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.714 0.131 178.593);
  --chart-1: oklch(0.714 0.131 178.593);
  --chart-2: oklch(0.686 0.145 152.493);
  --chart-3: oklch(0.552 0.139 244.938);
  --chart-4: oklch(0.71 0.146 152.783);
  --chart-5: oklch(0.721 0.133 178.386);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.981 0.005 187.617);
  --muted: oklch(0.245 0.016 157.219);
  --muted-foreground: oklch(0.727 0.024 157.993);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.987 0.004 187.662);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.004 187.662);
  --border: oklch(0.218 0.004 187.301);
  --input: oklch(0.218 0.004 187.301);
  --primary: oklch(0.714 0.131 178.593);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.695 0.206 147.031);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.552 0.139 244.938);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.62 0.252 29.499);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.714 0.131 178.593);
  --chart-1: oklch(0.714 0.131 178.593);
  --chart-2: oklch(0.695 0.206 147.031);
  --chart-3: oklch(0.552 0.139 244.938);
  --chart-4: oklch(0.736 0.219 146.945);
  --chart-5: oklch(0.721 0.133 178.386);
}