Initial commit.

This commit is contained in:
dcooperdalrymple
2021-02-19 16:43:21 -06:00
commit 22f6c8188e
206 changed files with 33366 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Convert pixels to rems
// eg. for a relational value of 12px write rem(12)
// Assumes $em-base is the font-size of <html>
@function rem($pxval) {
@if not unitless($pxval) {
$pxval: strip-units($pxval);
}
$base: $em-base;
@if not unitless($base) {
$base: strip-units($base);
}
@return ($pxval / $base) * 1rem;
}