Topic: CSS Custom
lpchwebservices asked 5 years ago
Hi, I tried to add custom color variable by following the link
https://mdbootstrap.com/docs/react/css/colors/#scss
I am getting following error ./src/assets/scss/mdb-pro.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/assets/scss/mdb-pro.scss) Module not found: Can't resolve './img/overlays/01.png' in ...
How to point to right image folder.
Jakub Chmura staff premium answered 5 years ago
Hi @lpchwebservices,
You have to follow instructions from Getting Started
first, then you can add custom variables.
Getting Started - Sass instrictions
Remember to switch the sass instructions tab to pro
.
Best, Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.25.5
- Device: Desktop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes