Page 1 of 1

How to change the Arrows Colors?

Posted: Tue Mar 07, 2017 10:21 pm
by chessnagar
Hi Alf:
Is it possible to change the color of the arrows without changing the template?

Thanks.

Re: How to change the Arrows Colors?

Posted: Wed Mar 08, 2017 12:57 am
by alf
Good point :)

I will start adding more config parameters(like arrow styling) tomorrow.

Alf

Re: How to change the Arrows Colors?

Posted: Wed Mar 08, 2017 10:13 pm
by alf
I have added support for arrow stylings in the Plugin Setup page now.

Example:

"stroke-width:1;stroke:#FF0000;stroke-opacity:0.8;fill:#FF0000;fill-opacity:0.1"

It's basically a string with styling attributes separated by semicolon;

The arrows are rendered with SVG, so you have to use SVG styling attributes and not HTML styling attributes(example:stroke-width and not border-width). When a styling attribute is set, it will override the default stylings set by the themes.

I'm looking for a way to create your own themes in the plugin. When that is in place, I might remove this option later on.. just so you know :)

But until then, this config option is available.

Re: How to change the Arrows Colors?

Posted: Mon Mar 13, 2017 9:05 pm
by chessnagar
Thanks, it is working. Now I can see the arrows in green :mrgreen: