shila-css

2.3.2 #tools.font-size.shila-responsive-font-sizes shila-responsive-font-size

@mixin shila-responsive-font-size($font-sizes, $line-heights: (), $rem: true)

Sets font sizes and/or optionally line heights for all breakpoints found in the provided Sass map(s). If font sizes are in pixels, they will be converted to rem unless the optional $rem parameter is set to false.

Parameters:
  • $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 a px value should be converted to rem.
Source: partials/tools/_tools.font-size.scss, line 46