Skip to content
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

Combine Helper atomic classes elements with others, where same set of properties & values are being used #522

Open
aakashgill opened this issue Oct 17, 2022 · 3 comments

Comments

@aakashgill
Copy link
Contributor

Hi

I'm using this stylelint plugin https://github.com/ssivanatarajan/stylelint-group-selectors in one of my project, which suggests, what elements to group together which has same set of properties and values.

But I'm getting this error on my CSS file, which is generated via Atomizer, as you can see in the screenshot below.

image

Feature Request in Atomizer tool

Is it possible to also combine the Helper Classes properties, like BdStart, with others?

Expected output to be

image

Thanks

@redonkulus
Copy link
Contributor

redonkulus commented Oct 17, 2022

I would suggest that you have stylelint ignore the generated Atomizer CSS file. It may change without you knowing and makes no sense to break your build.

Edit: I misread the original question when I responded. It should do that automatically. I’d have to dig into the code to see why.

@jitendravyas
Copy link

I think what OP is asking should be atomizer's default output. I was surprised to know it's already not happening.

@redonkulus
Copy link
Contributor

Sorry, forgot about this one. I get the issue now, I would have to look at the code to see if helpers can be deduped with the default rule set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants