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

Worth pointing out that the distinction between `var` and `env` is *already* decided, and that the only question is on how defining `env` properties should work, rather than allowing `var`s in `env` contexts.

This is also why `@env` personally makes the most sense to me as a syntax, rather than `@constants` or something else -- it makes it clear that we're defining envs instead of vars. If we relied on `:root`, it would confusingly define both an env and a var, and then people would start to conflate the two.

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


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

Received on Wednesday, 1 March 2023 00:40:59 UTC