Parallel is a shadcn/ui theme built around a vivid deep blue primary color (#06154b) with vivid deep yellow accents (#4b3c06). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#06154b) on a blue-tinted background (#03050c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03050cblack |
| Foreground | #010204black | #f8f9fcghostwhite |
| Card | #fcfcfcsnow | #040710black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #040710black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #06154bmidnightblue | #06154bmidnightblue |
| Primary foreground | #8ea4f6lightskyblue | #8ea4f6lightskyblue |
| Secondary | #4b3c06darkolivegreen | #4b3c06darkolivegreen |
| Secondary foreground | #eec52fgoldenrod | #eec52fgoldenrod |
| Muted | #f4f1e6linen | #19160bblack |
| Muted foreground | #67665fdimgray | #a09e98darkgray |
| Accent | #4b3c06darkolivegreen | #4b3c06darkolivegreen |
| Accent foreground | #eec52fgoldenrod | #eec52fgoldenrod |
| Destructive | #cc1d14firebrick | #ed4e45tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #06154bmidnightblue | #06154bmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.45:1 | AA |
| Muted text | 5.10:1 | AA |
| Accent | 6.45:1 | AA |
| Destructive | 5.58:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.45:1 | AA |
| Muted text | 6.75:1 | AA |
| Accent | 6.45:1 | AA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Parallel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.012 267.056);
--muted: oklch(0.958 0.015 94.031);
--muted-foreground: oklch(0.509 0.01 94.066);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.229 0.102 265.746);
--primary-foreground: oklch(0.735 0.121 271.394);
--secondary: oklch(0.364 0.07 91.929);
--secondary-foreground: oklch(0.836 0.159 92.118);
--accent: oklch(0.364 0.07 91.929);
--accent-foreground: oklch(0.836 0.159 92.118);
--destructive: oklch(0.542 0.208 29.259);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.102 265.746);
--chart-1: oklch(0.229 0.102 265.746);
--chart-2: oklch(0.364 0.07 91.929);
--chart-3: oklch(0.364 0.07 91.929);
--chart-4: oklch(0.408 0.08 91.57);
--chart-5: oklch(0.228 0.105 265.311);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.019 266.715);
--foreground: oklch(0.982 0.003 273.825);
--muted: oklch(0.2 0.021 94.486);
--muted-foreground: oklch(0.698 0.009 94.004);
--popover: oklch(0.13 0.022 267.623);
--popover-foreground: oklch(0.991 0.002 273.845);
--card: oklch(0.13 0.022 267.623);
--card-foreground: oklch(0.991 0.002 273.845);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.229 0.102 265.746);
--primary-foreground: oklch(0.735 0.121 271.394);
--secondary: oklch(0.364 0.07 91.929);
--secondary-foreground: oklch(0.836 0.159 92.118);
--accent: oklch(0.364 0.07 91.929);
--accent-foreground: oklch(0.836 0.159 92.118);
--destructive: oklch(0.643 0.197 27.133);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.102 265.746);
--chart-1: oklch(0.229 0.102 265.746);
--chart-2: oklch(0.364 0.07 91.929);
--chart-3: oklch(0.364 0.07 91.929);
--chart-4: oklch(0.408 0.08 91.57);
--chart-5: oklch(0.228 0.105 265.311);
}