olegpolyakov / mdc-pug

Material Components Web implemented in Pug
5 stars 1 forks source link

Sass: Warning: both $level and $color are required; received $level: '0', $color: '' #14

Open wscherphof opened 2 years ago

wscherphof commented 2 years ago
Warning: both $level and $color are required; received $level: '0', $color: ''
    ../node_modules/@material/elevation/_elevation-theme.scss 234:5   -shadow()
    ../node_modules/@material/elevation/_elevation-theme.scss 466:20  resolver()
    ../node_modules/@material/tokens/_resolvers.scss 5:11             -material-elevation()
    ../node_modules/@material/elevation/_elevation-theme.scss 426:21  with-resolver()
    ../node_modules/@material/banner/_banner-theme.scss 437:3         -banner-elevation()
    ../node_modules/@material/banner/_banner-theme.scss 154:3         theme-styles()
    ../node_modules/@material/banner/_banner.scss 63:5                core-styles()
    ../node_modules/@material/banner/styles.scss 25:1                 @use
    ../node_modules/mdc-pug/lib/styles/banner.scss 2:1                @forward
    ../node_modules/mdc-pug/lib/styles/index.scss 6:1                 @forward
    ../node_modules/mdc-pug/index.scss 1:1                            @use
    ../node_modules/fastify-mdc-pug/style.scss 5:1                    root stylesheet
olegpolyakov commented 2 years ago

This warning is due to a bug in the material-web-components library. I'm waiting for it to be resolved in the next version of the library.