Arm-rest for shadcn/ui

Arm-rest is a shadcn/ui theme built around a light cyan primary color (#cceff5) with neutral gray accents (#e3e3e3). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#cceff5) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#fbfdfewhite
#030707black
Foreground
#010404black
#f9fafaghostwhite
Card
#fbfdfewhite
#030707black
Card foreground
#010404black
#f9fafaghostwhite
Popover
#fbfdfewhite
#030707black
Popover foreground
#010404black
#f9fafaghostwhite
Primary
#cceff5lightcyan
#cceff5lightcyan
Primary foreground
#071e22black
#071e22black
Secondary
#e3e3e3gainsboro
#1f2c2edarkslategray
Secondary foreground
#494a4bdarkslategray
#b3c8cbsilver
Muted
#ebeff0whitesmoke
#0f1414black
Muted foreground
#597073dimgray
#8ca3a6darkgray
Accent
#e3e3e3gainsboro
#1f2c2edarkslategray
Accent foreground
#494a4bdarkslategray
#b3c8cbsilver
Destructive
#83210bmaroon
#ee5b3atomato
Destructive foreground
#fad0c7pink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cceff5lightcyan
#cceff5lightcyan

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button14.18:1AAA
Secondary button6.92:1AA
Muted text4.54:1AA
Accent6.92:1AA
Destructive6.78:1AA
Dark mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button14.18:1AAA
Secondary button8.29:1AAA
Muted text7.00:1AAA
Accent8.29:1AAA
Destructive6.18:1AA

CSS variables

Paste this into your globals.css to use Arm-rest in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 207.924);
  --foreground: oklch(0.097 0.009 205.011);
  --muted: oklch(0.949 0.005 207.912);
  --muted-foreground: oklch(0.527 0.028 207.848);
  --popover: oklch(0.993 0.002 207.924);
  --popover-foreground: oklch(0.097 0.009 205.011);
  --card: oklch(0.993 0.002 207.924);
  --card-foreground: oklch(0.097 0.009 205.011);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.038 207.836);
  --primary-foreground: oklch(0.22 0.03 208.905);
  --secondary: oklch(0.916 0.001 207.931);
  --secondary-foreground: oklch(0.41 0.002 207.915);
  --accent: oklch(0.916 0.001 207.931);
  --accent-foreground: oklch(0.41 0.002 207.915);
  --destructive: oklch(0.407 0.136 33.651);
  --destructive-foreground: oklch(0.891 0.049 32.782);
  --ring: oklch(0.93 0.038 207.836);
  --chart-1: oklch(0.93 0.038 207.836);
  --chart-2: oklch(0.916 0.001 207.931);
  --chart-3: oklch(0.916 0.001 207.931);
  --chart-4: oklch(0.939 0 207.932);
  --chart-5: oklch(0.931 0.039 207.836);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.01 205.333);
  --foreground: oklch(0.985 0.001 207.929);
  --muted: oklch(0.185 0.007 207.836);
  --muted-foreground: oklch(0.698 0.026 207.836);
  --popover: oklch(0.121 0.01 205.333);
  --popover-foreground: oklch(0.985 0.001 207.929);
  --card: oklch(0.121 0.01 205.333);
  --card-foreground: oklch(0.985 0.001 207.929);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.93 0.038 207.836);
  --primary-foreground: oklch(0.22 0.03 208.905);
  --secondary: oklch(0.281 0.018 207.877);
  --secondary-foreground: oklch(0.818 0.023 207.844);
  --accent: oklch(0.281 0.018 207.877);
  --accent-foreground: oklch(0.818 0.023 207.844);
  --destructive: oklch(0.659 0.188 34.145);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.93 0.038 207.836);
  --chart-1: oklch(0.93 0.038 207.836);
  --chart-2: oklch(0.281 0.018 207.877);
  --chart-3: oklch(0.281 0.018 207.877);
  --chart-4: oklch(0.314 0.02 207.887);
  --chart-5: oklch(0.931 0.039 207.836);
}