Skip to content

Commit 32cc6ac

Browse files
committed
fix warnings
1 parent a123225 commit 32cc6ac

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

src/containers/Accounts/AccountHeader/BalanceSelector/balance-selector.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'src/containers/shared/css/variables' as *;
1+
@use '../../../shared/css/variables.scss' as *;
22

33
.balance-selector {
44
position: relative;

src/containers/shared/components/TokenSearchResults/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../css/variables';
1+
@use '../../css/variables' as *;
22

33
.search-results-menu {
44
position: absolute;

src/containers/shared/css/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ $XRP_XRP: #0a93eb;
155155
$XRP_CAD: #ca3103;
156156
$XRP_OTHERS: #f52a79;
157157

158-
// Font wights
158+
// Font weights
159159
@mixin regular {
160160
font-weight: 400;
161161
}

vite.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,11 @@ export default defineConfig({
8787
autoprefixer({}), // add options if needed
8888
],
8989
},
90+
preprocessorOptions: {
91+
scss: {
92+
api: 'modern-compiler',
93+
silenceDeprecations: ['mixed-decls'],
94+
},
95+
},
9096
},
9197
})

0 commit comments

Comments
 (0)