-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scss): import + other minor fixes (#1410)
* Fixing scss import + other minor fixes * Fixing useMetadata in Default Layout * lint fixing * bring back defaultProps * Fixing inline code blocks * Minor info comment * More suggested changes * remove white space * testing vercel again * Fixing yarn * fixing yarn
- Loading branch information
1 parent
e1c6245
commit ffa7fbc
Showing
26 changed files
with
111 additions
and
97 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
12 changes: 6 additions & 6 deletions
12
packages/gatsby-theme-carbon/src/components/ArticleCard/article-card.scss
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
12 changes: 6 additions & 6 deletions
12
packages/gatsby-theme-carbon/src/components/DoDontExample/do-dont-example.scss
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
10 changes: 5 additions & 5 deletions
10
packages/gatsby-theme-carbon/src/components/FeatureCard/feature-card.scss
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
6 changes: 3 additions & 3 deletions
6
packages/gatsby-theme-carbon/src/components/Homepage/homepage.scss
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
12 changes: 6 additions & 6 deletions
12
packages/gatsby-theme-carbon/src/components/ImageCard/image-card.scss
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
8 changes: 4 additions & 4 deletions
8
packages/gatsby-theme-carbon/src/components/PageTable/page-table.scss
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
6 changes: 3 additions & 3 deletions
6
packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card-group.scss
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
12 changes: 6 additions & 6 deletions
12
packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card.scss
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
8 changes: 4 additions & 4 deletions
8
packages/gatsby-theme-carbon/src/components/Utils/Utils.module.scss
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,4 +1,4 @@ | ||
@use '@carbon/react/scss/themes'; | ||
@forward '@carbon/react/scss/theme' with ( | ||
@use '~@carbon/react/scss/themes'; | ||
@forward '~@carbon/react/scss/theme' with ( | ||
$theme: themes.$g10 | ||
); |
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
14 changes: 7 additions & 7 deletions
14
packages/gatsby-theme-carbon/src/styles/internal/_global.scss
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,3 +1,3 @@ | ||
@use '@carbon/grid/scss/flex-grid'; | ||
@use '~@carbon/grid/scss/flex-grid'; | ||
|
||
@include flex-grid.flex-grid(); |
12 changes: 6 additions & 6 deletions
12
packages/gatsby-theme-carbon/src/styles/internal/_page.scss
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,7 +1,7 @@ | ||
// These resources get shared with every css module. | ||
// We only want to import variables/mixins/helpers, not things that generate css. | ||
@use '@carbon/react/scss/compat/themes' as compat; | ||
@use '@carbon/react/scss/compat/theme' as * with ( | ||
@use '~@carbon/react/scss/compat/themes' as compat; | ||
@use '~@carbon/react/scss/compat/theme' as * with ( | ||
$theme: compat.$g100 | ||
); | ||
@use '@carbon/styles/scss/utilities' as *; | ||
@use '~@carbon/styles/scss/utilities' as *; |
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,7 +1,7 @@ | ||
// These resources get shared with every css module. | ||
// We only want to import variables/mixins/helpers, not things that generate css. | ||
@use '@carbon/react/scss/compat/themes' as compat; | ||
@use '@carbon/react/scss/compat/theme' as * with ( | ||
@use '~@carbon/react/scss/compat/themes' as compat; | ||
@use '~@carbon/react/scss/compat/theme' as * with ( | ||
$theme: compat.$g90 | ||
); | ||
@use '@carbon/styles/scss/utilities' as *; | ||
@use '~@carbon/styles/scss/utilities' as *; |
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.