Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wscherphof opened this issue Jan 26, 2022 · 1 comment

Comments

@wscherphof
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants