2.3.1 #tools.font-size.shila-breakpoint-font-size shila-breakpoint-font-size
@mixin shila-breakpoint-font-size($breakpoint, $font-sizes,
$line-heights: (), $rem: true)
Sets the font size and/or optionally the line height for the provided
breakpoint if found in the provided Sass map(s). If the font size is in
pixels, it will be converted to rem
unless the optional
$rem
parameter is set to false
.
Parameters:
-
$breakpoint
Breakpoint key to use with the provided Sass map(s). -
$font-sizes
Sass map containing font sizes keyed by breakpoints. -
$line-heights
(Optional.) Sass map containing line heights keyed by breakpoints. -
$rem
(Optional.) Boolean indicating whether apx
value should be converted torem
.
Source:
partials/tools/_tools.font-size.scss
, line 12