diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-05-18 21:24:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 19:24:28 +0000 |
commit | 1865db1a9308fea1b3a82db2e8c70e583ad69820 (patch) | |
tree | 2577f0cc2da6af74ca8da8638b41f72237c45673 /ext/images/add-duplicate-term-kanji-blue.svg | |
parent | 96c6b970e996ead52249d895fa6c7e7104e6d3da (diff) |
refactor svg code for icons (#962)
* step-1
* step-2
* add-term-kana
* remove from add-term-kanji
* duplicate kana
* blue versions
* filter ids
Diffstat (limited to 'ext/images/add-duplicate-term-kanji-blue.svg')
-rw-r--r-- | ext/images/add-duplicate-term-kanji-blue.svg | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/ext/images/add-duplicate-term-kanji-blue.svg b/ext/images/add-duplicate-term-kanji-blue.svg index 9e22017e..5a74ae5d 100644 --- a/ext/images/add-duplicate-term-kanji-blue.svg +++ b/ext/images/add-duplicate-term-kanji-blue.svg @@ -1,39 +1,37 @@ <?xml version="1.0" encoding="UTF-8"?> <svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> - <linearGradient id="linearGradient328" x1="-1.7198" x2="-1.7198" y1="3.5719" y2=".79375" gradientTransform="matrix(3.7795,0,0,3.7795,14.5,-6.308e-7)" gradientUnits="userSpaceOnUse"> + <linearGradient id="inner-fill" x1="-1.7198" x2="-1.7198" y1="3.5719" y2=".79375" gradientTransform="matrix(3.7795 0 0 3.7795 14.5 -6.308e-7)" gradientUnits="userSpaceOnUse"> <stop stop-color="#6fb558" offset="0"/> <stop stop-color="#a5db9b" offset="1"/> </linearGradient> - <linearGradient id="linearGradient330" x1="7.5406" x2="5.1594" y1="3.3073" y2=".92604" gradientTransform="matrix(3.7795,0,0,3.7795,-16,-6e-7)" gradientUnits="userSpaceOnUse"> + <linearGradient id="outer-rim" x1="7.5406" x2="5.1594" y1="3.3073" y2=".92604" gradientTransform="matrix(3.7795 0 0 3.7795 -16 -6e-7)" gradientUnits="userSpaceOnUse"> <stop stop-color="#34812c" offset="0"/> <stop stop-color="#87b870" offset="1"/> </linearGradient> - <radialGradient id="radialGradient332" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(4.5354,8.0301e-7,-8.0301e-7,4.5354,-1.6,-1.6)" gradientUnits="userSpaceOnUse"> + <radialGradient id="center-shadow" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(4.5354 8.0301e-7 -8.0301e-7 4.5354 -1.6 -1.6)" gradientUnits="userSpaceOnUse"> <stop stop-opacity=".28986" offset="0"/> <stop stop-opacity="0" offset="1"/> </radialGradient> - <filter id="filter134" x="-.038462" y="-.038462" width="1.0769" height="1.0769" color-interpolation-filters="sRGB"> - <feColorMatrix result="color1" type="hueRotate" values="105"/> - <feColorMatrix result="color2" type="saturate" values="1"/> - </filter> - <filter id="filter136" x="-.038462" y="-.038462" width="1.0769" height="1.0769" color-interpolation-filters="sRGB"> - <feColorMatrix result="color1" type="hueRotate" values="105"/> - <feColorMatrix result="color2" type="saturate" values="1"/> + <filter id="green-to-blue" x="-.038462" y="-.038462" width="1.0769" height="1.0769" color-interpolation-filters="sRGB"> + <feColorMatrix type="hueRotate" values="105"/> + <feColorMatrix type="saturate" values="1"/> + <feColorMatrix type="hueRotate" values="0"/> </filter> + + <symbol id="plus-in-circle" viewBox="0 0 16 16"> + <circle cx="8" cy="8" r="6.5" fill="url(#inner-fill)"/> + <circle cx="8" cy="8" r="5.75" fill="none" stroke="#fff" stroke-opacity=".50196" stroke-width="1.5"/> + <circle cx="8" cy="8" r="6.5" fill="none" stroke="url(#outer-rim)"/> + <circle cx="8" cy="8" r="3" fill="url(#center-shadow)"/> + <path d="m5 7h2v-2h2v2h2v2h-2v2h-2v-2h-2v-2" fill="#fff"/> + </symbol> </defs> - <g transform="matrix(.91504 0 0 .91504 2.2745 -.91504)" filter="url(#filter136)"> - <circle cx="8" cy="8" r="6.5" fill="url(#linearGradient328)"/> - <circle cx="8" cy="8" r="5.75" fill="none" stroke="#fff" stroke-opacity=".50196" stroke-width="1.5"/> - <circle cx="8" cy="8" r="6.5" fill="none" stroke="url(#linearGradient330)"/> - <circle cx="8" cy="8" r="3" fill="url(#radialGradient332)"/> - <path d="m5 7h2v-2h2v2h2v2h-2v2h-2v-2h-2v-2" fill="#fff"/> + + <g transform="matrix(.91504 0 0 .91504 2.2745 -.91504)" filter="url(#green-to-blue)"> + <use xlink:href="#plus-in-circle"/> </g> - <g transform="matrix(.91504 0 0 .91504 -.91504 2.2745)" filter="url(#filter134)"> - <circle cx="8" cy="8" r="6.5" fill="url(#linearGradient328)"/> - <circle cx="8" cy="8" r="5.75" fill="none" stroke="#fff" stroke-opacity=".50196" stroke-width="1.5"/> - <circle cx="8" cy="8" r="6.5" fill="none" stroke="url(#linearGradient330)"/> - <circle cx="8" cy="8" r="3" fill="url(#radialGradient332)"/> - <path d="m5 7h2v-2h2v2h2v2h-2v2h-2v-2h-2v-2" fill="#fff"/> + <g transform="matrix(.91504 0 0 .91504 -.91504 2.2745)" filter="url(#green-to-blue)"> + <use xlink:href="#plus-in-circle"/> </g> </svg> |