Journey is a shadcn/ui theme built around a vivid red primary color (#f38ca0) with vivid teal accents (#8cf3de). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#f38ca0) on a red-tinted background (#0b0506).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0b0506black |
| Foreground | #090103black | #fdfbfcsnow |
| Card | #fefbfbsnow | #0b0506black |
| Card foreground | #090103black | #fdfbfcsnow |
| Popover | #fefbfbsnow | #0b0506black |
| Popover foreground | #090103black | #fdfbfcsnow |
| Primary | #f38ca0lightcoral | #f38ca0lightcoral |
| Primary foreground | #450714maroon | #450714maroon |
| Secondary | #8cf3deaquamarine | #8cf3deaquamarine |
| Secondary foreground | #074539darkslategray | #074539darkslategray |
| Muted | #cce5e0gainsboro | #1a332edarkslategray |
| Muted foreground | #3d4d4adarkslategray | #b2c2bfsilver |
| Accent | #8cf3deaquamarine | #8cf3deaquamarine |
| Accent foreground | #074539darkslategray | #074539darkslategray |
| Destructive | #8e3810saddlebrown | #e65a1achocolate |
| Destructive foreground | #fae1d6antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f38ca0lightcoral | #f38ca0lightcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 6.16:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.31:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Journey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 3.288);
--foreground: oklch(0.101 0.025 3.565);
--muted: oklch(0.903 0.028 182.331);
--muted-foreground: oklch(0.405 0.022 181.654);
--popover: oklch(0.99 0.004 3.288);
--popover-foreground: oklch(0.101 0.025 3.565);
--card: oklch(0.99 0.004 3.288);
--card-foreground: oklch(0.101 0.025 3.565);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.754 0.127 7.728);
--primary-foreground: oklch(0.257 0.091 15.945);
--secondary: oklch(0.895 0.102 179.476);
--secondary-foreground: oklch(0.351 0.063 174.956);
--accent: oklch(0.895 0.102 179.476);
--accent-foreground: oklch(0.351 0.063 174.956);
--destructive: oklch(0.455 0.127 41.714);
--destructive-foreground: oklch(0.928 0.032 46.5);
--ring: oklch(0.754 0.127 7.728);
--chart-1: oklch(0.754 0.127 7.728);
--chart-2: oklch(0.895 0.102 179.476);
--chart-3: oklch(0.895 0.102 179.476);
--chart-4: oklch(0.906 0.091 180.01);
--chart-5: oklch(0.753 0.132 7.922);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.014 3.37);
--foreground: oklch(0.991 0.002 3.245);
--muted: oklch(0.298 0.033 179.616);
--muted-foreground: oklch(0.802 0.019 182.538);
--popover: oklch(0.124 0.014 3.37);
--popover-foreground: oklch(0.991 0.002 3.245);
--card: oklch(0.124 0.014 3.37);
--card-foreground: oklch(0.991 0.002 3.245);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.754 0.127 7.728);
--primary-foreground: oklch(0.257 0.091 15.945);
--secondary: oklch(0.895 0.102 179.476);
--secondary-foreground: oklch(0.351 0.063 174.956);
--accent: oklch(0.895 0.102 179.476);
--accent-foreground: oklch(0.351 0.063 174.956);
--destructive: oklch(0.642 0.187 41.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.754 0.127 7.728);
--chart-1: oklch(0.754 0.127 7.728);
--chart-2: oklch(0.895 0.102 179.476);
--chart-3: oklch(0.895 0.102 179.476);
--chart-4: oklch(0.906 0.091 180.01);
--chart-5: oklch(0.753 0.132 7.922);
}