Topic: [ERROR] Undefined variable.
vincenttan623
pro premium priority asked 3 days ago
Expected behavior Compile success and started localhost:4200 Actual behavior [ERROR] Undefined variable. "primary": $primary-text-emphasis-dark, node_modules/mdb-angular-ui-kit/assets/scss/bootstrap/_maps.scss 55:16 @import node_modules/mdb-angular-ui-kit/assets/scss/mdb.core.scss 8:9
Resources (screenshots, code snippets etc.) We need to override the color, hence we include the SCSS in our project styles.scss
$primary: #8f6f4c; @use 'mdb-angular-ui-kit/assets/scss/mdb.core.scss';
It works perfectly with Angular 18 with mdb5-angular-ui-kit-pro-essential#7.1.0
After upgrading to Angular 19 with mdb5-angular-ui-kit-pro-essential#8.0.0, it started experiencing the above error during compilation.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 8.0.0
- Device: localhost
- Browser: terminal build
- OS: mac os 15
- Provided sample code: No
- Provided link: No