Can't change the default colors globally #882
-
I want to change the colors when the nodes are selected. There are two possibilities, described in the documentation - global change and just for specific node. The second way works. But I couldn't change the define --vf-node-color and --vf-box-shadow globally. There stay always with the old values. I just added the following code in my global css-file: :root { There is no change. Is there any example how this must be done in the right way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Seems to be a bug that you can't use the css vars with I'll fix the problem though (will be in |
Beta Was this translation helpful? Give feedback.
Seems to be a bug that you can't use the css vars with
:root
.If you use it on a specific node type like
vue-flow__node-input
it's ok.I'll fix the problem though (will be in
1.19.1
)