jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.65k stars 722 forks source link

Importing drawflow theme css breaks my appearance #319

Closed MSoup closed 2 years ago

MSoup commented 2 years ago

Sorry I wasn't sure where to post this question, I know it's not directly related to Drawflow...

This is what I designed: image

When I press export and copy the CSS, and reference it in App.vue like this

<style>
    @import './assets/styles/newStyle.css';
</style>

It breaks my setup. Here is what my browser looks like

image

Do I need to do anything special for importing a theme?

jerosoler commented 2 years ago

You also have to import the minimal theme drawflow.min.css.

The theme does not replace the min file, it overwrites it.

If you don't have it added, try putting the style in head.

MSoup commented 2 years ago

Oh I see. Thank you so much! I didn't realize that I needed to import the theme alongside drawflow.min.css