From 508a1511f81f8d31e32ed4fa06d2c5985b00f8b3 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 21 Jun 2024 12:06:37 -0400 Subject: [PATCH] fix tabler icons --- docs/docs/components/icon.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/components/icon.md b/docs/docs/components/icon.md index e95291d96..acbb1678e 100644 --- a/docs/docs/components/icon.md +++ b/docs/docs/components/icon.md @@ -440,7 +440,11 @@ Icons in this library are licensed under the [MIT License](https://github.com/ta import { registerIconLibrary } from '/dist/webawesome.js'; registerIconLibrary('tabler', { - resolver: name => `https://cdn.jsdelivr.net/npm/@tabler/icons@1.68.0/icons/${name}.svg` + resolver: name => `https://cdn.jsdelivr.net/npm/@tabler/icons@1.68.0/icons/${name}.svg`, + mutator: svg => { + svg.style.fill = 'none'; + svg.setAttribute('stroke', 'currentColor'); + } });