icons-pack / react-simple-icons

📦 This package provides the Simple Icons packaged as a set of React components.
MIT License
295 stars 18 forks source link

Default Icon Color #162

Closed wei closed 1 year ago

wei commented 1 year ago

Simple Icons exposes hex which is the default color of any icon.

This color is currently not exposed to the users of this package and there is no way to retrieve it.

I would like to propose supporting something like <ReactJs color size={24} /> which will fill the svg with the default hex color.

wootsbot commented 1 year ago

I think we can take the colors from the simple-icons JSON, I think it's a good idea, like @LitoMore

wei commented 1 year ago

Awesome should be an easy change after #161 is merged.

wootsbot commented 1 year ago

@wei no problem we can send it in a version very soon.