Numerous Metal Spark is a shadcn/ui theme built around a vivid light green primary color (#e2ff94) with vivid light violet accents (#b094ff). The light mode uses a neutral background (#fbfcf7). Dark mode keeps the vivid light green primary (#e2ff94) on a neutral background (#131313).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf7snow | #131313black |
| Foreground | #0a0d02black | #fafbf9snow |
| Card | #f9fbf4whitesmoke | #060704black |
| Card foreground | #070901black | #fdfdfcwhite |
| Popover | #fbfcf7snow | #030302black |
| Popover foreground | #0a0d02black | #fafbf9snow |
| Primary | #e2ff94khaki | #e2ff94khaki |
| Primary foreground | #476100darkolivegreen | #476100darkolivegreen |
| Secondary | #b094ffplum | #888888gray |
| Secondary foreground | #1a0061midnightblue | #1a0061midnightblue |
| Muted | #e6e3edlavender | #15121cblack |
| Muted foreground | #57545fdimgray | #a3a0abdarkgray |
| Accent | #b094ffplum | #bbaedelightsteelblue |
| Accent foreground | #1a0061midnightblue | #1a0061midnightblue |
| Destructive | #772a03saddlebrown | #e02006red |
| Destructive foreground | #fdc9afpeachpuff | #ffffffwhite |
| Border | #e4e5e0gainsboro | #41433edarkslategray |
| Input | #e4e5e0gainsboro | #20211cblack |
| Ring | #e2ff94khaki | #e2ff94khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.06:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 17.86:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 4.85:1 | AA |
| Muted text | 7.20:1 | AAA |
| Accent | 8.41:1 | AAA |
| Destructive | 4.80:1 | AA |
Paste this into your globals.css to use Numerous Metal Spark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 118.685);
--foreground: oklch(0.152 0.027 119.323);
--muted: oklch(0.921 0.013 298.316);
--muted-foreground: oklch(0.452 0.018 297.885);
--popover: oklch(0.99 0.007 118.685);
--popover-foreground: oklch(0.152 0.027 119.323);
--card: oklch(0.985 0.01 118.745);
--card-foreground: oklch(0.132 0.023 118.667);
--border: oklch(0.921 0.007 118.697);
--input: oklch(0.921 0.007 118.697);
--primary: oklch(0.956 0.136 121.239);
--primary-foreground: oklch(0.454 0.115 125.613);
--secondary: oklch(0.735 0.153 294.62);
--secondary-foreground: oklch(0.24 0.146 279.216);
--accent: oklch(0.735 0.153 294.62);
--accent-foreground: oklch(0.24 0.146 279.216);
--destructive: oklch(0.395 0.117 41.608);
--destructive-foreground: oklch(0.876 0.069 47.918);
--ring: oklch(0.956 0.136 121.239);
--chart-1: oklch(0.956 0.136 121.239);
--chart-2: oklch(0.735 0.153 294.62);
--chart-3: oklch(0.735 0.153 294.62);
--chart-4: oklch(0.772 0.131 295.44);
--chart-5: oklch(0.96 0.14 121.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.188 0 118.569);
--foreground: oklch(0.987 0.002 118.608);
--muted: oklch(0.191 0.02 296.727);
--muted-foreground: oklch(0.713 0.016 298.182);
--popover: oklch(0.098 0.008 118.615);
--popover-foreground: oklch(0.987 0.002 118.608);
--card: oklch(0.123 0.01 118.615);
--card-foreground: oklch(0.993 0.001 118.587);
--border: oklch(0.379 0.008 118.915);
--input: oklch(0.246 0.01 119.308);
--primary: oklch(0.956 0.136 121.239);
--primary-foreground: oklch(0.454 0.115 125.613);
--secondary: oklch(0.626 0 180);
--secondary-foreground: oklch(0.24 0.146 279.216);
--accent: oklch(0.778 0.069 297.002);
--accent-foreground: oklch(0.24 0.146 279.216);
--destructive: oklch(0.579 0.224 30.779);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.136 121.239);
--chart-1: oklch(0.956 0.136 121.239);
--chart-2: oklch(0.626 0 180);
--chart-3: oklch(0.778 0.069 297.002);
--chart-4: oklch(0.651 0 180);
--chart-5: oklch(0.96 0.14 121.309);
}