This adds rvt-gap-*, rvt-gap-col-* and rvt-gap-row-* utility classes.
I feel like it makes sense to encourage the use of the rvt-gap-col-* and rvt-gap-row-* variants over rvt-gap-*, as that gives more explicit control over the styling. But I'm leaving rvt-gap-* for completeness.
I added a $spacing variable to make it easy to loop through those tokens. There may be other areas that could use it, but that refactor would should be done in a different PR.
Some of the larger spacing variants seem outlandish, but it also seems arbitrary to dictate which space values will be included. So, I've included all of them.
I named it rvt-gap-col-* instead of rvt-gap-column-* to make it more succinct, even though the CSS property name is column-gap.
Because gap can be used for both grid and flex, I did not categorize this under the flex utilities.
Notes:
rvt-gap-*
,rvt-gap-col-*
andrvt-gap-row-*
utility classes.rvt-gap-col-*
andrvt-gap-row-*
variants overrvt-gap-*
, as that gives more explicit control over the styling. But I'm leavingrvt-gap-*
for completeness.$spacing
variable to make it easy to loop through those tokens. There may be other areas that could use it, but that refactor would should be done in a different PR.rvt-gap-col-*
instead ofrvt-gap-column-*
to make it more succinct, even though the CSS property name iscolumn-gap
.gap
can be used for both grid and flex, I did not categorize this under the flex utilities.