This is cool! Trying to remember all of the grid properties is usually pretty annoying, so I can imagine this being very helpful. I think it would be good to not generate as opinionated styles (no background colors, padding, grid-gap, border, ...). Most of the time I think I would remove those styles. Maybe as a boolean flag?
Yeah, memorizing the properties and having to look them up each time was actually a key reason behind creating this tool.
I have defined some flags for padding and margin but I haven't implemented them yet.
In the next update I can remove the default padding and margin and maybe only put it in if a "default" flag is set. And there could be a separate "highlight" flag for adding borders and margins on the areas (for presentation purposes).
Thanks a lot for the suggestion! Looking forward to implementing it :)
Or you could support a .config file for certain things. padding = true type stuff too
padding = true
That's an interesting approach too. Will definitely think about it!
Based on your suggestions and a few other suggestions from the comments and on Github, I've created the next version of get-grid. It's explained in the 2nd article of the series that you can check out here.
Thanks for the suggestion :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.