Describe the bug
When creating tokens, font sizes are being created as px values instead of rem values. However, the values is coming without the px word, only the value itself. So when using tokens for font sizes, the sizes of the fonts are not changing.
Open the inspector and inspect the font size of any Button text
Scroll down to the styles tab/section in the inspector
You can see that the button text is using the --font-size-body, and this value is coming as 18 instead of 18px or 1.125rem.
Expected behavior
Font sizes tokens should be coming in this way 18px or the rem value, instead of only 18. It would be better if the value comes as they were coming before, in rem values.
Describe the bug When creating tokens, font sizes are being created as
px
values instead ofrem
values. However, the values is coming without thepx
word, only the value itself. So when using tokens for font sizes, the sizes of the fonts are not changing.To Reproduce Steps to reproduce the behavior:
npm run develop
Button text
--font-size-body
, and this value is coming as18
instead of18px
or1.125rem
.Expected behavior Font sizes tokens should be coming in this way
18px
or therem
value, instead of only18
. It would be better if the value comes as they were coming before, inrem
values.Screenshots