Open ericobi opened 4 years ago
<Wrapper className="onyx-layout">
.onyx-layout { min-height: 100vh; background-color: #000; }
implemented dark-theme using craco
const CracoLessPlugin = require("craco-less"); const darkTheme = require("@ant-design/dark-theme"); module.exports = { plugins: [ { plugin: CracoLessPlugin, options: { lessLoaderOptions: { lessOptions: { modifyVars: darkTheme, javascriptEnabled: true, }, }, }, }, ], };
now it is.
<Wrapper className="onyx-layout">
.onyx-layout { min-height: 100vh; background-color: #000; }
implemented dark-theme using craco
now it is.