Theme multi-tone SVG icons and geometric <pattern> backgrounds directly from CSS custom properties (--svg-primary, --svg-accent, --svg-surface, --svg-stroke). Test 8 sample icons and 2 patterns live below, or get all 32 SVGs + universal Python sprite compiler CLI in the Pro pack.
<svg> and in-document <svg><use href="#id"> inherit --svg-* tokens live. External <img src="icon.svg"> isolates CSS scope (falling back to embedded hex defaults), and external <use href="sprite.svg#id"> requires HTTP/HTTPS rather than file://.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"> <path d="M12 2.5L4.5 5.5v6.2c0 4.9 3.2 8.9 7.5 10.3 4.3-1.4 7.5-5.4 7.5-10.3V5.5L12 2.5z" fill="var(--svg-surface, #1e293b)" stroke="var(--svg-primary, #e2e8f0)" stroke-width="var(--svg-stroke, 1.75)" stroke-linejoin="round"/> <path d="M8.8 12.3l2.2 2.2 4.4-4.6" stroke="var(--svg-accent, #38bdf8)" stroke-width="var(--svg-stroke, 1.75)" stroke-linecap="round" stroke-linejoin="round"/> </svg>
:root {
--svg-primary: #e2e8f0;
--svg-accent: #38bdf8;
--svg-surface: #1e293b;
--svg-stroke: 1.75;
}