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.
80 B
80 B
@openfun/cunningham-react
| @openfun/cunningham-react |
|---|
| minor |
add pixel-to-rem sass util function