refactor(css-vars): prefix with xy and fix bgColor prop closes #3669

This commit is contained in:
moklick
2023-11-28 16:35:44 +01:00
parent e9eb0ed516
commit a1e585fdcc
11 changed files with 144 additions and 135 deletions
@@ -45,8 +45,8 @@
<svg
class={cc(['svelte-flow__background', className])}
data-testid="svelte-flow__background"
style:--background-color-props={bgColor}
style:--background-pattern-color-props={patternColor}
style:--xy-background-color-props={bgColor}
style:--xy-background-pattern-color-props={patternColor}
>
<pattern
id={patternId}