Armchair for shadcn/ui

Armchair is a shadcn/ui theme built around a vivid cyan primary color (#06a3b1) with vivid blue accents (#064eb1). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid cyan primary (#06a3b1) on a neutral background (#040607).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#040607black
Foreground
#010404black
#fcfdfdwhite
Card
#f8fcfcmintcream
#050a0ablack
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfcmintcream
#050a0ablack
Popover foreground
#000000black
#ffffffwhite
Primary
#06a3b1lightseagreen
#06a3b1lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#06b16adarkcyan
#06b16adarkcyan
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4e7e6gainsboro
#181b1ablack
Muted foreground
#394c44darkslategray
#b3c6besilver
Accent
#064eb1teal
#064eb1teal
Accent foreground
#ebf3fealiceblue
#ebf3fealiceblue
Destructive
#920c02darkred
#ec1304red
Destructive foreground
#fecbc8pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#06a3b1lightseagreen
#06a3b1lightseagreen

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.26:1AAA
Primary button3.05:1AA Large
Secondary button2.79:1Fail
Muted text7.36:1AAA
Accent6.90:1AA
Destructive6.43:1AA
Dark mode
Text on background19.90:1AAA
Text on card19.94:1AAA
Primary button3.05:1AA Large
Secondary button2.79:1Fail
Muted text9.69:1AAA
Accent6.90:1AA
Destructive4.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 203.562);
  --foreground: oklch(0.099 0.012 200.879);
  --muted: oklch(0.925 0.004 169.557);
  --muted-foreground: oklch(0.397 0.027 167.596);
  --popover: oklch(0.987 0.004 203.543);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.987 0.004 203.543);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.653 0.111 205.852);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.67 0.161 156.238);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.449 0.171 259.379);
  --accent-foreground: oklch(0.962 0.017 256.717);
  --destructive: oklch(0.419 0.165 30.078);
  --destructive-foreground: oklch(0.887 0.058 23.061);
  --ring: oklch(0.653 0.111 205.852);
  --chart-1: oklch(0.653 0.111 205.852);
  --chart-2: oklch(0.67 0.161 156.238);
  --chart-3: oklch(0.449 0.171 259.379);
  --chart-4: oklch(0.711 0.171 156.122);
  --chart-5: oklch(0.66 0.112 206.019);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.007 202.094);
  --foreground: oklch(0.993 0.001 203.574);
  --muted: oklch(0.218 0.005 168.974);
  --muted-foreground: oklch(0.81 0.023 168.847);
  --popover: oklch(0.137 0.008 202.094);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.008 202.094);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.653 0.111 205.852);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.67 0.161 156.238);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.449 0.171 259.379);
  --accent-foreground: oklch(0.962 0.017 256.717);
  --destructive: oklch(0.597 0.239 29.783);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.653 0.111 205.852);
  --chart-1: oklch(0.653 0.111 205.852);
  --chart-2: oklch(0.67 0.161 156.238);
  --chart-3: oklch(0.449 0.171 259.379);
  --chart-4: oklch(0.711 0.171 156.122);
  --chart-5: oklch(0.66 0.112 206.019);
}