How do change the change the boilerplate background, in which file
Style.css
should do it if you add the desired background there.
If you want something like Dark mode, import "~antd/dist/antd.dark.css"
in the CSS file.
1 Like
Still failing can you plz provide a screenshot how its done, thnx
You can control the color of each component individually, for instance, put this in Style.css
:
.ant-layout {
background-color: rgb(160, 20, 55);
}
This will change the background of your layout. Similarly for modals, cards etc.
If you wanted Dark mode, just paste this line at the top of your CSS file:
@import "~antd/dist/antd.dark.css";
This should do the trick