Shipping is a shadcn/ui theme built around a neutral gray primary color (#dbd6d7) with neutral gray accents (#d6d7db). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the neutral gray primary (#dbd6d7) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfcsnow | #040102black |
| Foreground | #160406black | #fdfcfcsnow |
| Card | #fcf8f8snow | #080303black |
| Card foreground | #110305black | #ffffffwhite |
| Popover | #fcf8f8snow | #080303black |
| Popover foreground | #110305black | #ffffffwhite |
| Primary | #dbd6d7gainsboro | #dbd6d7gainsboro |
| Primary foreground | #443b3cdarkslategray | #443b3cdarkslategray |
| Secondary | #d7dbd6gainsboro | #d7dbd6gainsboro |
| Secondary foreground | #3c443bdarkslategray | #3c443bdarkslategray |
| Muted | #edf4ecwhitesmoke | #0c130bblack |
| Muted foreground | #4a5549darkslategray | #abb6aadarkgray |
| Accent | #d6d7dbgainsboro | #d6d7dbgainsboro |
| Accent foreground | #3b3c44darkslategray | #3b3c44darkslategray |
| Destructive | #881c01darkred | #e32f02orangered |
| Destructive foreground | #fecabdpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbd6d7gainsboro | #dbd6d7gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.47:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 8.95:1 | AAA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.48:1 | AA Large |
Paste this into your globals.css to use Shipping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 8.962);
--foreground: oklch(0.143 0.036 12.894);
--muted: oklch(0.959 0.013 142.065);
--muted-foreground: oklch(0.437 0.025 141.916);
--popover: oklch(0.982 0.004 9.016);
--popover-foreground: oklch(0.13 0.031 11.803);
--card: oklch(0.982 0.004 9.016);
--card-foreground: oklch(0.13 0.031 11.803);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.881 0.006 9.07);
--primary-foreground: oklch(0.363 0.013 9.726);
--secondary: oklch(0.888 0.009 142.079);
--secondary-foreground: oklch(0.377 0.018 141.946);
--accent: oklch(0.879 0.006 280.215);
--accent-foreground: oklch(0.359 0.014 279.712);
--destructive: oklch(0.411 0.147 33.865);
--destructive-foreground: oklch(0.882 0.062 34.396);
--ring: oklch(0.881 0.006 9.07);
--chart-1: oklch(0.881 0.006 9.07);
--chart-2: oklch(0.888 0.009 142.079);
--chart-3: oklch(0.879 0.006 280.215);
--chart-4: oklch(0.91 0.007 142.086);
--chart-5: oklch(0.879 0.009 9.139);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.012 9.934);
--foreground: oklch(0.992 0.001 8.928);
--muted: oklch(0.178 0.02 141.725);
--muted-foreground: oklch(0.765 0.022 142.015);
--popover: oklch(0.106 0.016 9.934);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.106 0.016 9.934);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.881 0.006 9.07);
--primary-foreground: oklch(0.363 0.013 9.726);
--secondary: oklch(0.888 0.009 142.079);
--secondary-foreground: oklch(0.377 0.018 141.946);
--accent: oklch(0.879 0.006 280.215);
--accent-foreground: oklch(0.359 0.014 279.712);
--destructive: oklch(0.594 0.219 32.893);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.881 0.006 9.07);
--chart-1: oklch(0.881 0.006 9.07);
--chart-2: oklch(0.888 0.009 142.079);
--chart-3: oklch(0.879 0.006 280.215);
--chart-4: oklch(0.91 0.007 142.086);
--chart-5: oklch(0.879 0.009 9.139);
}