- From: Joe Pea via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Feb 2024 05:06:42 +0000
- To: public-css-archive@w3.org
> It would not allow you to apply `@mixin`s across stylesheets, which might be a showstopper? Having an `import` (like JS, you import what you need, not everything is simply a global) would be great. it would be easier to reason about things that way. The functionality in your file is determined by what you imported. More of a language-level things. ```css @import --foo from './my-mixins.css' /* --foo is usable only within this file, not in any other file. */ .some-class { @apply --foo; } ``` I believe we should stop trying to make *everything* global. -- GitHub Notification of comment by trusktr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1965795123 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 February 2024 05:06:43 UTC