Remove the svelte-preprocess dev dependency, keeping global styles with a custom Vite plugin (#4003)

* Remove the svelte-preprocess dev dependency, keeping global styles with a custom Vite plugin

* More robust style tag detection

* Fix CSS regressions
This commit is contained in:
Keavon Chambers
2026-04-03 23:53:46 -07:00
committed by GitHub
parent 55463fe0aa
commit e0212ca4b9
55 changed files with 99 additions and 144 deletions
+3 -3
View File
@@ -813,7 +813,7 @@
></div>
{/if}
<style lang="scss" global>
<style lang="scss">
.graph {
position: relative;
overflow: hidden;
@@ -996,7 +996,7 @@
z-index: 1;
// Zero specificity with `:where()` to allow other rules to override `pointer-events`
:where(.graph-view.open & > *) {
:where(.graph-view.open .graph .imports-and-exports > *) {
pointer-events: auto;
}
@@ -1098,7 +1098,7 @@
height: 100%;
// Zero specificity with `:where()` to allow other rules to override `pointer-events`
:where(.graph-view.open & > *) {
:where(.graph-view.open .graph .layers-and-nodes > *) {
pointer-events: auto;
}
}