react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Stepper does not apply custom color to buttons.

Open LazyAfternoons opened this issue 4 years ago • 2 comments

Description

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

Related to

  • [x] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Screenshots/Video

Screenshot 2022-09-12 at 16 30 44

Environment

  • React Native version: 0.69
  • React Native UI Lib version: 6.21.0

Affected platforms

  • [x] Android
  • [x] iOS
  • [ ] Web

LazyAfternoons avatar Sep 12 '22 14:09 LazyAfternoons

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.

stale[bot] avatar Nov 12 '22 16:11 stale[bot]

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' });

dennis3124 avatar May 21 '23 21:05 dennis3124