Minute for shadcn/ui

Minute is a shadcn/ui theme built around a muted red primary color (#c9a6ac) with muted blue accents (#a6acc9). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted red primary (#c9a6ac) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfbsnow
#000000black
Foreground
#090203black
#fbf8f9snow
Card
#fdf7f8snow
#030303black
Card foreground
#040101black
#fdfcfcsnow
Popover
#fefbfbsnow
#000000black
Popover foreground
#090203black
#fbf8f9snow
Primary
#c9a6acdarkgray
#c9a6acdarkgray
Primary foreground
#26171ablack
#26171ablack
Secondary
#acc9a6darkgray
#acc9a6darkgray
Secondary foreground
#192617black
#192617black
Muted
#d3e2d0lightgrey
#202f1ddarkslategray
Muted foreground
#4d5e4adarkolivegreen
#a4b5a1darkgray
Accent
#a6acc9darkgray
#a6acc9darkgray
Accent foreground
#171a26black
#171a26black
Destructive
#860d09darkred
#f02f28crimson
Destructive foreground
#fbc8c6pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c9a6acdarkgray
#c9a6acdarkgray

Contrast

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

Light mode
Text on background19.96:1AAA
Text on card19.61:1AAA
Primary button7.80:1AAA
Secondary button8.78:1AAA
Muted text5.14:1AA
Accent7.70:1AAA
Destructive6.85:1AA
Dark mode
Text on background19.89:1AAA
Text on card20.19:1AAA
Primary button7.80:1AAA
Secondary button8.78:1AAA
Muted text6.51:1AA
Accent7.70:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 5.537);
  --foreground: oklch(0.102 0.023 6.222);
  --muted: oklch(0.896 0.028 140.483);
  --muted-foreground: oklch(0.462 0.038 140.41);
  --popover: oklch(0.99 0.003 5.537);
  --popover-foreground: oklch(0.102 0.023 6.222);
  --card: oklch(0.981 0.007 5.628);
  --card-foreground: oklch(0.081 0.018 6.222);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.758 0.043 6.881);
  --primary-foreground: oklch(0.226 0.025 8.306);
  --secondary: oklch(0.806 0.059 140.422);
  --secondary-foreground: oklch(0.253 0.033 140.357);
  --accent: oklch(0.749 0.043 276.39);
  --accent-foreground: oklch(0.219 0.025 275.38);
  --destructive: oklch(0.395 0.153 28.908);
  --destructive-foreground: oklch(0.876 0.059 20.641);
  --ring: oklch(0.758 0.043 6.881);
  --chart-1: oklch(0.758 0.043 6.881);
  --chart-2: oklch(0.806 0.059 140.422);
  --chart-3: oklch(0.749 0.043 276.39);
  --chart-4: oklch(0.827 0.052 140.436);
  --chart-5: oklch(0.756 0.048 7.064);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.003 5.534);
  --muted: oklch(0.286 0.037 140.358);
  --muted-foreground: oklch(0.754 0.034 140.462);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.983 0.003 5.534);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.991 0.002 5.491);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.758 0.043 6.881);
  --primary-foreground: oklch(0.226 0.025 8.306);
  --secondary: oklch(0.806 0.059 140.422);
  --secondary-foreground: oklch(0.253 0.033 140.357);
  --accent: oklch(0.749 0.043 276.39);
  --accent-foreground: oklch(0.219 0.025 275.38);
  --destructive: oklch(0.619 0.227 28.285);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.758 0.043 6.881);
  --chart-1: oklch(0.758 0.043 6.881);
  --chart-2: oklch(0.806 0.059 140.422);
  --chart-3: oklch(0.749 0.043 276.39);
  --chart-4: oklch(0.827 0.052 140.436);
  --chart-5: oklch(0.756 0.048 7.064);
}