github sass/dart-sass 1.25.0
Dart Sass 1.25.0

latest releases: 1.72.0, sass_api/9.5.0, 1.71.1...
4 years ago

To install Dart Sass 1.25.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Add functions to the built-in "sass:math" module.

    • clamp($min, $number, $max). Clamps $number in between $min and $max.

    • hypot($numbers...). Given n numbers, outputs the length of the n-dimensional vector that has components equal to each of the inputs.

    • Exponential. All inputs must be unitless. * log($number) or log($number, $base). If no base is provided, performs a natural log. * pow($base, $exponent) * sqrt($number)

    • Trigonometric. The input must be an angle. If no unit is given, the input is assumed to be in rad. * cos($number) * sin($number) * tan($number)

    • Inverse trigonometric. The output is in deg. * acos($number). Input must be unitless. * asin($number). Input must be unitless. * atan($number). Input must be unitless. * atan2($y, $x). $y and $x must have compatible units or be unitless.

  • Add the variables $pi and $e to the built-in "sass:math" module.

JavaScript API

  • constructor.value fields on value objects now match their Node Sass equivalents.

See the full changelog for changes in earlier releases.

Don't miss a new dart-sass release

NewReleases is sending notifications on new releases.