-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3088 from tvdeyen/sass-deprecations
Convert Sass `@import` into `@use`
- Loading branch information
Showing
44 changed files
with
798 additions
and
666 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@import "./variables"; | ||
@import "./mixins"; | ||
@import "./extends"; | ||
@use "variables"; | ||
@use "mixins"; | ||
@use "extends"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
@import "./deprecation"; | ||
@use "deprecation"; | ||
|
||
@include alchemy-deprecated-variable("$default-padding", "var(--spacing-1)"); | ||
@include alchemy-deprecated-variable("$default-margin", "var(--spacing-1)"); | ||
@include alchemy-deprecated-variable("$text-color", "var(--color-text)"); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable("$default-padding", "var(--spacing-1)"); | ||
@include deprecation.alchemy-deprecated-variable("$default-margin", "var(--spacing-1)"); | ||
@include deprecation.alchemy-deprecated-variable("$text-color", "var(--color-text)"); | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$muted-text-color", | ||
"var(--color-text_muted)" | ||
); | ||
@include alchemy-deprecated-variable("$icon-color", "var(--color-icon)"); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable("$icon-color", "var(--color-icon)"); | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$light-gray", | ||
"var(--color-grey_very_light)" | ||
); | ||
@include alchemy-deprecated-variable("$medium-gray", "var(--color-grey_light)"); | ||
@include alchemy-deprecated-variable("$dark-gray", "var(--color-grey_dark)"); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable("$medium-gray", "var(--color-grey_light)"); | ||
@include deprecation.alchemy-deprecated-variable("$dark-gray", "var(--color-grey_dark)"); | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$very-dark-gray", | ||
"var(--color-grey_very_dark)" | ||
); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$light_yellow", | ||
"var(--color-yellow_light)" | ||
); | ||
@include alchemy-deprecated-variable("$orange", "var(--color-orange_medium)"); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable("$orange", "var(--color-orange_medium)"); | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$dark-orange", | ||
"var(--color-orange_dark)" | ||
); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$very-dark-orange", | ||
"var(--color-orange_very_dark)" | ||
); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$very-light-blue", | ||
"var(--color-blue_very_light)" | ||
); | ||
@include alchemy-deprecated-variable("$light-blue", "var(--color-blue_light)"); | ||
@include alchemy-deprecated-variable("$blue", "var(--color-blue_medium)"); | ||
@include alchemy-deprecated-variable("$dark-blue", "var(--color-blue_dark)"); | ||
@include alchemy-deprecated-variable("$white", "var(--color-white)"); | ||
@include alchemy-deprecated-variable( | ||
@include deprecation.alchemy-deprecated-variable("$light-blue", "var(--color-blue_light)"); | ||
@include deprecation.alchemy-deprecated-variable("$blue", "var(--color-blue_medium)"); | ||
@include deprecation.alchemy-deprecated-variable("$dark-blue", "var(--color-blue_dark)"); | ||
@include deprecation.alchemy-deprecated-variable("$white", "var(--color-white)"); | ||
@include deprecation.alchemy-deprecated-variable( | ||
"$small-font-size", | ||
"var(--font-size_small)" | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.