Remote for shadcn/ui

Remote is a shadcn/ui theme built around a muted deep violet primary color (#0a080d) with muted light violet accents (#c4bcd2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep violet primary (#0a080d) on a neutral background (#050308).

Color palette

TokenLightDark
Background
#ffffffwhite
#050308black
Foreground
#090510black
#f7f6f9whitesmoke
Card
#ffffffwhite
#050308black
Card foreground
#090510black
#f7f6f9whitesmoke
Popover
#ffffffwhite
#050308black
Popover foreground
#090510black
#f7f6f9whitesmoke
Primary
#0a080dblack
#0a080dblack
Primary foreground
#9e8eb8darkgray
#9e8eb8darkgray
Secondary
#dad7dfgainsboro
#272131darkslategray
Secondary foreground
#413b4adarkslategray
#bfb6cdsilver
Muted
#d8cfe7gainsboro
#211830black
Muted foreground
#454545darkslategray
#bababasilver
Accent
#c4bcd2silver
#3c304fdarkslategray
Accent foreground
#2c2537darkslategray
#d7d0e2gainsboro
Destructive
#c02b02firebrick
#fd4917orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0a080dblack
#0a080dblack

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button6.66:1AA
Secondary button7.60:1AAA
Muted text6.40:1AA
Accent8.02:1AAA
Destructive5.85:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button6.66:1AA
Secondary button8.00:1AAA
Muted text8.77:1AAA
Accent8.06:1AAA
Destructive3.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.026 303.041);
  --muted: oklch(0.87 0.035 303.052);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.026 303.041);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.129 0.026 303.041);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.139 0.011 303.317);
  --primary-foreground: oklch(0.676 0.064 302.231);
  --secondary: oklch(0.885 0.011 303.454);
  --secondary-foreground: oklch(0.364 0.026 302.588);
  --accent: oklch(0.808 0.033 303.045);
  --accent-foreground: oklch(0.28 0.034 301.781);
  --destructive: oklch(0.527 0.19 33.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.139 0.011 303.317);
  --chart-1: oklch(0.139 0.011 303.317);
  --chart-2: oklch(0.885 0.011 303.454);
  --chart-3: oklch(0.808 0.033 303.045);
  --chart-4: oklch(0.91 0.009 303.498);
  --chart-5: oklch(0.138 0.012 303.287);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.019 304.435);
  --foreground: oklch(0.974 0.005 303.569);
  --muted: oklch(0.231 0.047 300.444);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0.103 0.019 304.435);
  --popover-foreground: oklch(0.974 0.005 303.569);
  --card: oklch(0.103 0.019 304.435);
  --card-foreground: oklch(0.974 0.005 303.569);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.139 0.011 303.317);
  --primary-foreground: oklch(0.676 0.064 302.231);
  --secondary: oklch(0.262 0.03 301.939);
  --secondary-foreground: oklch(0.791 0.034 303.006);
  --accent: oklch(0.338 0.054 301.167);
  --accent-foreground: oklch(0.867 0.026 303.194);
  --destructive: oklch(0.66 0.223 34.712);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.139 0.011 303.317);
  --chart-1: oklch(0.139 0.011 303.317);
  --chart-2: oklch(0.262 0.03 301.939);
  --chart-3: oklch(0.338 0.054 301.167);
  --chart-4: oklch(0.29 0.034 301.86);
  --chart-5: oklch(0.138 0.012 303.287);
}