Only convert color names to #RRGGBB if it will actually be shorter
This commit is contained in:
parent
b16629795e
commit
9bec4cc4d0
5 changed files with 92 additions and 13 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0.5" stop-color="rgb(50.0%, 0%, .0%)" />
|
||||
</linearGradient>
|
||||
<solidColor id="c1" solid-color="maroon"/>
|
||||
<solidColor id="c1" solid-color="lightgoldenrodyellow"/>
|
||||
</defs>
|
||||
<rect id="rect" width="100" height="100" fill="rgb(15,16,17)" stroke="darkgrey" />
|
||||
<circle id="circle" cx="100" cy="100" r="30" fill="url(#g1)" stroke="url(#c1)" />
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 534 B |
Loading…
Add table
Add a link
Reference in a new issue