Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

v9.0.0-beta.2 - update @use rules in _type.scss #371

Merged
merged 5 commits into from
Jun 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/scss/tools/mixins/_type.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use '../../settings/variables' as v;
@use '../functions/strip-units' as functions;
DamianMullins marked this conversation as resolved.
Show resolved Hide resolved
@use '../functions/units' as units;

// ==========================================================================
// Typography mixins
Expand Down Expand Up @@ -50,7 +51,7 @@
@if length($font-list) > 1 and $line-height == true {
$line-height: nth($font-list, 2);

line-height: line-height($font-size, $line-height);
line-height: units.line-height($font-size, $line-height);
}
} @else {
@if $relativeToParent == true {
Expand Down