Watch for shadcn/ui

Watch is a shadcn/ui theme built around a muted light red primary color (#ede4e3) with muted light orange accents (#ede9e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light red primary (#ede4e3) on a red-tinted background (#0c0404).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0404black
Foreground
#0c0403black
#fdfcfcsnow
Card
#ffffffwhite
#0c0404black
Card foreground
#0c0403black
#fdfcfcsnow
Popover
#ffffffwhite
#0c0404black
Popover foreground
#0c0403black
#fdfcfcsnow
Primary
#ede4e3linen
#ede4e3linen
Primary foreground
#60413edarkolivegreen
#60413edarkolivegreen
Secondary
#ede3e7linen
#ede3e7linen
Secondary foreground
#603e4cdarkslategray
#603e4cdarkslategray
Muted
#e8e3e5gainsboro
#1c1719black
Muted foreground
#615158dimgray
#ae9ea4darkgray
Accent
#ede9e3linen
#ede9e3linen
Accent foreground
#60533edarkolivegreen
#60533edarkolivegreen
Destructive
#942f00saddlebrown
#ff661ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ede4e3linen
#ede4e3linen

Contrast

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

Light mode
Text on background20.30:1AAA
Text on card20.30:1AAA
Primary button7.23:1AAA
Secondary button7.31:1AAA
Muted text5.86:1AA
Accent6.19:1AA
Destructive7.89:1AAA
Dark mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button7.23:1AAA
Secondary button7.31:1AAA
Muted text6.92:1AA
Accent6.19:1AA
Destructive7.15:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.122 0.019 30.506);
  --muted: oklch(0.921 0.005 350.774);
  --muted-foreground: oklch(0.454 0.023 352.034);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.122 0.019 30.506);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.122 0.019 30.506);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.926 0.01 25.08);
  --primary-foreground: oklch(0.41 0.044 26.233);
  --secondary: oklch(0.925 0.012 350.994);
  --secondary-foreground: oklch(0.408 0.053 354.058);
  --accent: oklch(0.936 0.009 78.28);
  --accent-foreground: oklch(0.449 0.037 77.649);
  --destructive: oklch(0.452 0.144 39.316);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.01 25.08);
  --chart-1: oklch(0.926 0.01 25.08);
  --chart-2: oklch(0.925 0.012 350.994);
  --chart-3: oklch(0.936 0.009 78.28);
  --chart-4: oklch(0.95 0.008 350.863);
  --chart-5: oklch(0.925 0.011 25.093);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.017 29.724);
  --foreground: oklch(0.992 0.001 25.002);
  --muted: oklch(0.212 0.007 351.557);
  --muted-foreground: oklch(0.714 0.021 351.431);
  --popover: oklch(0.123 0.017 29.724);
  --popover-foreground: oklch(0.992 0.001 25.002);
  --card: oklch(0.123 0.017 29.724);
  --card-foreground: oklch(0.992 0.001 25.002);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.926 0.01 25.08);
  --primary-foreground: oklch(0.41 0.044 26.233);
  --secondary: oklch(0.925 0.012 350.994);
  --secondary-foreground: oklch(0.408 0.053 354.058);
  --accent: oklch(0.936 0.009 78.28);
  --accent-foreground: oklch(0.449 0.037 77.649);
  --destructive: oklch(0.696 0.201 41.115);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.926 0.01 25.08);
  --chart-1: oklch(0.926 0.01 25.08);
  --chart-2: oklch(0.925 0.012 350.994);
  --chart-3: oklch(0.936 0.009 78.28);
  --chart-4: oklch(0.95 0.008 350.863);
  --chart-5: oklch(0.925 0.011 25.093);
}