MAU exports a ThemeProvider component that allows you to customise the colors and the typographic language.
Important!
The ThemeProvider component should be the parent of every other component that is imported from 'hc-mobile-app-ui' package as these components utilise the theme prop from it. A good idea would be to add the ThemeProvider at the root of app usually index.js or app.js.
MAU also exports a defaultTheme object which can be used to create a custom theme. See the next section to know more about creating a custom theme. The "theme" object should be passed to the theme prop of the ThemeProvider component.
Schema
Usage
Custom Theme
You can create custom theme using the defaultTheme object exported from the hc-mobile-app-ui package. Here's an example of a custom theme that changes the primary color.