Skip to content

Commit

Permalink
Merge pull request #7 from StefanH-AT/main
Browse files Browse the repository at this point in the history
Use `currentColor` for fill
  • Loading branch information
wyatt-herkamp authored Apr 16, 2024
2 parents 15832db + 3f7639b commit cfb7d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildTools/src/component_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function buildComponent(iconSVG: string): string {
<template>
${iconSVG.replace(
/<svg([^>]+)>/,
'<svg :width="finalSize" :height="finalSize" role="img" viewBox="0 0 24 24" v-bind="$attrs" >'
'<svg :width="finalSize" :height="finalSize" role="img" viewBox="0 0 24 24" v-bind="$attrs" fill="currentColor">'
)}
</template>
${componentScript}`;
Expand Down

0 comments on commit cfb7d77

Please sign in to comment.