Skip to content

Commit

Permalink
fix(grid): add _grid.scss and move over flex grid for precedence (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn authored May 18, 2022
1 parent 374476c commit 4d3c1ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '@carbon/grid/scss/flex-grid';
@use 'grid';
@use '@carbon/react/scss/type';
@use '@carbon/react/scss/colors' as *;
@use '@carbon/react/scss/compat/theme' as *;
Expand All @@ -11,7 +11,6 @@

@use 'plex';

@include flex-grid.flex-grid();
@include type.reset();

//---------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions packages/gatsby-theme-carbon/src/styles/internal/_grid.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@use '@carbon/grid/scss/flex-grid';

@include flex-grid.flex-grid();

0 comments on commit 4d3c1ad

Please sign in to comment.