Skip to content

Commit

Permalink
fix: update @import to @use for scss files (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
SvMak authored Feb 8, 2025
1 parent 75a97f7 commit 6126fea
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/components/sections/Community/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
color: #ffffff;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
background-color: var(--ifm-color-primary-darker);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&Content {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&List {
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/docs/Books/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&List {
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/docs/Releases/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&List {
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/docs/Showcase/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&List {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&Title {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
&Tabs {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
padding: 5rem 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.card {
background-color: var(--ifm-color-primary);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
padding: 5rem 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.list {
margin-top: 2.5rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
background-color: var(--ifm-color-primary-darkest);
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/team/TeamList/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.list {
list-style: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
list-style: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
margin-top: 4rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
margin-top: 3.5rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
margin-top: 0.5rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/welcome/Hero/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
padding-bottom: 5rem;
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/welcome/Modules/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
background-color: var(--ifm-color-primary-darker);
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/welcome/WhoUses/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.section {
padding: 5rem 0;
Expand Down
2 changes: 1 addition & 1 deletion src/theme/Footer/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@site/src/scss/breakpoints';
@use '@site/src/scss/breakpoints' as *;

.footer {
&Content {
Expand Down

0 comments on commit 6126fea

Please sign in to comment.