mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 01:28:12 +08:00
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:
@@ -732,7 +732,7 @@
|
||||
</LayoutRow>
|
||||
</FloatingMenu>
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.color-picker {
|
||||
--widget-height: 24px;
|
||||
--picker-size: 256px;
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</LayoutRow>
|
||||
</FloatingMenu>
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.dialog {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</div>
|
||||
</FloatingMenu>
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.eyedropper-preview {
|
||||
pointer-events: none;
|
||||
|
||||
|
||||
@@ -560,7 +560,7 @@
|
||||
</LayoutCol>
|
||||
</FloatingMenu>
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.menu-list {
|
||||
.search {
|
||||
margin: 4px;
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
</div>
|
||||
</LayoutCol>
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.node-catalog {
|
||||
max-height: 30vh;
|
||||
min-width: 250px;
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<style lang="scss" global>
|
||||
<style lang="scss">
|
||||
.tooltip {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
|
||||
Reference in New Issue
Block a user