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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 5.37:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 7.57:1 | AAA |
| Accent | 7.41:1 | AAA |
| Destructive | 3.87:1 | AA Large |
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);
}