wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.44k stars 706 forks source link

Stepper does not apply custom color to buttons. #2252

Closed LazyAfternoons closed 1 year ago

LazyAfternoons commented 2 years ago

Description

The stepper component doesn't apply any custom color style to buttons, leaving them always in purple.

Related to

Screenshots/Video

Screenshot 2022-09-12 at 16 30 44

Environment

Affected platforms

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

dennis3124 commented 1 year ago

I took a look at the underlying code. Stepper doesn't support any styling prop. I updated my designToken and it overwrote the stepper button colors. Colors.loadDesignTokens({ primaryColor: '$AddPrimaryColorHere' });