]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove references to $rem-base in docs, closes #7775
authorGeoff Kimball <geoff@zurb.com>
Wed, 6 Jan 2016 17:09:14 +0000 (09:09 -0800)
committerGeoff Kimball <geoff@zurb.com>
Wed, 6 Jan 2016 17:09:17 +0000 (09:09 -0800)
docs/pages/global.md
scss/util/_breakpoint.scss

index c6c7c8d9a76c0f8224891809255a27962174adef..d0b2f90a6229f878f6b82afb4db56e2209f292c2 100644 (file)
@@ -6,9 +6,11 @@ sass: scss/_global.scss
 
 ## Font Sizing
 
-The default font size is set to 100% of the browser style sheet, usually 16 pixels. This ensures compatibility with browser-based text zoom or user-set defaults.
+The default font size is set to 100% of the browser style sheet, usually 16 pixels. This ensures compatibility with browser-based text zoom or user-set defaults. If you're using the Sass version of Foundation, edit the `$global-font-size` variable to change the base font size. This can be a percentage value, or a pixel value.
 
-Since the typical default browser font size is 16 pixels, that makes the calculation for grid size. If you want your base font size to be different and not have it affect the grid breakpoints, set `$rem-base` to `$global-font-size` and make sure `$global-font-size` is a pixel value.
+<div class="alert callout">
+  <p><code>$rem-base</code> was deprecated in version 6.1, in favor of using <code>$global-font-size</code> to define rem calculation.</p>
+</div>
 
 ---
 
index e012cab32d8629f78cd1b5213a5b2fc30e013fcf..c3846a2a2b8c443cfe0004d43cf5a2d8f762b82b 100644 (file)
@@ -118,7 +118,7 @@ $breakpoint-classes: (small medium large) !default;
 
 /// Wraps a media query around the content you put inside the mixin. This mixin accepts a number of values:
 ///  - If a string is passed, the mixin will look for it in the `$breakpoints` map, and use a media query there.
-///  - If a pixel value is passed, it will be converted to an em value using `$rem-base`.
+///  - If a pixel value is passed, it will be converted to an em value using `$global-font-size` as the base.
 ///  - If a rem value is passed, the unit will be changed to em.
 ///  - If an em value is passed, the value will be used as-is.
 ///