Replies: 3 comments 10 replies
-
Hi and thanks for trying out Vueflow :) Did you import the default theme? The edge animation is part of the default-theme.css file. /* import the default theme */
@import "node_modules/@braks/vue-flow/dist/theme-default.css"; /* default-theme.css */
.vue-flow__edge.animated path {
stroke-dasharray: 5;
animation: dashdraw 0.5s linear infinite;
} The toggle is only part of the example so the dark nodes have to be styled by yourself, i.e. something like this has to be present in your css: .vue-flow__node.dark {
background: #557;
color: #f8f8f8;
} |
Beta Was this translation helpful? Give feedback.
-
Returning to this thread for an update :
|
Beta Was this translation helpful? Give feedback.
-
@vvroul Css files are now preprocessed by postcss (version ^0.4.0) before bundling them with the library, thus avoiding issues when no preprocessor is used on the users end. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'd like to ask if there are any CSS dependencies that someone should import while setting up the project and the examples.
I have successfully imported the appropriate styles as stated in the README file, but while trying to run the Basic Example from the examples page, something seems to be missing.
Thank you so much! Keep up the great work!
Beta Was this translation helpful? Give feedback.
All reactions