Set a custom unit for unitless properties #978
thecrowkeep
started this conversation in
Ideas
Replies: 1 comment
-
I would love to also be able to customise the unitless unit somehow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I rarely write styles with
px
in mind, I usually want to user
/em
units for accessibility reasons, andpx
is only ever an override to keep a dimension consistent regardless of font size (for example horizontal padding on text).With how rarely I use
px
, the unitless properties feature is pointless for me, but I would totally use it ifrem
was postfixed instead!Maybe something like this for the sprinkles package:
Beta Was this translation helpful? Give feedback.
All reactions