Elaborate is a shadcn/ui theme built around a muted light blue primary color (#e3e6ee) with muted light blue accents (#e1e2e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light blue primary (#e3e6ee) on a blue-tinted background (#04060c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04060cblack |
| Foreground | #010204black | #fcfcfdwhite |
| Card | #ffffffwhite | #04060cblack |
| Card foreground | #010204black | #fcfcfdwhite |
| Popover | #ffffffwhite | #04060cblack |
| Popover foreground | #010204black | #fcfcfdwhite |
| Primary | #e3e6eelavender | #e3e6eelavender |
| Primary foreground | #3c4962darkslategray | #3c4962darkslategray |
| Secondary | #e1e2e5gainsboro | #1e2025black |
| Secondary foreground | #444850darkslategray | #b3b8c2silver |
| Muted | #d5d8dcgainsboro | #23252adarkslategray |
| Muted foreground | #464a53darkslategray | #acb0b9darkgray |
| Accent | #e1e2e5gainsboro | #1e2025black |
| Accent foreground | #444850darkslategray | #b3b8c2silver |
| Destructive | #c61010firebrick | #ec1818red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3e6eelavender | #e3e6eelavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.24:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.24:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Elaborate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.01 257.407);
--muted: oklch(0.881 0.007 264.526);
--muted-foreground: oklch(0.409 0.016 264.376);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.085 0.01 257.407);
--card: oklch(1 0 180);
--card-foreground: oklch(0.085 0.01 257.407);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.925 0.011 264.512);
--primary-foreground: oklch(0.404 0.046 263.854);
--secondary: oklch(0.913 0.004 264.536);
--secondary-foreground: oklch(0.401 0.014 264.402);
--accent: oklch(0.913 0.004 264.536);
--accent-foreground: oklch(0.401 0.014 264.402);
--destructive: oklch(0.524 0.208 28.516);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.011 264.512);
--chart-1: oklch(0.925 0.011 264.512);
--chart-2: oklch(0.913 0.004 264.536);
--chart-3: oklch(0.913 0.004 264.536);
--chart-4: oklch(0.937 0.003 264.541);
--chart-5: oklch(0.924 0.012 264.507);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.015 257.343);
--foreground: oklch(0.992 0.001 264.549);
--muted: oklch(0.264 0.009 264.406);
--muted-foreground: oklch(0.757 0.014 264.484);
--popover: oklch(0.123 0.015 257.343);
--popover-foreground: oklch(0.992 0.001 264.549);
--card: oklch(0.123 0.015 257.343);
--card-foreground: oklch(0.992 0.001 264.549);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.925 0.011 264.512);
--primary-foreground: oklch(0.404 0.046 263.854);
--secondary: oklch(0.243 0.01 264.372);
--secondary-foreground: oklch(0.781 0.015 264.479);
--accent: oklch(0.243 0.01 264.372);
--accent-foreground: oklch(0.781 0.015 264.479);
--destructive: oklch(0.599 0.237 28.403);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.011 264.512);
--chart-1: oklch(0.925 0.011 264.512);
--chart-2: oklch(0.243 0.01 264.372);
--chart-3: oklch(0.243 0.01 264.372);
--chart-4: oklch(0.273 0.012 264.357);
--chart-5: oklch(0.924 0.012 264.507);
}