-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Unmaintained #16
Comments
Thanks for pointing out! I just learned from a colleague that extends are "somehow de-facto deprecated" although wecould not find any authoritative source for that. Anyway, as I failed to use the postcss-extend-rule in a new project in 2023, I found postcss-mixins to be a practical alternative. But thanks for your work and maintenance so far! |
@openmindculture, I looked at postcss-mixins as a replacement, but a mere install + find-replace seems inadequate to begin using it. How did you transition to postcss-mixins? Do you find the overhead acceptable compared to @extend? |
@wesleyboar I didn't use much of it, but I found it worked better for me than extend. I can't remember the precise reason, but there must have been some problem or inconvenience. Only syntax I have been using so far: @define-mixin typography-heading-h1 $className {
$(className) {
font-size: var(--font-size-40);
@mixin-content;
}
}
@mixin typography-heading-h1 .example__headline {
color: green;
} |
Thank you. Yup, that's all I would need to do with it. It's verbose, but at least its official and not near as outdated. I also looked at postcss-nested-import, but it would require a file for every import, and postcss-css-modules, but it would not allow tag selectors nor complex selectors. |
Having gone over both the speculative specification and the implementation in this plugin I think this feature is a bit problematic in the current state of CSS. This feature was a lot less complex before nesting and before I don't think something like this will ever become a native feature and I also don't think it is pure/powerful enough as meta programming. I think we will deprecate this plugin if we encounter serious issues in the future. |
This is just a notice that this plugin is mostly unmaintained. This means that there's no one actively developing new features or fixes for it.
While I see this plugin is popular I just want to acknowledge the situation so it's clear up front. That said, I'm happy to review pull requests that address any bug and do all of the publish process moving forward however as my time (and other's) is limited, we're mostly focusing on plugins under https://github.com/csstools/postcss-plugins
Thank you for your understanding
The text was updated successfully, but these errors were encountered: