Marsh is a shadcn/ui theme built around a muted red primary color (#b59f9b) with muted orange accents (#b5ac9b). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted red primary (#b59f9b) on a neutral background (#080302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #080302black |
| Foreground | #140705black | #fcf9f8snow |
| Card | #fefcfbsnow | #080302black |
| Card foreground | #140705black | #fcf9f8snow |
| Popover | #fefcfbsnow | #080302black |
| Popover foreground | #140705black | #fcf9f8snow |
| Primary | #b59f9bdarkgray | #b59f9bdarkgray |
| Primary foreground | #120e0dblack | #120e0dblack |
| Secondary | #b59ba5darkgray | #b59ba5darkgray |
| Secondary foreground | #120d0fblack | #120d0fblack |
| Muted | #e5d6dcgainsboro | #291a1fblack |
| Muted foreground | #484244darkslategray | #bdb7b9silver |
| Accent | #b5ac9bdarkgray | #b5ac9bdarkgray |
| Accent foreground | #12100dblack | #12100dblack |
| Destructive | #610d05maroon | #f43f2ftomato |
| Destructive foreground | #faa69elightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b59f9bdarkgray | #b59f9bdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 8.43:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 8.46:1 | AAA |
| Accent | 8.43:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Marsh in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 27.945);
--foreground: oklch(0.15 0.025 32.05);
--muted: oklch(0.891 0.018 353.159);
--muted-foreground: oklch(0.386 0.008 353.175);
--popover: oklch(0.991 0.002 27.945);
--popover-foreground: oklch(0.15 0.025 32.05);
--card: oklch(0.991 0.002 27.945);
--card-foreground: oklch(0.15 0.025 32.05);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.721 0.027 28.17);
--primary-foreground: oklch(0.167 0.007 28.2);
--secondary: oklch(0.716 0.033 353.869);
--secondary-foreground: oklch(0.166 0.008 353.997);
--accent: oklch(0.747 0.026 81.457);
--accent-foreground: oklch(0.174 0.006 81.445);
--destructive: oklch(0.319 0.118 30.31);
--destructive-foreground: oklch(0.805 0.101 25.246);
--ring: oklch(0.721 0.027 28.17);
--chart-1: oklch(0.721 0.027 28.17);
--chart-2: oklch(0.716 0.033 353.869);
--chart-3: oklch(0.747 0.026 81.457);
--chart-4: oklch(0.742 0.03 353.706);
--chart-5: oklch(0.718 0.033 28.233);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.015 33.862);
--foreground: oklch(0.983 0.003 27.951);
--muted: oklch(0.238 0.026 355.55);
--muted-foreground: oklch(0.786 0.007 352.823);
--popover: oklch(0.108 0.015 33.862);
--popover-foreground: oklch(0.983 0.003 27.951);
--card: oklch(0.108 0.015 33.862);
--card-foreground: oklch(0.983 0.003 27.951);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.721 0.027 28.17);
--primary-foreground: oklch(0.167 0.007 28.2);
--secondary: oklch(0.716 0.033 353.869);
--secondary-foreground: oklch(0.166 0.008 353.997);
--accent: oklch(0.747 0.026 81.457);
--accent-foreground: oklch(0.174 0.006 81.445);
--destructive: oklch(0.639 0.219 29.633);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.027 28.17);
--chart-1: oklch(0.721 0.027 28.17);
--chart-2: oklch(0.716 0.033 353.869);
--chart-3: oklch(0.747 0.026 81.457);
--chart-4: oklch(0.742 0.03 353.706);
--chart-5: oklch(0.718 0.033 28.233);
}