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?
I'm a software engineer who loves creating prototypes, tools, and basically anything that automates. I work mostly on the frontend, and love exploring unique frontend problems.
Hi Craig,
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 :)
I'm a software engineer who loves creating prototypes, tools, and basically anything that automates. I work mostly on the frontend, and love exploring unique frontend problems.
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 :)
I'm a software engineer who loves creating prototypes, tools, and basically anything that automates. I work mostly on the frontend, and love exploring unique frontend problems.
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?
Hi Craig,
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 :)
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 tooThat's an interesting approach too. Will definitely think about it!