Skip to content

Releases: Threespot/frontline-sass

5.1.5 Refactor if() to prevent deprecation warnings

15 Dec 21:16

Choose a tag to compare

Refactor Sass if() to prevent deprecation warnings since CSS will support native if() syntax.
https://sass-lang.com/documentation/breaking-changes/if-function/

5.1.4 Update selector utils syntax

02 Oct 20:33

Choose a tag to compare

Replace deprecated selector-append/selector-nest functions with selector.append/selector.nest to prevent warnings.

5.1.3 Bugfix for undo-visually-hidden()

10 Jul 14:21

Choose a tag to compare

The undo-visually-hidden() mixin was missing the clip-path property.

5.1.2 Fix deprecation warnings

25 Jun 17:56

Choose a tag to compare

Replace type-of() with meta.type-of() and append() with list.append() to fix deprecation warnings

5.1.1 Fix deprecation warnings

27 May 19:10

Choose a tag to compare

  • Replace length() and nth() with list.length() and list.nth() to fix deprecation warnings
  • Upgrade gulp-sass from 5 to 6
  • Remove old @import syntax

5.1.0 Burger icon mixins support CSS vars

16 Sep 18:06

Choose a tag to compare

Breaking Change

The burger() and burger-to-cross() mixins now use CSS variables instead of Sass vars:

.icon {
  // Required vars
  --burger-icon-gutter: 6px;
  --burger-icon-stroke-width: 2px;
  --burger-icon-width: 30px;
  // Optional vars, defaults shown
  // --burger-icon-color: currentColor;
  // --burger-icon-radius: 0;
  // --burger-icon-speed: 200ms;
  // --burger-icon-cross-angle: 45deg;
  // --burger-icon-cross-color: currentColor;
  @include burger;

  &.is-active {
    @include burger-to-cross;
  }
}

Docs have been updated https://threespot.github.io/frontline-sass/documentation/#main-mixin-burger

5.0.0 Sass modules

20 Aug 15:20

Choose a tag to compare

4.1.2 Dependency updates and bugfixes

25 Jun 16:43

Choose a tag to compare

  • Fix error in fs-scale-text() deprecation warning
  • Update fs-scale() and fs-scale-clamp() tests to prevent false negatives
  • Upgrade NodeJS from 14.15.4 to 20.15.0
  • Update sass, postcss-scss, and stylelint

3.11.2 Fix error in deprecation warning

25 Jun 16:58

Choose a tag to compare

Fixes error in fs-scale-text() deprecation warning

4.1.1 Fix logging errors in helper functions

29 Aug 20:20

Choose a tag to compare

fs-to-length() and fs-to-number() were copied from this post originally . A year later the author posted an updated version, which I also copied, but I didn’t notice it switched to using Compass for logging instead of the native Sass @warn.

- @warn "Unknown unit `#{$unit}`.";
+ $_: log('Invalid unit `#{$unit}`.');

I think this never caused any issues previously since both functions are rarely used—and when they are it’s unlikely a dev would use them incorrectly. However, the latest version of Sass started complaining about the syntax which led me to realize it used non-Sass code.