Potable for shadcn/ui

Potable is a shadcn/ui theme built around a light cyan primary color (#d1dfe6) with muted cyan accents (#abb9bf). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the light cyan primary (#d1dfe6) on a cyan-tinted background (#05090a).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#05090ablack
Foreground
#020d12black
#f6f8f9whitesmoke
Card
#f8fbfcghostwhite
#05090ablack
Card foreground
#020d12black
#f6f8f9whitesmoke
Popover
#f8fbfcghostwhite
#05090ablack
Popover foreground
#020d12black
#f6f8f9whitesmoke
Primary
#d1dfe6gainsboro
#d1dfe6gainsboro
Primary foreground
#2e4a56darkslategray
#2e4a56darkslategray
Secondary
#cbd0d2lightgrey
#2b2b2bdarkslategray
Secondary foreground
#323739darkslategray
#c4c4c4silver
Muted
#e0ebf0lavender
#1f0f0fblack
Muted foreground
#404a4fdarkslategray
#bfb0b0silver
Accent
#abb9bfsilver
#494141darkslategray
Accent foreground
#181d20black
#e0dcdcgainsboro
Destructive
#810e0emaroon
#e72727crimson
Destructive foreground
#f9c8c8pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1dfe6gainsboro
#d1dfe6gainsboro

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button6.91:1AA
Secondary button7.73:1AAA
Muted text7.49:1AAA
Accent8.42:1AAA
Destructive7.07:1AAA
Dark mode
Text on background18.80:1AAA
Text on card18.80:1AAA
Primary button6.91:1AA
Secondary button8.07:1AAA
Muted text8.87:1AAA
Accent7.32:1AAA
Destructive4.44:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 226.898);
  --foreground: oklch(0.15 0.022 224.602);
  --muted: oklch(0.933 0.014 227.046);
  --muted-foreground: oklch(0.402 0.015 227.366);
  --popover: oklch(0.985 0.003 226.898);
  --popover-foreground: oklch(0.15 0.022 224.602);
  --card: oklch(0.985 0.003 226.898);
  --card-foreground: oklch(0.15 0.022 224.602);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.895 0.018 227.12);
  --primary-foreground: oklch(0.391 0.039 228.821);
  --secondary: oklch(0.854 0.006 226.942);
  --secondary-foreground: oklch(0.333 0.008 227.18);
  --accent: oklch(0.776 0.018 227.165);
  --accent-foreground: oklch(0.228 0.009 227.435);
  --destructive: oklch(0.386 0.147 27.727);
  --destructive-foreground: oklch(0.875 0.056 18.274);
  --ring: oklch(0.895 0.018 227.12);
  --chart-1: oklch(0.895 0.018 227.12);
  --chart-2: oklch(0.854 0.006 226.942);
  --chart-3: oklch(0.776 0.018 227.165);
  --chart-4: oklch(0.877 0.005 226.926);
  --chart-5: oklch(0.896 0.02 227.149);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.008 223.421);
  --foreground: oklch(0.978 0.002 226.886);
  --muted: oklch(0.191 0.028 20.014);
  --muted-foreground: oklch(0.771 0.016 17.514);
  --popover: oklch(0.133 0.008 223.421);
  --popover-foreground: oklch(0.978 0.002 226.886);
  --card: oklch(0.133 0.008 223.421);
  --card-foreground: oklch(0.978 0.002 226.886);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.895 0.018 227.12);
  --primary-foreground: oklch(0.391 0.039 228.821);
  --secondary: oklch(0.29 0 180);
  --secondary-foreground: oklch(0.821 0 171.87);
  --accent: oklch(0.383 0.011 17.66);
  --accent-foreground: oklch(0.897 0.004 17.238);
  --destructive: oklch(0.598 0.224 27.409);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.895 0.018 227.12);
  --chart-1: oklch(0.895 0.018 227.12);
  --chart-2: oklch(0.29 0 180);
  --chart-3: oklch(0.383 0.011 17.66);
  --chart-4: oklch(0.321 0 180);
  --chart-5: oklch(0.896 0.02 227.149);
}