From eb062e6acd083654e56052170ed11ce6893a4e21 Mon Sep 17 00:00:00 2001 From: Boris Damevin Date: Tue, 18 Feb 2020 01:38:08 +0100 Subject: [PATCH] refactor: @use position --- packages/mdc-base/_mixins.scss | 3 ++- packages/mdc-typography/_functions.scss | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/mdc-base/_mixins.scss b/packages/mdc-base/_mixins.scss index 293e5c8d632..74839cc4257 100644 --- a/packages/mdc-base/_mixins.scss +++ b/packages/mdc-base/_mixins.scss @@ -1,4 +1,3 @@ -@use "sass:list"; // // Copyright 2018 Google Inc. // @@ -21,6 +20,8 @@ // THE SOFTWARE. // +@use "sass:list"; + // This variable is not intended to be overridden externally; it uses !default to avoid being reset // every time this file is imported. $styles-emitted_: () !default; diff --git a/packages/mdc-typography/_functions.scss b/packages/mdc-typography/_functions.scss index e0c1339f15e..c748a09bfd9 100644 --- a/packages/mdc-typography/_functions.scss +++ b/packages/mdc-typography/_functions.scss @@ -1,6 +1,3 @@ -@use "sass:map"; -@use "sass:string"; - // // Copyright 2018 Google Inc. // @@ -23,6 +20,9 @@ // THE SOFTWARE. // +@use "sass:map"; +@use "sass:string"; + @function get-global-variable_($style) { @if $style == "headline1" { @return $mdc-typography-styles-headline1;