patternfly / patternfly-react

A set of React components for the PatternFly project.
https://react-staging.patternfly.org/
MIT License
798 stars 355 forks source link

SVG rendering #11288

Open mattnolting opened 3 days ago

mattnolting commented 3 days ago

TLDR: Currently, there exists a method to deliver PF icons as svgs. To properly support theming, we need the ability to render inline svgs and manage their basic settings.

React extension/enhancement

Similarly to icons, we need deliver SVG as inline code, instead of using <img> tags.

This issue refers to the first step of SVG theming support

andrew-ronaldson commented 3 days ago

Another thing to keep in mind is the Red Hat icons we hope to adopt when they are ready. @lboehling has an issue to do an Icon audit of PF and RH icons. Not sure what the delivery method will be for the RH icons when the time comes. We may have similar issues with the RH logos and applying PF classes on Brand created svgs.