Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Suppress warnings 'Custom property ignored: not scoped to the top-level :root element' #117

Closed
tsesaihung opened this issue May 20, 2018 · 3 comments

Comments

@tsesaihung
Copy link

Are there any ways to use Angular Cli to suppress the warning of 'Custom property ignored: not scoped to the top-level :root element'?

This is the issue previously raised but no solutions were provided.

angular/angular-cli#7991

@jonathantneal
Copy link
Member

For now, the best way to do this is to use the warnings option.

https://github.com/postcss/postcss-custom-properties#warnings

@failpunk
Copy link

failpunk commented Nov 8, 2018

The warnings option has been removed. Now what?

@jonathantneal
Copy link
Member

It no longer throws this warning.

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

No branches or pull requests

3 participants