snehilvj / dash-iconify

Iconify for Plotly Dash
https://www.dash-mantine-components.com/dash-iconify
MIT License
52 stars 2 forks source link

Color parameter does not work with openmoji #4

Closed kayjan closed 1 year ago

kayjan commented 1 year ago

Hi, I'm trying to use DashIconify with openmoji and I cannot get the black variant of the icon

Link to icon: https://openmoji.org/library/emoji-E100/#variant=black Code: DashIconify(icon="openmoji:tap", color="black", height=40)

snehilvj commented 1 year ago

It's actually not about the color but the fill of the icon. Iconfiy doesn't have any way to allow for toggling between fill and outline unless two separate icons exist for them in the icon set. Hence, the color prop won't work here.