Refactor SVG gradients and IDs for consistency and clarity

- Updated gradient IDs in google_chrome_icon.svg to be more descriptive.
- Refactored gradient IDs in grafana.svg for better identification.
- Changed gradient IDs in homebridge.svg to follow a consistent naming convention.
- Modified gradient IDs in jellyfin.svg for clarity and consistency.
- Updated gradient IDs in shadoll.svg to avoid conflicts.
- Renamed ID in tesla.svg for better identification.
- Enhanced svg-cleanup.js to fix single-letter ID conflicts by prefixing them with the filename, improving SVG file integrity.
This commit is contained in:
sHa
2025-06-19 17:21:55 +03:00
parent 374ece5142
commit cb373ffef2
30 changed files with 1260 additions and 1200 deletions

View File

@@ -3,80 +3,80 @@
<g>
<g>
<path fill="#DB4437" d="M13.1 38v63.4h37l32.5-56.3h73.6C142.5 18.3 114.7 0 82.6 0 53.4 0 27.8 15.1 13.1 38z" />
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="31.876" y1="88.608" x2="81.16" y2="117.397"
<linearGradient id="google_chrome_a" gradientUnits="userSpaceOnUse" x1="31.876" y1="88.608" x2="81.16" y2="117.397"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#a52714" stop-opacity=".6" />
<stop offset=".66" stop-color="#a52714" stop-opacity="0" />
</linearGradient>
<path fill="url(#a)" d="M13.1 38v63.4h37l32.5-56.3h73.6C142.5 18.3 114.7 0 82.6 0 53.4 0 27.8 15.1 13.1 38z" />
<path fill="url(#google_chrome_a)" d="M13.1 38v63.4h37l32.5-56.3h73.6C142.5 18.3 114.7 0 82.6 0 53.4 0 27.8 15.1 13.1 38z" />
</g>
<path fill="#3E2723" fill-opacity=".15" d="M13.1 38l37.1 63.5.8-.5-37.3-64c-.2.4-.4.7-.6 1z" />
<g>
<path fill="#0F9D58"
d="M78.7 165.1l36.4-36.4v-27.3h-65L13.1 38C4.8 50.8 0 66.2 0 82.6c0 44.3 34.9 80.5 78.7 82.5z" />
<linearGradient id="b" gradientUnits="userSpaceOnUse" x1="108.026" y1="20.515" x2="53.267" y2="52.592"
<linearGradient id="google_chrome_b" gradientUnits="userSpaceOnUse" x1="108.026" y1="20.515" x2="53.267" y2="52.592"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#055524" stop-opacity=".4" />
<stop offset=".33" stop-color="#055524" stop-opacity="0" />
</linearGradient>
<path fill="url(#b)"
<path fill="url(#google_chrome_b)"
d="M78.7 165.1l36.4-36.4v-27.3h-65L13.1 38C4.8 50.8 0 66.2 0 82.6c0 44.3 34.9 80.5 78.7 82.5z" />
</g>
<path fill="#263238" fill-opacity=".15" d="M77.7 165.1c.3 0 .7 0 1 .1l35.7-62.5-.8-.5-35.9 62.9z" />
<g>
<path fill="#FFCD40" d="M78.7 165.1l36.4-36.4v-27.3l-36.4 63.7z" />
<linearGradient id="c" gradientUnits="userSpaceOnUse" x1="84.006" y1="113.753" x2="97.796" y2="53.367"
<linearGradient id="google_chrome_c" gradientUnits="userSpaceOnUse" x1="84.006" y1="113.753" x2="97.796" y2="53.367"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#ea6100" stop-opacity=".3" />
<stop offset=".66" stop-color="#ea6100" stop-opacity="0" />
</linearGradient>
<path fill="url(#c)" d="M78.7 165.1l36.4-36.4v-27.3l-36.4 63.7z" />
<path fill="url(#google_chrome_c)" d="M78.7 165.1l36.4-36.4v-27.3l-36.4 63.7z" />
<polygon fill="#FFCD40" points="115.1 101.4 115.1 101.4 115.1 101.4" />
<linearGradient id="d" gradientUnits="userSpaceOnUse" x1="122.072" y1="58.72" x2="122.203" y2="58.15"
<linearGradient id="google_chrome_d" gradientUnits="userSpaceOnUse" x1="122.072" y1="58.72" x2="122.203" y2="58.15"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#ea6100" stop-opacity=".3" />
<stop offset=".66" stop-color="#ea6100" stop-opacity="0" />
</linearGradient>
<polygon fill="url(#d)" points="115.1 101.4 115.1 101.4 115.1 101.4" />
<polygon fill="url(#google_chrome_d)" points="115.1 101.4 115.1 101.4 115.1 101.4" />
</g>
<g>
<path fill="#FFCD40"
d="M82.6 45.1l32.5 56.3-36.4 63.7c1.3.1 2.6.1 3.9.1 45.6 0 82.6-37 82.6-82.6 0-13.5-3.3-26.3-9-37.5H82.6z" />
<linearGradient id="e" gradientUnits="userSpaceOnUse" x1="110.858" y1="119.885" x2="124.648" y2="59.499"
<linearGradient id="google_chrome_e" gradientUnits="userSpaceOnUse" x1="110.858" y1="119.885" x2="124.648" y2="59.499"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#ea6100" stop-opacity=".3" />
<stop offset=".66" stop-color="#ea6100" stop-opacity="0" />
</linearGradient>
<path fill="url(#e)"
<path fill="url(#google_chrome_e)"
d="M82.6 45.1l32.5 56.3-36.4 63.7c1.3.1 2.6.1 3.9.1 45.6 0 82.6-37 82.6-82.6 0-13.5-3.3-26.3-9-37.5H82.6z" />
</g>
<radialGradient id="f" cx="662.024" cy="114.808" r="78.928" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
<radialGradient id="google_chrome_f" cx="662.024" cy="114.808" r="78.928" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#3e2723" stop-opacity=".2" />
<stop offset="1" stop-color="#3e2723" stop-opacity="0" />
</radialGradient>
<polygon fill="url(#f)" points="156.2 45.1 82.6 45.1 82.6 64.7 156.2 45.1" />
<polygon fill="url(#google_chrome_f)" points="156.2 45.1 82.6 45.1 82.6 64.7 156.2 45.1" />
<g>
<polygon fill="#0F9D58" points="50.1 101.4 50.1 101.4 50.1 101.3 50.1 101.4" />
<linearGradient id="g" gradientUnits="userSpaceOnUse" x1="111.558" y1="26.543" x2="56.799" y2="58.62"
<linearGradient id="google_chrome_g" gradientUnits="userSpaceOnUse" x1="111.558" y1="26.543" x2="56.799" y2="58.62"
gradientTransform="matrix(1 0 0 -1 -7 159.82)">
<stop offset="0" stop-color="#055524" stop-opacity=".4" />
<stop offset=".33" stop-color="#055524" stop-opacity="0" />
</linearGradient>
<polygon fill="url(#g)" points="50.1 101.4 50.1 101.4 50.1 101.3 50.1 101.4" />
<polygon fill="url(#google_chrome_g)" points="50.1 101.4 50.1 101.4 50.1 101.3 50.1 101.4" />
</g>
<radialGradient id="h" cx="596.03" cy="121.782" r="73.264" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
<radialGradient id="google_chrome_h" cx="596.03" cy="121.782" r="73.264" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#3e2723" stop-opacity=".2" />
<stop offset="1" stop-color="#3e2723" stop-opacity="0" />
</radialGradient>
<polygon fill="url(#h)" points="13.1 38 50.1 101.4 66.9 91.7 13.1 38" />
<radialGradient id="i" cx="665.46" cy="77.08" r="82.488" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
<polygon fill="url(#google_chrome_h)" points="13.1 38 50.1 101.4 66.9 91.7 13.1 38" />
<radialGradient id="google_chrome_i" cx="665.46" cy="77.08" r="82.488" gradientTransform="matrix(1 0 0 -1 -583 159.82)"
gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#263238" stop-opacity=".2" />
<stop offset="1" stop-color="#263238" stop-opacity="0" />
</radialGradient>
<polygon fill="url(#i)" points="115.1 101.4 98.4 91.7 78.7 165.1" />
<polygon fill="url(#google_chrome_i)" points="115.1 101.4 98.4 91.7 78.7 165.1" />
<g transform="translate(-7 -7)">
<circle fill="#F1F1F1" cx="89.6" cy="89.6" r="37.5" />
<circle fill="#4285F4" cx="89.6" cy="89.6" r="30" />
@@ -117,12 +117,12 @@
<path fill="#3E2723" fill-opacity=".15"
d="M89.6 171.3c45.5 0 82.3-36.7 82.6-82.1v.5c0 45.6-37 82.6-82.6 82.6S7 135.2 7 89.6v-.5c.3 45.4 37.1 82.2 82.6 82.2z" />
</g>
<radialGradient id="j" cx="31.676" cy="137.277" r="165.924" gradientTransform="matrix(1 0 0 -1 -7 159.82)"
<radialGradient id="google_chrome_j" cx="31.676" cy="137.277" r="165.924" gradientTransform="matrix(1 0 0 -1 -7 159.82)"
gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff" stop-opacity=".1" />
<stop offset="1" stop-color="#fff" stop-opacity="0" />
</radialGradient>
<circle fill="url(#j)" cx="82.6" cy="82.6" r="82.6" />
<circle fill="url(#google_chrome_j)" cx="82.6" cy="82.6" r="82.6" />
</g>
<path fill="currentColor"
d="M210.2 84.7c0-17.8 12.5-31.4 30.3-31.4 14.1 0 22 8.4 25.6 16.7l-9.9 4.7c-2.6-6.8-8.4-11-16.2-11-9.4 0-18.3 8.4-18.3 21.4 0 12.5 8.9 21.4 18.3 21.4 8.4 0 14.1-4.2 17.3-11l9.9 4.2c-3.7 8.4-12 16.7-26.1 16.7-18.4-.3-30.9-13.9-30.9-31.7zM286 55.4l-.5 8.4h.5c3.1-5.2 10.5-9.9 18.8-9.9 15.2 0 22.5 9.9 22.5 24.6v36.1h-11V80c0-12-6.3-16.2-14.6-16.2-9.4 0-15.7 8.9-15.7 18.3v32.4h-11V28.8h11v26.6zm52.8 59.1V55.4h10.5v9.4h.5c2.6-6.8 11-11 17.3-11 3.7 0 5.8.5 8.4 1.6l-4.2 10.5c-1.6-.5-3.7-1-5.8-1-7.3 0-15.2 6.3-15.2 17.3v32.4h-11.5zm97.3-29.8c0 17.8-12.5 31.4-30.3 31.4s-30.3-13.6-30.3-31.4 12.5-31.4 30.3-31.4 30.3 13.6 30.3 31.4zm-11 0c0-13.6-9.4-21.4-19.3-21.4s-19.3 7.8-19.3 21.4 9.4 21.4 19.3 21.4 19.3-7.8 19.3-21.4zm19.8-29.3h10.5v8.4h.5c3.1-5.8 11-9.9 18.3-9.9 9.4 0 15.7 4.2 18.8 11.5 4.2-6.8 11.5-11.5 20.4-11.5 14.1 0 20.9 9.9 20.9 24.6v36.1h-11.5V80c0-12-4.7-16.2-13.1-16.2-8.9 0-15.2 8.9-15.2 18.3v32.4h-11V80c0-12-4.7-16.2-13.1-16.2-8.9 0-15.2 8.9-15.2 18.3v32.4h-11V55.4h.7zm97.3 29.3c0-16.7 11.5-31.4 28.8-31.4s28.8 12.5 28.8 31.4v2.1h-46.5c.5 12.5 9.4 19.3 18.8 19.3 6.3 0 13.1-2.6 16.2-9.9l9.9 4.2c-3.7 8.4-12 16.2-25.6 16.2-18.4-.5-30.4-14.1-30.4-31.9zm28.7-20.9c-8.4 0-14.6 5.8-16.7 14.1h34c-.5-5.2-4.7-14.1-17.3-14.1z" />

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 10 KiB