-
Notifications
You must be signed in to change notification settings - Fork 37
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
Simplify ITCSS integration #324
Comments
Hi, I'm OK with moving the style guide out of the standard bundle. As for the groups, I think what's missing in the Full package is the Just wondering but I think for me personally it would be the best if I could choose one by one from objects, components, and utils :). The other nice feature could be adding the file from whatever group it is while developing because it's hard to know from the beginning if you're going the use one package or another. What I mean is something like |
@marcinkrzeminski that's a good idea :) Reminds me #266 so we could make something which would cover the both cases. Then we can have a list of available objects/components in documentation. Also you're right about |
@jakub300 @arturkot @marcinkrzeminski hey, guys, I'm going to work on this and would like to suggest that common ITCSS implementation consist of the following:
Plus on the WP projects:
So this removes style guide related stuff, then Let me know if that's ok, or you'd like remove some of objects/components yet. If so, we can move them to the recipes repo. Thanks |
Look good to me, however the |
Right, thanks, I wanted to remove Regarding spacing, we could add some more advanced system like https://seesparkbox.com/foundry/manageable_utility_systems_with_css_variables to the recipes. |
The spacing utility seems fine, whatever we decide on as a team is fine for me. At the moment I use my own that works for me .u-margin-top-1x
.u-margin-top-1x-on-small
.u-margin-top-2x ... |
@jakub300 @arturkot @marcinkrzeminski current options for the amount of ITCSS styling can be confusing as it's not documented anywhere. Also differences between the Full styling without style guide and Minimal are very small. So I suggest that we agree on some common ITCSS styling and remove this option completely from scaffolding.
First, I would move the whole styleguide thing to the Chisel recipes repo. If anyone still wants to use it, they can copy it from there. Maybe in the future we can think of some automatic styleguide generation from available components but for now it 's not a live thing so I don't think it's very useful or used often.
Regarding Full vs. Minimal, I think some things which are not in Minimal, like Layout object are useful in real projects, so I'd like them to appear in the common ITCSS. But I'm willing to make compromises for the sake of simplicity and clarity. Anything from the full which doesn't get to the common ITCSS, can live in the recipes repo.
Here is a comparison of what each option has:
Common for each option:
Minimal has the above plus:
Full has all above plus:
Full with style guide has all above plus
What we should have in the common ITCSS in your opinion?
The text was updated successfully, but these errors were encountered: