It can be tricky, while integrating the figma design file, to map some small px values to their rem equivalent. Thus, this PR proposes a new util function converting pixel to rem. It would ensure that all size values can scale base on the font-size base, while keeping a good developer experience.
6 lines
80 B
Markdown
6 lines
80 B
Markdown
---
|
|
"@openfun/cunningham-react": minor
|
|
---
|
|
|
|
add pixel-to-rem sass util function
|