Theme is one core elements of NativeBase. You can customize NativeBase's theme as per your liking. NativeBase theme is complex object which looks like
It has many other properties but in this recipe, we'll only update few of them (namely colors, fonts, and config) using NativeBase's
In the above example, the following changes have been made:
- Added a new color named primary.
- Updated one of the shade of amber color.
- Updated the initial color mode to dark. Default is light.
- Finally passed the new theme object to the NativeBaseProvider.