Re: [csswg-drafts] [css-variables?] Higher level custom properties that control multiple declarations (#5624)

Regarding (nearly) constant *third-party* property values, in #6099 I proposed something like `@namespace` to specify the prefix between the two dashes used within `var()`, but never used in the property on the left side of a colon.

~~~~ css
@namespace foo {
  --bar: green;
}
baz {
  color: red;
  color: var(-foo-bar); /* green */
  background: green;
  background: var(--bar); /* undefined custom property */
}
~~~~

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


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

Received on Monday, 22 March 2021 07:31:07 UTC