fix(ui): svg attribute naming

This commit is contained in:
Shekar Siri 2023-10-26 16:49:04 +02:00
parent e0e1835dd1
commit 91ca113bd5
2 changed files with 28 additions and 24 deletions

File diff suppressed because one or more lines are too long

View file

@ -93,6 +93,10 @@ ${icons.map(icon => {
.replace(/fill-rule/g, 'fillRule')
.replace(/fill-opacity/g, 'fillOpacity')
.replace(/stop-color/g, 'stopColor')
.replace(/stroke-width/g, 'strokeWidth')
.replace(/stroke-linecap/g, 'strokeLinecap')
.replace(/stroke-linejoin/g, 'strokeLinejoin')
.replace(/stroke-miterlimit/g, 'strokeMiterlimit')
.replace(/xml:space="preserve"/g, '')};`;
})
.join('\n')}