Causeway for shadcn/ui

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

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#05090bblack
Foreground
#010404black
#f8fbfbghostwhite
Card
#f8fbfcghostwhite
#05090bblack
Card foreground
#010404black
#f8fbfbghostwhite
Popover
#f8fbfcghostwhite
#05090bblack
Popover foreground
#010404black
#f8fbfbghostwhite
Primary
#dde6e9gainsboro
#dde6e9gainsboro
Primary foreground
#3b5359darkslategray
#3b5359darkslategray
Secondary
#dde9e5gainsboro
#dde9e5gainsboro
Secondary foreground
#3b5950darkslategray
#3b5950darkslategray
Muted
#d6dbdagainsboro
#242927darkslategray
Muted foreground
#42524ddarkslategray
#adbdb8silver
Accent
#dde1e9gainsboro
#dde1e9gainsboro
Accent foreground
#3b4459darkslategray
#3b4459darkslategray
Destructive
#d21c04firebrick
#fa2b0forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dde6e9gainsboro
#dde6e9gainsboro

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button6.46:1AA
Secondary button6.16:1AA
Muted text5.91:1AA
Accent7.41:1AAA
Destructive5.37:1AA
Dark mode
Text on background19.19:1AAA
Text on card19.19:1AAA
Primary button6.46:1AA
Secondary button6.16:1AA
Muted text7.57:1AAA
Accent7.41:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 214.325);
  --foreground: oklch(0.096 0.011 209.71);
  --muted: oklch(0.888 0.006 176.455);
  --muted-foreground: oklch(0.423 0.022 175.057);
  --popover: oklch(0.986 0.003 214.325);
  --popover-foreground: oklch(0.096 0.011 209.71);
  --card: oklch(0.986 0.003 214.325);
  --card-foreground: oklch(0.096 0.011 209.71);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.92 0.01 214.348);
  --primary-foreground: oklch(0.425 0.03 214.867);
  --secondary: oklch(0.923 0.013 176.251);
  --secondary-foreground: oklch(0.437 0.038 173.774);
  --accent: oklch(0.909 0.011 267.345);
  --accent-foreground: oklch(0.387 0.037 266.608);
  --destructive: oklch(0.551 0.214 30.723);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.01 214.348);
  --chart-1: oklch(0.92 0.01 214.348);
  --chart-2: oklch(0.923 0.013 176.251);
  --chart-3: oklch(0.909 0.011 267.345);
  --chart-4: oklch(0.944 0.009 176.371);
  --chart-5: oklch(0.92 0.012 214.354);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.01 211.427);
  --foreground: oklch(0.986 0.003 214.324);
  --muted: oklch(0.275 0.008 175.766);
  --muted-foreground: oklch(0.785 0.019 175.931);
  --popover: oklch(0.136 0.01 211.427);
  --popover-foreground: oklch(0.986 0.003 214.324);
  --card: oklch(0.136 0.01 211.427);
  --card-foreground: oklch(0.986 0.003 214.324);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.92 0.01 214.348);
  --primary-foreground: oklch(0.425 0.03 214.867);
  --secondary: oklch(0.923 0.013 176.251);
  --secondary-foreground: oklch(0.437 0.038 173.774);
  --accent: oklch(0.909 0.011 267.345);
  --accent-foreground: oklch(0.387 0.037 266.608);
  --destructive: oklch(0.633 0.241 30.843);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.01 214.348);
  --chart-1: oklch(0.92 0.01 214.348);
  --chart-2: oklch(0.923 0.013 176.251);
  --chart-3: oklch(0.909 0.011 267.345);
  --chart-4: oklch(0.944 0.009 176.371);
  --chart-5: oklch(0.92 0.012 214.354);
}