In certain pages, the background-color of the <body> is overridden.
Take the home page as an example:

You can observe that the current background-color of the <body> is set to --adm-color-background, while the correct one should be --neutral-01, which has been overridden. This issue is caused by the global style of antd-mobile.
To resolve it, you can add the following CSS to your styles:
:root:root {
--adm-color-background: var(--neutral-01);
}
This solution is suggested in the Ant Design Mobile theming guide.
In certain pages, the
background-colorof the<body>is overridden.Take the home page as an example:
You can observe that the current
background-colorof the<body>is set to--adm-color-background, while the correct one should be--neutral-01, which has been overridden. This issue is caused by the global style ofantd-mobile.To resolve it, you can add the following CSS to your styles:
This solution is suggested in the Ant Design Mobile theming guide.