Parallel is a shadcn/ui theme built around a deep pink primary color (#37152b) with deep red accents (#37151a). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#37152b) on a pink-tinted background (#10040c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #10040cblack |
| Foreground | #17030fblack | #fcf8fasnow |
| Card | #faf4f8whitesmoke | #14050fblack |
| Card foreground | #12020cblack | #fdfbfdsnow |
| Popover | #fcf8fasnow | #10040cblack |
| Popover foreground | #17030fblack | #fcf8fasnow |
| Primary | #37152bdarkslategray | #37152bdarkslategray |
| Primary foreground | #dca3c7plum | #dca3c7plum |
| Secondary | #331537midnightblue | #331537midnightblue |
| Secondary foreground | #d4a3dcplum | #d4a3dcplum |
| Muted | #e2cce5gainsboro | #301a33darkslategray |
| Muted foreground | #5a465ddimgray | #b6a2b9darkgray |
| Accent | #37151ablack | #37151ablack |
| Accent foreground | #dca3aatan | #dca3aatan |
| Destructive | #7a2101maroon | #e93f01orangered |
| Destructive foreground | #ffc3aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #37152bdarkslategray | #37152bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Parallel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 338.842);
--foreground: oklch(0.146 0.047 342.95);
--muted: oklch(0.871 0.042 321.723);
--muted-foreground: oklch(0.424 0.045 321.87);
--popover: oklch(0.983 0.006 338.842);
--popover-foreground: oklch(0.146 0.047 342.95);
--card: oklch(0.974 0.008 338.906);
--card-foreground: oklch(0.133 0.042 341.659);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.257 0.063 343.657);
--primary-foreground: oklch(0.779 0.082 340.858);
--secondary: oklch(0.257 0.073 322.141);
--secondary-foreground: oklch(0.779 0.096 321.912);
--accent: oklch(0.25 0.055 13.65);
--accent-foreground: oklch(0.77 0.069 9.926);
--destructive: oklch(0.388 0.128 37.243);
--destructive-foreground: oklch(0.866 0.074 40.886);
--ring: oklch(0.257 0.063 343.657);
--chart-1: oklch(0.257 0.063 343.657);
--chart-2: oklch(0.257 0.073 322.141);
--chart-3: oklch(0.25 0.055 13.65);
--chart-4: oklch(0.286 0.084 322.143);
--chart-5: oklch(0.257 0.067 343.977);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.03 341.036);
--foreground: oklch(0.983 0.005 338.836);
--muted: oklch(0.257 0.055 322.078);
--muted-foreground: oklch(0.736 0.039 321.738);
--popover: oklch(0.136 0.03 341.036);
--popover-foreground: oklch(0.983 0.005 338.836);
--card: oklch(0.148 0.034 342.212);
--card-foreground: oklch(0.991 0.003 338.777);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.257 0.063 343.657);
--primary-foreground: oklch(0.779 0.082 340.858);
--secondary: oklch(0.257 0.073 322.141);
--secondary-foreground: oklch(0.779 0.096 321.912);
--accent: oklch(0.25 0.055 13.65);
--accent-foreground: oklch(0.77 0.069 9.926);
--destructive: oklch(0.618 0.214 35.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.063 343.657);
--chart-1: oklch(0.257 0.063 343.657);
--chart-2: oklch(0.257 0.073 322.141);
--chart-3: oklch(0.25 0.055 13.65);
--chart-4: oklch(0.286 0.084 322.143);
--chart-5: oklch(0.257 0.067 343.977);
}