feature: Add function to convert pixel to rem

This commit is contained in:
GOMA 2025-07-15 12:31:46 +02:00
parent 5e203ce469
commit c1fbfaf9a9

View File

@ -0,0 +1,6 @@
@use "sass:math";
// Convert pixel to rem
@function convert($size) {
@return (math.div($size, 16px)) * 1rem;
}