Funeraria is a shadcn/ui theme built around a blue primary color (#20587e) with muted light blue accents (#c8d6df). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#20587e) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #050b10black | #f8fafcghostwhite |
| Card | #ffffffwhite | #010304black |
| Card foreground | #050b10black | #f8fafcghostwhite |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #050b10black | #f8fafcghostwhite |
| Primary | #20587edarkslateblue | #20587edarkslateblue |
| Primary foreground | #dbebf6lavender | #dbebf6lavender |
| Secondary | #dee4e7gainsboro | #131516black |
| Secondary foreground | #3e4c56darkslategray | #a7afb4darkgray |
| Muted | #e2ecf3lavender | #0c161dblack |
| Muted foreground | #4f5b64dimgray | #9ba8b0darkgray |
| Accent | #c8d6dflightgrey | #263036darkslategray |
| Accent foreground | #2b3e4adarkslategray | #bdc9d1lightsteelblue |
| Destructive | #cc4b14chocolate | #eb6d37tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #eef0f2whitesmoke | #1a1f23black |
| Input | #eef0f2whitesmoke | #1a1f23black |
| Ring | #20587edarkslateblue | #20587edarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.21:1 | AA |
| Secondary button | 6.89:1 | AA |
| Muted text | 5.82:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 4.56:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.21:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.80:1 | AA |
Paste this into your globals.css to use Funeraria in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.015 234.079);
--muted: oklch(0.938 0.014 236.647);
--muted-foreground: oklch(0.465 0.021 237.14);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.015 234.079);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0.015 234.079);
--border: oklch(0.954 0.004 236.489);
--input: oklch(0.954 0.004 236.489);
--primary: oklch(0.443 0.084 241.639);
--primary-foreground: oklch(0.93 0.023 236.795);
--secondary: oklch(0.915 0.008 236.555);
--secondary-foreground: oklch(0.409 0.024 237.375);
--accent: oklch(0.868 0.019 236.761);
--accent-foreground: oklch(0.352 0.032 238.018);
--destructive: oklch(0.583 0.174 39.756);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.443 0.084 241.639);
--chart-1: oklch(0.443 0.084 241.639);
--chart-2: oklch(0.915 0.008 236.555);
--chart-3: oklch(0.868 0.019 236.761);
--chart-4: oklch(0.939 0.005 236.519);
--chart-5: oklch(0.445 0.088 242.043);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.009 230.019);
--foreground: oklch(0.985 0.003 236.485);
--muted: oklch(0.194 0.02 238.277);
--muted-foreground: oklch(0.724 0.019 236.826);
--popover: oklch(0.091 0.009 230.019);
--popover-foreground: oklch(0.985 0.003 236.485);
--card: oklch(0.091 0.009 230.019);
--card-foreground: oklch(0.985 0.003 236.485);
--border: oklch(0.237 0.01 237.083);
--input: oklch(0.237 0.01 237.083);
--primary: oklch(0.443 0.084 241.639);
--primary-foreground: oklch(0.93 0.023 236.795);
--secondary: oklch(0.193 0.004 236.744);
--secondary-foreground: oklch(0.748 0.012 236.66);
--accent: oklch(0.301 0.018 237.401);
--accent-foreground: oklch(0.829 0.017 236.744);
--destructive: oklch(0.679 0.17 42.032);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.443 0.084 241.639);
--chart-1: oklch(0.443 0.084 241.639);
--chart-2: oklch(0.193 0.004 236.744);
--chart-3: oklch(0.301 0.018 237.401);
--chart-4: oklch(0.226 0.005 236.784);
--chart-5: oklch(0.445 0.088 242.043);
}