From 9e87d9d77ad0fc4fe6830aa7d338abadf6f68085 Mon Sep 17 00:00:00 2001 From: Kirill Kliavin Date: Tue, 19 Sep 2017 02:47:12 +1000 Subject: [PATCH 1/2] font-family property fix in Setting type section --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf6034c..d80c4cf 100644 --- a/README.md +++ b/README.md @@ -162,20 +162,20 @@ First, provide the typeface variable, and then provide `$fontsize`, `$lineheight // Heading level 1. h1 { // Set font-family - font-family-of($sans); + font-family: font-family-of($sans); // Set type settings @include typeset($font: $sans, $fontsize: 38px, $lineheight: 38px, $leader: 2, $trailer: 2rem); } // Heading level 2. h2 { - font-family-of($sans); + font-family: font-family-of($sans); @include typeset($sans, 26px, 28px, 2, 1); } // Paragraph. p { - font-family-of($sans); + font-family: font-family-of($sans); @include typeset($sans, 16px, 2rem, 0, 2); } ``` From 6d99fe16be2796f79831a013aa972474664e8ab3 Mon Sep 17 00:00:00 2001 From: Kirill Kliavin Date: Tue, 19 Sep 2017 03:16:53 +1000 Subject: [PATCH 2/2] font-family property fix in Media queries section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d80c4cf..d77c06b 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ To set type at different breakpoints, our `typeset` mixin needs to know about th ```scss p { - font-family-of($sans); + font-family: font-family-of($sans); @include typeset($sans, 16px, 24px, $leader: 0, $trailer: 2); // we can apply a single breakpoint, starting with breakpoint key: 1