diff --git a/src/functions/_functions.scss b/src/functions/_functions.scss new file mode 100644 index 0000000..5b2b7ce --- /dev/null +++ b/src/functions/_functions.scss @@ -0,0 +1,6 @@ +@use "sass:math"; + +// Convert pixel to rem +@function convert($size) { + @return (math.div($size, 16px)) * 1rem; +} \ No newline at end of file