Closed cjmaxik closed 6 years ago
You can't declare functions within mixins - it will throw an error "Functions may not be defined within control directives or other mixins".
https://github.com/sass/sass/issues/2470
https://github.com/mdbootstrap/bootstrap-material-design/blob/40ba6e276de09adcf8ddab56bd4a8cfde97cbf2a/scss/core/_mixins.scss#L215
Also getting this.
Hi, we know this bug and in our next release, it will be fixed. Best, Marta
Solved in 4.5.1
You can't declare functions within mixins - it will throw an error "Functions may not be defined within control directives or other mixins".
https://github.com/sass/sass/issues/2470
https://github.com/mdbootstrap/bootstrap-material-design/blob/40ba6e276de09adcf8ddab56bd4a8cfde97cbf2a/scss/core/_mixins.scss#L215