There was an error while loading. Please reload this page.
1 parent eccc43e commit 040c70fCopy full SHA for 040c70f
1 file changed
generator.js
@@ -91,6 +91,8 @@ async function getSVGFile(icon, version) {
91
.replace(/clip-rule/g, 'clipRule')
92
.replace(/fill-rule/g, 'fillRule')
93
.replace('>', '>{props.title && <title>{props.title}</title>}')
94
+ .replace(/style="enableBackground:(.*?);?"/g, 'enableBackground="$1"')
95
+ .replace(/style="fill:(.*?);?"/g, 'fill="$1"')
96
}
97
98
/**
0 commit comments