Skip to content

Commit

Permalink
⬆️ Update Sass to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontendland committed Nov 11, 2024
1 parent b415d12 commit 516d2ad
Show file tree
Hide file tree
Showing 65 changed files with 449 additions and 178 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"svelte.plugin.svelte.compilerWarnings": {},
"eslint.validate": [
"svelte"
]
],
"search.exclude": {
"**/dist": true,
"**/build": true
},
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ yarn add webcoreui
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:

```scss
@import 'webcoreui/styles';
@use 'webcoreui/styles' as *;
@include setup((
// Define paths for your fonts
fontRegular: '/fonts/Inter-Regular.woff2',
Expand Down
7 changes: 7 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ export default defineConfig({
vite: {
ssr: {
noExternal: ['webcoreui']
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
}
})
Loading

0 comments on commit 516d2ad

Please sign in to comment.