X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=assets%2Fsass%2Fbourbon%2Fbourbon%2Flibrary%2F_size.scss;fp=assets%2Fsass%2Fbourbon%2Fbourbon%2Flibrary%2F_size.scss;h=0000000000000000000000000000000000000000;hb=608ee6ced3bb9f1200894828d5f91dd8d37e3cce;hp=c90f36ea0b20d410ff7e4993248a99410ecb88b3;hpb=43912bcaf275017baa77551f359b0b2be498e5b3;p=theme-danix.xyz.git diff --git a/assets/sass/bourbon/bourbon/library/_size.scss b/assets/sass/bourbon/bourbon/library/_size.scss deleted file mode 100644 index c90f36e..0000000 --- a/assets/sass/bourbon/bourbon/library/_size.scss +++ /dev/null @@ -1,50 +0,0 @@ -@charset "UTF-8"; - -/// Sets the `width` and `height` of the element in one statement. -/// -/// @argument {number (with unit) | string} $width -/// -/// @argument {number (with unit) | string} $height [$width] -/// -/// @example scss -/// .first-element { -/// @include size(2em); -/// } -/// -/// // CSS Output -/// .first-element { -/// width: 2em; -/// height: 2em; -/// } -/// -/// @example scss -/// .second-element { -/// @include size(auto, 10em); -/// } -/// -/// // CSS Output -/// .second-element { -/// width: auto; -/// height: 10em; -/// } -/// -/// @require {function} _is-size - -@mixin size( - $width, - $height: $width -) { - @if _is-size($height) { - height: $height; - } @else { - @error "`#{$height}` is not a valid length for the `$height` argument " + - "in the `size` mixin."; - } - - @if _is-size($width) { - width: $width; - } @else { - @error "`#{$width}` is not a valid length for the `$width` argument " + - "in the `size` mixin."; - } -}