avataaars icon indicating copy to clipboard operation
avataaars copied to clipboard

fill-opacity not available on <g>

Open stact opened this issue 4 years ago • 3 comments

Following docs https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity fill-opacity attribute has no effect on

As a presentation attribute, it can be applied to any element but it has effect only on the following eleven elements: <altGlyph>, <circle>, <ellipse>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath>, <tref>, and <tspan>

The results (don't be scared ^^): image

I will create a PR to avoid this behavior to move fill-opacity to the right element. Hope this package is still maintained

stact avatar Jan 01 '21 12:01 stact

PR #39 created

stact avatar Jan 01 '21 13:01 stact

@fangpenlin @gkoberger is the project still maintained?

stact avatar Jan 01 '21 13:01 stact

Hey I don't have access to this repo, but happy to merge things into my API if it gets merged here :)

gkoberger avatar Jan 18 '21 21:01 gkoberger