I created variables for font sizes and line height. I then created styles that use those variables. An issue is present if you have different styles for mobile and desktop. Styles the first values for the first mode listed which leads to incorrect values displayed. In the attached video you can see the font size and line height are are 48 & 51.5, but the values displayed in the style section are 54 & 54.
Detached style displaying font size 48 & line height 51.5

Â
Style showing font size 54 & line height 58

Â