Theming
Theme Provider
MAU exports a ThemeProvider
component that allows you to customise the colors and the typographic language.
Usage
Props
Name
Type
Description
theme
ThemeObject
Theme for the app
Default Theme
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.
Example
Last updated