Pushed to version 0.1.8. Details in changelog. (Makefile, FontAwesome, sass)

This commit is contained in:
dcooperdalrymple
2021-05-12 11:57:24 -05:00
parent 97a28d04a6
commit 4025007901
124 changed files with 65 additions and 11037 deletions

View File

@@ -0,0 +1,13 @@
// Convert pixels to ems
// eg. for a relational value of 12px write em(12) when the parent is 16px
// if the parent is another value say 24px write em(12, 24)
@function em($pxval, $base: $em-base) {
@if not unitless($pxval) {
$pxval: strip-units($pxval);
}
@if not unitless($base) {
$base: strip-units($base);
}
@return ($pxval / $base) * 1em;
}