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

I didn't make the modification yet (as a quick workaround I just replace all values since it was scoped to only 1 repository) but I would think about defining something like:
```
:root {
  --safe-area-inset-top: env(safe-area-inset-top);
}
```

And when you want to use it:
```
.myclass {
    padding-top: var(--safe-area-inset-top);
}
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 18 October 2021 09:15:22 UTC