Journey is a shadcn/ui theme built around a neutral gray primary color (#626459) with neutral gray accents (#5c6459). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#626459) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0d0f05black | #f8f9f6whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0a0c04black | #fbfbf9snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0d0f05black | #f8f9f6whitesmoke |
| Primary | #626459dimgray | #626459dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #646059dimgray | #646059dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dedbd3gainsboro | #2c2821darkslategray |
| Muted foreground | #5b5a57dimgray | #a8a6a4darkgray |
| Accent | #5c6459dimgray | #5c6459dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8b2d0esaddlebrown | #eb6437tomato |
| Destructive foreground | #fadbd1bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #626459dimgray | #626459dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 4.98:1 | AA |
| Accent | 6.13:1 | AA |
| Destructive | 6.48:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 6.02:1 | AA |
| Accent | 6.13:1 | AA |
| Destructive | 6.43:1 | AA |
Paste this into your globals.css to use Journey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.164 0.022 116.659);
--muted: oklch(0.892 0.011 86.053);
--muted-foreground: oklch(0.467 0.004 86.04);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.164 0.022 116.659);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.147 0.019 115.719);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.498 0.018 115.48);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.491 0.013 86.084);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.493 0.02 135.607);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.435 0.134 37.158);
--destructive-foreground: oklch(0.915 0.038 39.309);
--ring: oklch(0.498 0.018 115.48);
--chart-1: oklch(0.498 0.018 115.48);
--chart-2: oklch(0.491 0.013 86.084);
--chart-3: oklch(0.493 0.02 135.607);
--chart-4: oklch(0.519 0.014 86.085);
--chart-5: oklch(0.505 0.026 115.786);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.004 114.908);
--muted: oklch(0.28 0.015 86.082);
--muted-foreground: oklch(0.727 0.004 86.027);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.004 114.908);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.003 114.879);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.498 0.018 115.48);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.491 0.013 86.084);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.493 0.02 135.607);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.667 0.177 38.341);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.498 0.018 115.48);
--chart-1: oklch(0.498 0.018 115.48);
--chart-2: oklch(0.491 0.013 86.084);
--chart-3: oklch(0.493 0.02 135.607);
--chart-4: oklch(0.519 0.014 86.085);
--chart-5: oklch(0.505 0.026 115.786);
}