Allow optional secondary colorscheme for 1st box.

This commit is contained in:
Thaddee Tyl 2014-01-02 18:05:35 +01:00
parent b6e3fa7d1c
commit 9641fa7eef

View File

@ -1,9 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="{{=it.widths[0]+it.widths[1]}}" height="19">
<linearGradient id="a" x2="0" y2="100%">
<stop offset="0" stop-color="{{=it.colorA[0]||"#aaa"}}"/>
<stop offset=".1" stop-color="{{=it.colorA[1]||"#666"}}"/>
<stop offset=".9" stop-color="{{=it.colorA[2]||"#444"}}"/>
<stop offset="1" stop-color="{{=it.colorA[3]||"#222"}}"/>
<stop offset="0" stop-color="{{=it.colorA?it.colorA[0]:"#aaa"}}"/>
<stop offset=".1" stop-color="{{=it.colorA?it.colorA[1]:"#666"}}"/>
<stop offset=".9" stop-color="{{=it.colorA?it.colorA[2]:"#444"}}"/>
<stop offset="1" stop-color="{{=it.colorA?it.colorA[3]:"#222"}}"/>
</linearGradient>
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="{{=it.colorB[0]}}"/>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB