Remote for shadcn/ui

Remote is a shadcn/ui theme built around a light violet primary color (#beb4d9) with light green accents (#d0d9b4). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#beb4d9) on a violet-tinted background (#06040c).

Color palette

TokenLightDark
Background
#fcfbfewhite
#06040cblack
Foreground
#05030cblack
#f9f8fcghostwhite
Card
#f9f7fcghostwhite
#08050fblack
Card foreground
#040208black
#fcfcfdwhite
Popover
#fcfbfewhite
#06040cblack
Popover foreground
#05030cblack
#f9f8fcghostwhite
Primary
#beb4d9lightsteelblue
#beb4d9lightsteelblue
Primary foreground
#271f3ddarkslategray
#271f3ddarkslategray
Secondary
#d0d9b4lightgrey
#d0d9b4lightgrey
Secondary foreground
#353d1fdarkslategray
#353d1fdarkslategray
Muted
#f3f3f1whitesmoke
#0d0e0cblack
Muted foreground
#666765dimgray
#999a98darkgray
Accent
#d0d9b4lightgrey
#d0d9b4lightgrey
Accent foreground
#353d1fdarkslategray
#353d1fdarkslategray
Destructive
#5f1b07maroon
#ea4310orangered
Destructive foreground
#f8b4a0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#beb4d9lightsteelblue
#beb4d9lightsteelblue

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.44:1AAA
Primary button7.97:1AAA
Secondary button7.77:1AAA
Muted text5.12:1AA
Accent7.77:1AAA
Destructive7.27:1AAA
Dark mode
Text on background19.30:1AAA
Text on card19.71:1AAA
Primary button7.97:1AAA
Secondary button7.77:1AAA
Muted text6.84:1AA
Accent7.77:1AAA
Destructive3.96:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 298.507);
  --foreground: oklch(0.11 0.028 298.117);
  --muted: oklch(0.964 0.003 118.623);
  --muted-foreground: oklch(0.513 0.003 118.676);
  --popover: oklch(0.99 0.003 298.507);
  --popover-foreground: oklch(0.11 0.028 298.117);
  --card: oklch(0.98 0.007 298.446);
  --card-foreground: oklch(0.096 0.024 298.396);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.791 0.053 297.387);
  --primary-foreground: oklch(0.264 0.056 294.535);
  --secondary: oklch(0.869 0.051 119.593);
  --secondary-foreground: oklch(0.344 0.05 121.279);
  --accent: oklch(0.869 0.051 119.593);
  --accent-foreground: oklch(0.344 0.05 121.279);
  --destructive: oklch(0.331 0.103 36.463);
  --destructive-foreground: oklch(0.829 0.085 37.62);
  --ring: oklch(0.791 0.053 297.387);
  --chart-1: oklch(0.791 0.053 297.387);
  --chart-2: oklch(0.869 0.051 119.593);
  --chart-3: oklch(0.869 0.051 119.593);
  --chart-4: oklch(0.887 0.044 119.431);
  --chart-5: oklch(0.788 0.058 297.271);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.022 298.317);
  --foreground: oklch(0.981 0.005 298.486);
  --muted: oklch(0.162 0.005 119.089);
  --muted-foreground: oklch(0.685 0.003 118.643);
  --popover: oklch(0.115 0.022 298.317);
  --popover-foreground: oklch(0.981 0.005 298.486);
  --card: oklch(0.127 0.026 297.295);
  --card-foreground: oklch(0.991 0.002 298.526);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.791 0.053 297.387);
  --primary-foreground: oklch(0.264 0.056 294.535);
  --secondary: oklch(0.869 0.051 119.593);
  --secondary-foreground: oklch(0.344 0.05 121.279);
  --accent: oklch(0.869 0.051 119.593);
  --accent-foreground: oklch(0.344 0.05 121.279);
  --destructive: oklch(0.623 0.21 35.217);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.053 297.387);
  --chart-1: oklch(0.791 0.053 297.387);
  --chart-2: oklch(0.869 0.051 119.593);
  --chart-3: oklch(0.869 0.051 119.593);
  --chart-4: oklch(0.887 0.044 119.431);
  --chart-5: oklch(0.788 0.058 297.271);
}