Elaborate is a shadcn/ui theme built around a violet primary color (#c09bd9) with green accents (#b4d99b). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the violet primary (#c09bd9) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #030203black |
| Foreground | #0f0316black | #f8f6f9whitesmoke |
| Card | #fdfcfdwhite | #030203black |
| Card foreground | #0f0316black | #f8f6f9whitesmoke |
| Popover | #fdfcfdwhite | #030203black |
| Popover foreground | #0f0316black | #f8f6f9whitesmoke |
| Primary | #c09bd9plum | #c09bd9plum |
| Primary foreground | #241230black | #241230black |
| Secondary | #b4d99blightgreen | #b4d99blightgreen |
| Secondary foreground | #1e3012black | #1e3012black |
| Muted | #dde4d8gainsboro | #20271bblack |
| Muted foreground | #4c4d4cdarkslategray | #b2b3b2darkgray |
| Accent | #b4d99blightgreen | #b4d99blightgreen |
| Accent foreground | #1e3012black | #1e3012black |
| Destructive | #c73f05firebrick | #fa7238tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c09bd9plum | #c09bd9plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 8.98:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 8.98:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 8.98:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.98:1 | AAA |
| Destructive | 7.53:1 | AAA |
Paste this into your globals.css to use Elaborate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 312.34);
--foreground: oklch(0.137 0.046 311.339);
--muted: oklch(0.91 0.018 132.506);
--muted-foreground: oklch(0.42 0.003 132.408);
--popover: oklch(0.991 0.002 312.34);
--popover-foreground: oklch(0.137 0.046 311.339);
--card: oklch(0.991 0.002 312.34);
--card-foreground: oklch(0.137 0.046 311.339);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.745 0.096 311.392);
--primary-foreground: oklch(0.224 0.06 310.125);
--secondary: oklch(0.843 0.092 133.259);
--secondary-foreground: oklch(0.285 0.056 134.262);
--accent: oklch(0.843 0.092 133.259);
--accent-foreground: oklch(0.285 0.056 134.262);
--destructive: oklch(0.559 0.181 37.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.745 0.096 311.392);
--chart-1: oklch(0.745 0.096 311.392);
--chart-2: oklch(0.843 0.092 133.259);
--chart-3: oklch(0.843 0.092 133.259);
--chart-4: oklch(0.861 0.082 133.128);
--chart-5: oklch(0.743 0.102 311.321);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.011 313.445);
--foreground: oklch(0.975 0.004 312.331);
--muted: oklch(0.262 0.024 133.092);
--muted-foreground: oklch(0.766 0.002 132.381);
--popover: oklch(0.086 0.011 313.445);
--popover-foreground: oklch(0.975 0.004 312.331);
--card: oklch(0.086 0.011 313.445);
--card-foreground: oklch(0.975 0.004 312.331);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.745 0.096 311.392);
--primary-foreground: oklch(0.224 0.06 310.125);
--secondary: oklch(0.843 0.092 133.259);
--secondary-foreground: oklch(0.285 0.056 134.262);
--accent: oklch(0.843 0.092 133.259);
--accent-foreground: oklch(0.285 0.056 134.262);
--destructive: oklch(0.707 0.181 41.849);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.745 0.096 311.392);
--chart-1: oklch(0.745 0.096 311.392);
--chart-2: oklch(0.843 0.092 133.259);
--chart-3: oklch(0.843 0.092 133.259);
--chart-4: oklch(0.861 0.082 133.128);
--chart-5: oklch(0.743 0.102 311.321);
}