Re: [csswg-drafts] [css-env] Adding custom env() variables

I think the general idea is to allow script to set them. But it's probably a good idea to allow stylesheets specify default values to them. Probably something like
```css
@env {
    --some-width: 30em;
    --some-color: #000;
}
```
works.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2627#issuecomment-386932374 using your GitHub account

Received on Monday, 7 May 2018 01:15:04 UTC