From ae62ba719ebb2bfc6fbba55d958a8731f6f3abe7 Mon Sep 17 00:00:00 2001 From: Zander Martineau Date: Fri, 27 Jan 2017 14:07:58 +0000 Subject: [PATCH] scss: use shorthand modular-scale function --- assets/src/scss/_variables.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/src/scss/_variables.scss b/assets/src/scss/_variables.scss index ea56d7c3..ffe4f282 100644 --- a/assets/src/scss/_variables.scss +++ b/assets/src/scss/_variables.scss @@ -30,12 +30,12 @@ $baseline : $line-height-base * 1px; $type-scale : 1.25; // Major third $type: ( - micro : ko-modular-scale($font-size-base, -2, $type-scale), - small : ko-modular-scale($font-size-base, -1, $type-scale), // h5, h6 - base : ko-modular-scale($font-size-base, 0, $type-scale), // p, h4 - mid : ko-modular-scale($font-size-base, 1, $type-scale), // h3 - large : ko-modular-scale($font-size-base, 2, $type-scale), // h2 - jumbo : ko-modular-scale($font-size-base, 3, $type-scale) // h1 + micro : ko-ms(-2), + small : ko-ms(-1), // h5, h6 + base : ko-ms(0), // p, h4 + mid : ko-ms(1), // h3 + large : ko-ms(2), // h2 + jumbo : ko-ms(3) // h1 ); // Useful to set here when bold webfonts come as 400 font-weight.