Customization
- create a file named custom-theme.js and customize theme in itcustom-theme.js
import { customTheme } from 'rn-widget/lib/module/theme';
customTheme({
Colors: {
primary: "xxx",
primarLight: "xxx",
black: "xxx",
fog: "xxx",
},
}); - import
custom-theme.js
in the entry of projecttip
Watch out that you would better import it at the most begining of the entry file to prevent protential bugs
index.jsimport './custom-theme';