fix(core): remove node border styles from required styles (#1954)

* fix(core): remove node border styles from required styles

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2025-09-11 15:14:45 +02:00
parent c9770732dc
commit 2ebe3d9088
3 changed files with 87 additions and 90 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@vue-flow/core": patch
---
Remove border related styles from the required styles and move them into the default theme stylesheet
-15
View File
@@ -133,21 +133,6 @@
transform-origin: 0 0; transform-origin: 0 0;
} }
.vue-flow__node-default,
.vue-flow__node-input,
.vue-flow__node-output {
border-width: 1px;
border-style: solid;
border-color: #bbb;
&.selected,
&:focus,
&:focus-visible {
outline: none;
border: 1px solid #555;
}
}
.vue-flow__node { .vue-flow__node {
position: absolute; position: absolute;
user-select: none; user-select: none;
+7
View File
@@ -55,6 +55,13 @@
box-shadow: 0 0 0 0.5px var(--vf-box-shadow); box-shadow: 0 0 0 0.5px var(--vf-box-shadow);
} }
&.selected,
&:focus,
&:focus-visible {
outline: none;
border: 1px solid #555;
}
.vue-flow__handle { .vue-flow__handle {
background: var(--vf-handle); background: var(--vf-handle);
} }