react-ui-org / react-ui

React UI is a themeable and performant UI library for React apps.
https://react-ui.io
MIT License
21 stars 7 forks source link

Introduce theming of `Badge` color variants #562

Closed adamkudrna closed 2 months ago

adamkudrna commented 2 months ago

Badge color variants are now generated using color collections.

Other components to be styled the same way already support theming, so Badge needs to support theming too.

New theming options:

--rui-Badge--<PRIORITY>--<COLOR>__<PROPERTY>

See theme.scss for all available options.