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

add support for multiple combinators? #387

Closed
deleite opened this issue Apr 15, 2021 · 1 comment
Closed

add support for multiple combinators? #387

deleite opened this issue Apr 15, 2021 · 1 comment

Comments

@deleite
Copy link

deleite commented Apr 15, 2021

Hi.
I realized we are not able to use multiple combinators, did not find anything related in the docs. This specially needed for checkboxes used as states and validation error texts.
Ex: Input:c~Parent_Wrapper>Bgc(blue)

Any possibility we can have that feature added? Course I can add an extra file to cover that but would be nice to have that.

@deleite
Copy link
Author

deleite commented Apr 30, 2021

After using the tool for a while I really don't think atomic css can cover all use cases it is best used for tokens and any grouped set I would put it in it own class. Layout and flow styles are usually consistent and goes together. Different from spacing, colors, text, and etc. Which are usually tokens and works great for that.

Same for complex selectors, I found that is cleaner and easier to use generic class names and group them to have the complex selector I want and use sass to get the tokens I need to use.

I closing this issue and I don't think having complex selector feature would be a good addition or of value to this project.

@deleite deleite closed this as completed Apr 30, 2021
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

1 participant