Skip to content

Commit

Permalink
fix: replace @use with @forward for SCSS modules
Browse files Browse the repository at this point in the history
This replaces @use with @forward rule for the SCSS modules
that combine mixins from more stylesheets and export it
for furthe consumers.

https://sass-lang.com/documentation/at-rules/forward/
  • Loading branch information
gkarat committed Jan 13, 2025
1 parent 1d526e9 commit 86ab817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

@use '~@redhat-cloud-services/frontend-components-utilities/styles/_mixins.scss' as m;
@import '~@patternfly/patternfly/sass-utilities/all';
@forward '~@redhat-cloud-services/frontend-components-utilities/styles/_mixins.scss';
@forward '~@patternfly/patternfly/sass-utilities/all';
6 changes: 3 additions & 3 deletions packages/utils/src/styles/_all.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Sass Imports
@use './_variables.scss' as variables;
@use './_helpers.scss' as helpers;
@use './_mixins.scss' as mixins;
@forward './_variables.scss';
@forward './_helpers.scss';
@forward './_mixins.scss';

0 comments on commit 86ab817

Please sign in to comment.