shila-css

2.1.2 #tools.core.shila-line-height shila-line-height

@function shila-line-height($px, $breakpoint: "default", $map: $shila-base-font-sizes)

Returns a unitless line height based on the size provided in pixels and other possible provided parameters.

Parameters:
  • $px
    Size in pixels.
  • $breakpoint
    (Optional.) Breakpoint key in the provided or default $map.
  • $map
    (Optional.) Sass map containing font sizes keyed by breakpoints.
Source: partials/tools/_tools.core.scss, line 37