Skip to content

Commit 516d2ad

Browse files
committed
⬆️ Update Sass to latest version
1 parent b415d12 commit 516d2ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+449
-178
lines changed

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"svelte.plugin.svelte.compilerWarnings": {},
33
"eslint.validate": [
44
"svelte"
5-
]
5+
],
6+
"search.exclude": {
7+
"**/dist": true,
8+
"**/build": true
9+
},
610
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ yarn add webcoreui
8282
Create an empty [`webcore.config.scss`](https://webcoreui.dev/docs/css-configuration#webcoreconfigscss) file at the root of your project to setup CSS configurations. Setup default styles and fonts by calling the following in your global SCSS file:
8383

8484
```scss
85-
@import 'webcoreui/styles';
85+
@use 'webcoreui/styles' as *;
8686
@include setup((
8787
// Define paths for your fonts
8888
fontRegular: '/fonts/Inter-Regular.woff2',

astro.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ export default defineConfig({
2020
vite: {
2121
ssr: {
2222
noExternal: ['webcoreui']
23+
},
24+
css: {
25+
preprocessorOptions: {
26+
scss: {
27+
api: 'modern-compiler'
28+
}
29+
}
2330
}
2431
}
2532
})

0 commit comments

Comments
 (0)