Skip to content

Commit 78fae12

Browse files
authored
use fill attribute instead of inline styles (#4)
1 parent fb483b1 commit 78fae12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const renderPixels = (hash: string) => {
5353

5454
const pixelsToSvg = (pixels: Rectangle[]): string => {
5555
let xml = `<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28">
56-
<g style="fill: currentColor">`
56+
<g fill="currentColor">`
5757

5858
pixels.forEach((pixel) => {
5959
if (!pixel.isPixel) {

0 commit comments

Comments
 (0)