How do I change the link hover color?
ronaldoscotti opened this issue · 1 comments
Hi! First of all, thanks for the awesome plugin! :)
So, I wanted to change the colors of the link, for it to look good in a custom background that my flowchart container has. I was able to change the default and selected link color with defaultLinkColor: '#ddd',
and defaultSelectedLinkColor: '#fff',
, but I wasn't able to find a way to change the default dark blue color that the link has on hover.
Is there an way to do that?
How I've solved:
In the jquery.flochart.js file there is a function called _shadeColor
, that I think it should return a darker version of your link color. For some reason, in my case it was returning dark blue (wich is strange, since my links are white). So I've manually changed the return of that function to the hex of the color that I wanted.