-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch variables and mixins to global scope
- Loading branch information
1 parent
bbced3c
commit 106daac
Showing
76 changed files
with
722 additions
and
722 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
@use "../abstracts/mixins"; | ||
@use "../abstracts/variables"; | ||
@use "../abstracts/mixins" as *; | ||
@use "../abstracts/variables" as *; | ||
|
||
.container { | ||
max-width: variables.$site-width; | ||
max-width: $site-width; | ||
margin: 0 auto; | ||
padding-left: variables.$gutter-sm; | ||
padding-right: variables.$gutter-sm; | ||
padding-left: $gutter-sm; | ||
padding-right: $gutter-sm; | ||
|
||
@include mixins.media-query(medium) { | ||
padding-left: variables.$gutter; | ||
padding-right: variables.$gutter; | ||
@include media-query(medium) { | ||
padding-left: $gutter; | ||
padding-right: $gutter; | ||
} | ||
|
||
@include mixins.media-query(large) { | ||
padding-left: variables.$gutter-lg; | ||
padding-right: variables.$gutter-lg; | ||
@include media-query(large) { | ||
padding-left: $gutter-lg; | ||
padding-right: $gutter-lg; | ||
} | ||
} |
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
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.