Yes because the scale can be changed to provide different values.  Also, ms(1) does not calculate to the proper value.

From: Aaron Froehlich [mailto:notifications@github.com]
Sent: Wednesday, February 26, 2014 3:17 PM
To: ilrWebServices/ilr-website
Cc: John Peters
Subject: Re: [ilr-website] Styling (#4)


In docroot/sites/all/themes/ilr_theme/scss/base/_variables.scss:

> @@ -1,12 +1,41 @@

> +$row-width: rem-calc(960);

> +// ==================================================

> +// Modular Scale

> +// ==================================================

> +$ms-base: 14px, 960px;

> +$ms-ratio: $golden;

> +

> +// Lists modular scale for debugging

> +//@debug ms-list($Start: -2, $End: 4, $Bases: $ms-base, $Ratios: $ms-ratio);

> +//Current scale: -2, -1, 0, 1, 2, 3, 4, 5 (8.65248px, 12.62939px, 14px, 20.43479px, 22.65248px, 33.06418px, 36.65248px, 53.49896px)

> +

> +$mod07: ms(7);

Is there an advantage to having variables here for ms, as opposed to just calling ms(x)?

—
Reply to this email directly or view it on GitHub<https://github.com/ilrWebServices/ilr-website/pull/4/files#r10097071>.