Spacing variable for hop-space-640 does not follow the same standard as other space variables
Closed this issue · 1 comments
cloutierlp commented
I randomly discovered that using the var(--hop-space-640)
wasn't working the same way as other space
variables.
There seems to be a different strategy used to declare this value. It seems like a small error to me, but I prefer to open issue to open a discussion about it.
When I look at the token file it's the only value in "number" rather than "size"
wl-hopper/apps/docs/datas/tokens.json
Lines 755 to 760 in 18b2c36
Resulting in the following variables:
--hop-space-1280: 8rem;
--hop-space-960: 6rem;
--hop-space-800: 5rem;
--hop-space-640: 64; <---------------
--hop-space-480: 3rem;
--hop-space-400: 2.5rem;
--hop-space-320: 2rem;
--hop-space-240: 1.5rem;
--hop-space-160: 1rem;
Is there a usecase that I don't have in mind or is it just not the desired value?
fraincs commented
Fixed in @hopper-ui/tokens@1.0.1