to Text Style
HandyTextStyle을 androidx.compose.foundation.text.BasicText에 적용하기 위한 TextStyle로 변환하는 함수입니다.
Dp 단위로 되어있는 fontSize, lineHeight를 TextUnit으로 변환하고, 피그마의 텍스트와 다르게 렌더링되는 이슈를 해결하기 위해 platformStyle과 lineHeightStyle을 추가했습니다. ref
HandyTextStyle을 androidx.compose.foundation.text.BasicText에 적용하기 위한 TextStyle로 변환하는 함수입니다.
Dp 단위로 되어있는 fontSize, lineHeight를 TextUnit으로 변환하고, 피그마의 텍스트와 다르게 렌더링되는 이슈를 해결하기 위해 platformStyle과 lineHeightStyle을 추가했습니다. ref