Open mcarrano opened 1 year ago
@mcarrano I'm thinking we would
react-icons
automatically so they're available in react<EmptyState>
or <EmptyStateIcon>
components that include a default icon that is overridable. cc @tlabaj wdyt?@mcoker Adding them to the pf-icon core webfont and thus react-icons works. The react <EmptyStateIcon>
component is already built so that consumer passes the icon via the icon
prop.
@mcoker @tlabaj I think it will be fine to have the new default illustrations passed as an icon. My only question is whether a developer could easily replace these with a custom SVG illustration that is not an icon. We don't want to restrict people in what can be placed here.
we can do this as an opt in in the future.
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in 30 days if no further activity occurs.
I'm moving this back to design so we can consider adding these alongside the new branded UI icon set. Even though they are technically mini illustrations, we may need to add them to the PF icon repo.
Want to replace the existing PF-Icons coming from our icons set with illustrations pulled from the RH Brand Asset Library. Want to do this in a way that allows products that use the existing icons to maintain those icons but changes the default for PatternFly v5 and forward. Design issue with more detail here: https://github.com/patternfly/patternfly-design/issues/1198 This shows some standard options, but consumers should be allowed to customize.
Open question - how would we package and ship the SVGs for the new illustrations?