Property for shadcn/ui

Property is a shadcn/ui theme built around a cyan primary color (#2096b1) with red accents (#b13b20). The light mode uses a neutral background (#fbfefe). Dark mode keeps the cyan primary (#2096b1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#031316black
#ffffffwhite
Card
#fbfefewhite
#000000black
Card foreground
#031316black
#ffffffwhite
Popover
#fbfefewhite
#000000black
Popover foreground
#031316black
#ffffffwhite
Primary
#2096b1lightseagreen
#2096b1lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b13b20brown
#b13b20brown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4e9e7linen
#180e0bblack
Muted foreground
#4f4340darkslategray
#bfb3b0silver
Accent
#b13b20brown
#b13b20brown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#752500maroon
#ff5100orangered
Destructive foreground
#ffc4a8navajowhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2096b1lightseagreen
#2096b1lightseagreen

Contrast

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

Light mode
Text on background18.61:1AAA
Text on card18.61:1AAA
Primary button3.45:1AA Large
Secondary button5.98:1AA
Muted text7.98:1AAA
Accent5.98:1AA
Destructive6.76:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button3.45:1AA Large
Secondary button5.98:1AA
Muted text9.30:1AAA
Accent5.98:1AA
Destructive3.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 212.663);
  --foreground: oklch(0.173 0.025 212.75);
  --muted: oklch(0.942 0.012 32.665);
  --muted-foreground: oklch(0.394 0.017 32.731);
  --popover: oklch(0.994 0.003 212.663);
  --popover-foreground: oklch(0.173 0.025 212.75);
  --card: oklch(0.994 0.003 212.663);
  --card-foreground: oklch(0.173 0.025 212.75);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.624 0.104 217.454);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.518 0.158 34.057);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.518 0.158 34.057);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.384 0.12 40.271);
  --destructive-foreground: oklch(0.866 0.078 46.027);
  --ring: oklch(0.624 0.104 217.454);
  --chart-1: oklch(0.624 0.104 217.454);
  --chart-2: oklch(0.518 0.158 34.057);
  --chart-3: oklch(0.518 0.158 34.057);
  --chart-4: oklch(0.545 0.168 34.043);
  --chart-5: oklch(0.63 0.107 217.824);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.176 0.019 33.1);
  --muted-foreground: oklch(0.776 0.014 32.671);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.624 0.104 217.454);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.518 0.158 34.057);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.518 0.158 34.057);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.671 0.221 37.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.624 0.104 217.454);
  --chart-1: oklch(0.624 0.104 217.454);
  --chart-2: oklch(0.518 0.158 34.057);
  --chart-3: oklch(0.518 0.158 34.057);
  --chart-4: oklch(0.545 0.168 34.043);
  --chart-5: oklch(0.63 0.107 217.824);
}