As of January 3rd, 2023 the ACCESS NYC Pattern library package is deprecated in favor of the NYC Opportunity Standard which contains updated user interface elements and usability guidance.
Margin
Source:
src/utilities/margin/margin
.ms-{{ token }}
and .me-{{ token }}
extend tailwindcss margin utilities by adding margin to the start
.ms-
or end
.me-
of an element based on the reading direction of the stylesheet language.
Margin End 4×
Margin Start 4×
<div class="bg-grey-lightest"> <p class="me-4 color-dark-background">Margin End 4×</p> </div> <div class="bg-grey-lightest"> <p class="ms-4 color-dark-background">Margin Start 4×</p> </div>