Andy-set-studio / gorko

A tiny Sass token class generator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow for generating utility classes that do more than one thing

mark-reason opened this issue · comments

So to cut down the length of my HTML class attribute values it would be good if I could add a pad-y class that deals with the top and bottom instead of using both pad-t and pad-b.

It's a good idea! I'm just worried that it could over-complicate things, though, so more thought definitely needs to go into it.

One way to fix your specific issue would be to use padding-block, a bit like I did here.

I'll close this for now and keep it under consideration.