character-ref/src/components/icon.webc
Sebin Nyshkim db8cf3f93c refactor: ♻️ use SVG sprite instead of individual SVGs
This prevents 11ty with WebC/Markdown to produce excessive newlines in output markup
2025-06-26 16:03:51 +02:00

11 lines
197 B
Text

<svg webc:root="override">
<use :href="`#${icon}`"></use>
</svg>
<style webc:scoped="icon">
:host {
width: 100%;
height: 100%;
fill: var(--clr-icon, var(--clr-text));
}
</style>