prevent unnecessary usage of style attribute

This commit is contained in:
peterkogo
2025-04-29 13:59:57 +02:00
parent e47adb446f
commit 14a100270a
2 changed files with 11 additions and 11 deletions
@@ -77,6 +77,7 @@
type: 'default',
data: { label: 'Styled with style' },
style: 'border: 2px solid #ff5050;',
height: 55,
position: { x: 450, y: 150 }
},
{
@@ -234,11 +235,6 @@
</SvelteFlow>
<style>
:global(.svelte-flow .custom-style) {
background: #ff5050;
color: white;
}
:root {
/* --background-color: #ffffdd; */
--background-pattern-color: #5050ff;