- From: Justin Fagnani via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Feb 2024 16:19:05 +0000
- To: public-css-archive@w3.org
@LeaVerou I would think that `@export` should be used for a more general export mechanism that might export selectors or class names, rulesets, upcoming mixins and functions, etc. This feature is for defining an independent nested stylesheet ,so `@sheet` describes what it is, and they're just exported implicitly because they're not useful when not exported.
If a sheet should be explicitly exported, maybe the syntax should be `@export @sheet`?
```css
@export @sheet sheet2 {
p {
color: blue;
}
}
```
I'm not sure if @-rules can work that way though.
--
GitHub Notification of comment by justinfagnani
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5629#issuecomment-1964552857 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 February 2024 16:19:06 UTC