Hi Alf:
Is it possible to change the color of the arrows without changing the template?
Thanks.
How to change the Arrows Colors?
Re: How to change the Arrows Colors?
Good point
I will start adding more config parameters(like arrow styling) tomorrow.
Alf
I will start adding more config parameters(like arrow styling) tomorrow.
Alf
Re: How to change the Arrows Colors?
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.
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.
-
- Posts: 25
- Joined: Tue Feb 28, 2017 2:40 pm
Re: How to change the Arrows Colors?
Thanks, it is working. Now I can see the arrows in green
Who is online
Users browsing this forum: No registered users and 1 guest