From: Nicolas Coden Date: Mon, 5 Dec 2016 09:41:14 +0000 (+0100) Subject: Improve -zf-breakpoint-value description X-Git-Tag: v6.3.0-rc2~13^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9439%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Improve -zf-breakpoint-value description --- diff --git a/scss/util/_mixins.scss b/scss/util/_mixins.scss index 5aed84d0d..8959ebdf0 100644 --- a/scss/util/_mixins.scss +++ b/scss/util/_mixins.scss @@ -243,12 +243,11 @@ } } -/// Generate the content passed to the mixin with a value `$-zf-bp-value` related to a breakpoint, depending on the `$name` parameter. -/// @param {Number|Keyword} $name [auto] -/// The $name parameter accepts multiple values: -/// - A single value will be directly passed as `$-zf-bp-value` to the mixin content. -/// - A breakpoint name will make `$-zf-bp-value` the corresponding value in `$map`. -/// - "auto" will generate the mixin content for each breakpoint in `$map` with the corresponding value as `$-zf-bp-value`. +/// Generate the `@content` passed to the mixin with a value `$-zf-bp-value` related to a breakpoint, depending on the `$name` parameter: +/// - For a single value, `$-zf-bp-value` is this value. +/// - For a breakpoint name, `$-zf-bp-value` is the corresponding breakpoint value in `$map`. +/// - For "auto", `$-zf-bp-value` is the corresponding breakpoint value in `$map` and is passed to `@content`, which is made responsive for each breakpoint of `$map`. +/// @param {Number|Keyword} $name [auto] - Single value or breakpoint name to use. "auto" by default. /// @param {Number|Map} $map - Map of breakpoints and values or single value to use. @mixin -zf-breakpoint-value( $name: auto,