Closed ybarbaria closed 4 years ago
I think you should put @use '@material/typography/mdc-typography';
after @use '@angular-mdc/theme/material'
.
Also, I'm not sure about this, but have you tried using @use 'material-components-web/material-components-web';
? It automatically imports all Material Components' SASS files. If you don't use all of them this is not good for production but you can try it.
Closing.
I've updated ny angular application to the 9.0.2 version. Since that I have an scss error from your library. I can't compile my app anymore.
To Reproduce Steps to reproduce the behavior:
@use '@material/theme' with ( $primary: #435563, $secondary: #388e3c, $background: #fff, ); @use '@material/typography/mdc-typography'; @use '@angular-mdc/theme/material'; @use '@material/button/mdc-button'; @use '@material/snackbar/mdc-snackbar'; @use '@material/snackbar/_index' as snackbar; @use '@material/theme/color-palette' as material-color;
Expected behavior I expect to be able to launch my angular 9 app and be able to use the mdc-button.
What Angular MDC version are you using? 5.1.0
What OS are you using?: Windows 10 Pro Node v12.14.1 Npm 6.13.4 Angular CLI: 9.0.2