Marion is a shadcn/ui theme built around an orange primary color (#bfa77d) with muted light orange accents (#ded8ce). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#bfa77d) on an orange-tinted background (#0a0805).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0805black |
| Foreground | #160f03black | #f9f8f5whitesmoke |
| Card | #ffffffwhite | #0a0805black |
| Card foreground | #160f03black | #f9f8f5whitesmoke |
| Popover | #ffffffwhite | #0a0805black |
| Popover foreground | #160f03black | #f9f8f5whitesmoke |
| Primary | #bfa77ddarkkhaki | #bfa77ddarkkhaki |
| Primary foreground | #070603black | #070603black |
| Secondary | #ded8celightgrey | #292723darkslategray |
| Secondary foreground | #494031darkslategray | #c4c1basilver |
| Muted | #eae9e6linen | #191715black |
| Muted foreground | #615b51dimgray | #aea89edarkgray |
| Accent | #ded8celightgrey | #292723darkslategray |
| Accent foreground | #494031darkslategray | #c4c1basilver |
| Destructive | #610605maroon | #f53632crimson |
| Destructive foreground | #fa9f9elightsalmon | #ffffffwhite |
| Border | #f4f3f0whitesmoke | #23201ablack |
| Input | #f4f3f0whitesmoke | #23201ablack |
| Ring | #bfa77ddarkkhaki | #bfa77ddarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 8.71:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 5.52:1 | AA |
| Accent | 7.21:1 | AAA |
| Destructive | 6.82:1 | AA |
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 8.71:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 8.27:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Marion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.175 0.028 83.11);
--muted: oklch(0.933 0.003 81.514);
--muted-foreground: oklch(0.475 0.018 81.445);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.175 0.028 83.11);
--card: oklch(1 0 180);
--card-foreground: oklch(0.175 0.028 83.11);
--border: oklch(0.964 0.004 81.514);
--input: oklch(0.964 0.004 81.514);
--primary: oklch(0.739 0.063 81.048);
--primary-foreground: oklch(0.12 0.008 85.563);
--secondary: oklch(0.885 0.015 81.501);
--secondary-foreground: oklch(0.378 0.028 81.186);
--accent: oklch(0.885 0.015 81.501);
--accent-foreground: oklch(0.378 0.028 81.186);
--destructive: oklch(0.315 0.123 28.743);
--destructive-foreground: oklch(0.794 0.109 20.854);
--ring: oklch(0.739 0.063 81.048);
--chart-1: oklch(0.739 0.063 81.048);
--chart-2: oklch(0.885 0.015 81.501);
--chart-3: oklch(0.885 0.015 81.501);
--chart-4: oklch(0.907 0.012 81.506);
--chart-5: oklch(0.743 0.068 80.954);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.009 85.451);
--foreground: oklch(0.979 0.004 81.513);
--muted: oklch(0.207 0.005 81.487);
--muted-foreground: oklch(0.733 0.016 81.493);
--popover: oklch(0.137 0.009 85.451);
--popover-foreground: oklch(0.979 0.004 81.513);
--card: oklch(0.137 0.009 85.451);
--card-foreground: oklch(0.979 0.004 81.513);
--border: oklch(0.244 0.012 81.39);
--input: oklch(0.244 0.012 81.39);
--primary: oklch(0.739 0.063 81.048);
--primary-foreground: oklch(0.12 0.008 85.563);
--secondary: oklch(0.274 0.008 81.476);
--secondary-foreground: oklch(0.811 0.01 81.508);
--accent: oklch(0.274 0.008 81.476);
--accent-foreground: oklch(0.811 0.01 81.508);
--destructive: oklch(0.634 0.227 27.307);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.739 0.063 81.048);
--chart-1: oklch(0.739 0.063 81.048);
--chart-2: oklch(0.274 0.008 81.476);
--chart-3: oklch(0.274 0.008 81.476);
--chart-4: oklch(0.306 0.009 81.472);
--chart-5: oklch(0.743 0.068 80.954);
}