Fix SASS @import depraction warnings (#1534)

* refactor SASS to not use @import

* changelog

* typo
This commit is contained in:
David Sehnal
2025-06-08 09:33:39 +02:00
committed by GitHub
parent c17edb4928
commit d409c4f5ea
33 changed files with 3021 additions and 2805 deletions

View File

@@ -141,7 +141,7 @@ export async function loadStructure(plugin: PluginUIContext, url: string, option
```
- Create `src/style.scss`:
```scss
@import '../node_modules/molstar/lib/mol-plugin-ui/skin/light.scss';
@use '../node_modules/molstar/lib/mol-plugin-ui/skin/light.scss';
```
- Create `build/ui.html`:
```html