Re: [csswg-drafts] [css-syntax][css-nesting] Design of `@nest` rule (#10234)

@mirisuzanne As outlined several times before, there is a simple and unambiguous approach to do namespacing of custom properties, but it does not extend well to accessing actual properties. 

~~~~ css
  @group base {
    padding: 1em;
  }
  @group color {
    --primary: teal;
  }
  
  .access {
    margin: var(base/*???*/padding);
    border-color: var(-color-primary);
  }
~~~~


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


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

Received on Friday, 26 April 2024 18:50:09 UTC