Closed burntcustard closed 3 years ago
Go to bed, John.
Maybe I am in bed :stuck_out_tongue_winking_eye: It was ages ago I thought of this - it needed writing down before I forgot! :laughing:
Switched and added in https://github.com/wearelighthouse/stemCSS/pull/32
Using
u-mx-
(margin-x-axis) andu-my-
(margin-y-axis) rather thanu-mh-
(margin-horizontal) andu-mv-
(margin-vertical), would make stemCSS more similar to Bootstrap and Tailwind CSS syntax. Margin and padding utilities and/or classes, with default.25rem
steps are common in other frameworks too, and I've been including those in most projects we've worked on recently, so those should get thrown in too (just got to decide where/what setting/s should go).This would all be good because it'd reduce the amount of re-learning syntax for devs already used to one or any of these frameworks. Also, everybody else is doing it this way - does that mean it (
m-x/y
etc.) is right? In this case, as a lot of them are open source... I'd say yes, it probably is.