guardian / csnx

Monorepo for Guardian UIs
https://guardian.github.io/csnx
Apache License 2.0
35 stars 3 forks source link

Remove icon style overrides from Button component #1514

Open jamesmockett opened 4 months ago

jamesmockett commented 4 months ago

The button component overrides icon styles in order to set colour and size. These can be both be achieved without the need for overrides with the icon's theme and size props. The overrides should be removed in favour of using these props in order to make the styling more consistent and predictable.

This should be done after #1476 has been merged.