E commerce Elected 1 is a shadcn/ui theme built around a vivid teal primary color (#09fbbb) with vivid cyan accents (#09c3fb). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#09fbbb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #04100dblack | #f5faf9mintcream |
| Card | #ffffffwhite | #000000black |
| Card foreground | #04100dblack | #f5faf9mintcream |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #04100dblack | #f5faf9mintcream |
| Primary | #09fbbbmediumspringgreen | #09fbbbmediumspringgreen |
| Primary foreground | #013729darkgreen | #013729darkgreen |
| Secondary | #09fb41springgreen | #09fb41springgreen |
| Secondary foreground | #01370edarkgreen | #01370edarkgreen |
| Muted | #eff1efwhitesmoke | #0e100fblack |
| Muted foreground | #58745edimgray | #8ba791darkseagreen |
| Accent | #09c3fbdeepskyblue | #09c3fbdeepskyblue |
| Accent foreground | #012b37darkslategray | #012b37darkslategray |
| Destructive | #b53c08firebrick | #f5540forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5ebealavender | #1a2321black |
| Input | #e5ebealavender | #1a2321black |
| Ring | #09fbbbmediumspringgreen | #09fbbbmediumspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 9.84:1 | AAA |
| Secondary button | 9.59:1 | AAA |
| Muted text | 4.53:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 9.84:1 | AAA |
| Secondary button | 9.59:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 7.26:1 | AAA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use E commerce Elected 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.16 0.019 176.308);
--muted: oklch(0.955 0.003 153.187);
--muted-foreground: oklch(0.531 0.048 151.666);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.16 0.019 176.308);
--card: oklch(1 0 180);
--card-foreground: oklch(0.16 0.019 176.308);
--border: oklch(0.935 0.007 178.56);
--input: oklch(0.935 0.007 178.56);
--primary: oklch(0.877 0.181 165.945);
--primary-foreground: oklch(0.301 0.06 169.087);
--secondary: oklch(0.859 0.273 144.477);
--secondary-foreground: oklch(0.294 0.088 146.478);
--accent: oklch(0.763 0.148 228.12);
--accent-foreground: oklch(0.267 0.049 223.628);
--destructive: oklch(0.525 0.166 38.554);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.181 165.945);
--chart-1: oklch(0.877 0.181 165.945);
--chart-2: oklch(0.859 0.273 144.477);
--chart-3: oklch(0.763 0.148 228.12);
--chart-4: oklch(0.861 0.266 145.094);
--chart-5: oklch(0.887 0.184 165.616);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.006 178.618);
--muted: oklch(0.172 0.005 152.775);
--muted-foreground: oklch(0.701 0.045 152.148);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.006 178.618);
--card: oklch(0 0 0);
--card-foreground: oklch(0.981 0.006 178.618);
--border: oklch(0.246 0.013 177.17);
--input: oklch(0.246 0.013 177.17);
--primary: oklch(0.877 0.181 165.945);
--primary-foreground: oklch(0.301 0.06 169.087);
--secondary: oklch(0.859 0.273 144.477);
--secondary-foreground: oklch(0.294 0.088 146.478);
--accent: oklch(0.763 0.148 228.12);
--accent-foreground: oklch(0.267 0.049 223.628);
--destructive: oklch(0.659 0.208 38.588);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.181 165.945);
--chart-1: oklch(0.877 0.181 165.945);
--chart-2: oklch(0.859 0.273 144.477);
--chart-3: oklch(0.763 0.148 228.12);
--chart-4: oklch(0.861 0.266 145.094);
--chart-5: oklch(0.887 0.184 165.616);
}