Re: [svgwg] SVG2 spec means elements within a <use> tag can not be targeted for styling (#367)

Where simply filling a coloured `<symbol>` is an issue (e.g. a logo appearing full colour, fully reversed on e.g. black / white, or partially reversed), this can be resolved by declaring a combo of `color` attributes within the `<symbol>` and then setting `fill: #{flat-color} | currentColor` on the containing `<svg>` (e.g. https://codepen.io/theprojectsomething/pen/eYYvBLK). Combined with css variables this can provide more than the most basic fallback solution.

-- 
GitHub Notification of comment by theprojectsomething
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/367#issuecomment-545248366 using your GitHub account

Received on Wednesday, 23 October 2019 03:24:39 UTC