-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix for sass-variable-import-into-js breakage as part of our depen…
…dency upgrades -- see facebook/create-react-app#10047 for details
- Loading branch information
Joshua Krautwurst
authored and
Joshua Krautwurst
committed
Sep 27, 2021
1 parent
40a8c0e
commit 0c24648
Showing
3 changed files
with
18 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@import './_layout.scss'; | ||
|
||
/* webpack export statement exposes these variables to our JS files */ | ||
/* we have to do this in a separate *.module.scss file because of this bug https://github.com/facebook/create-react-app/issues/10047 */ | ||
:export { | ||
extraLargeWidthMin: $xl-layout-width-min; | ||
largeHeightMin: $lg-height-min; | ||
largeWidthMin: $lg-layout-width-min; | ||
mediumHeightMax: $md-height-max; | ||
mediumHeightMin: $md-height-min; | ||
mediumWidthMin: $md-layout-width-min; | ||
mediumWidthMax: $md-layout-width-max; | ||
pageIsAtMediumHeightAndWidth: $whenPageIsMediumHeightAndWidth; | ||
pageIsTallAndMediumWidth: $whenPageIsTallAndMediumWidth; | ||
pageIsTallAndWide: $whenPageIsIsTallAndWide; | ||
smallHeightMax: $sm-height-max; | ||
} |
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