uber / react-digraph

A library for creating directed graph editors
MIT License
2.62k stars 268 forks source link

Is it intentional that styling cannot be overriden #323

Closed camer314 closed 3 years ago

camer314 commented 3 years ago

I am not a great expert on the intricacies of webpack and building components however it seems that I am unable to override the SCSS file with my own styles.

In the browser it indicates that all styles are pulled from main.scss which is '#shadow-root (closed)'

Is it possible to override the CSS and if so how would I do that in my own SCSS?

camer314 commented 3 years ago

Sorry, I realised it becomes a matter of the import order. If I import my component ahead of anything else then my custom styles work as expected