optimize icons

This commit is contained in:
bmFtZQ 2021-05-09 06:40:38 +08:00 committed by GitHub
parent 4a2d8f8410
commit d2a8f3cea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 26 deletions

View file

@ -1,6 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 8 0 C 7.4892078 1.25625e-06 6.9781058 0.2605667 6.6953125 0.78125 L 0.18554688 12.765625 C -0.36012118 13.770348 0.35793995 15 1.4902344 15 L 14.509766 15 C 15.64205 15 16.360101 13.770348 15.814453 12.765625 L 9.3046875 0.78125 C 9.0218893 0.26056168 8.5107922 -1.25625e-06 8 0 z M 8 1.0058594 C 8.1702694 1.0058594 8.3413139 1.0920622 8.4355469 1.265625 L 14.943359 13.25 C 15.125175 13.584875 14.887194 13.994141 14.509766 13.994141 L 1.4902344 13.994141 C 1.1127958 13.994141 0.87474465 13.584875 1.0566406 13.25 L 7.5644531 1.265625 C 7.6587159 1.0920622 7.8297306 1.0058594 8 1.0058594 z M 8.0605469 4.9257812 C 7.7844069 4.9257812 7.5605469 5.1496413 7.5605469 5.4257812 L 7.5605469 9.4257812 C 7.5605469 9.7018812 7.7844069 9.9257812 8.0605469 9.9257812 C 8.3366469 9.9257812 8.5605469 9.7018812 8.5605469 9.4257812 L 8.5605469 5.4257812 C 8.5605469 5.1496413 8.3366469 4.9257812 8.0605469 4.9257812 z M 8.0605469 10.925781 C 7.6463369 10.925781 7.3105469 11.261481 7.3105469 11.675781 C 7.3105469 12.089981 7.6463369 12.425781 8.0605469 12.425781 C 8.4747469 12.425781 8.8105469 12.089981 8.8105469 11.675781 C 8.8105469 11.261481 8.4747469 10.925781 8.0605469 10.925781 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M8 0c-.51 0-1.022.26-1.305.781L.185 12.766C-.36 13.77.359 15 1.49 15h13.02c1.132 0 1.85-1.23 1.304-2.234L9.304.78A1.471 1.471 0 0 0 8 0zm0 1.006a.49.49 0 0 1 .436.26l6.507 11.984a.502.502 0 0 1-.433.744H1.49a.502.502 0 0 1-.433-.744L7.564 1.266A.49.49 0 0 1 8 1.006zm.06 3.92a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0v-4a.5.5 0 0 0-.5-.5zm0 6a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 517 B

Before After
Before After

View file

@ -1,6 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 8 0 C 6.34315 0 5 1.34315 5 3 L 5 4 L 4 4 C 2.89543 4 2 4.89543 2 6 L 2 13 C 2 14.1046 2.89543 15 4 15 L 12 15 C 13.1046 15 14 14.1046 14 13 L 14 6 C 14 4.89543 13.1046 4 12 4 L 11 4 L 11 3 C 11 1.34315 9.6569 0 8 0 z M 8 1 C 9.1046 1 10 1.89543 10 3 L 10 4 L 6 4 L 6 3 C 6 1.89543 6.89543 1 8 1 z M 4 5 L 12 5 C 12.5523 5 13 5.44772 13 6 L 13 13 C 13 13.5523 12.5523 14 12 14 L 4 14 C 3.44772 14 3 13.5523 3 13 L 3 6 C 3 5.44772 3.44772 5 4 5 z M 8 8.5 C 7.44772 8.5 7 8.9477 7 9.5 C 7 10.0523 7.44772 10.5 8 10.5 C 8.5523 10.5 9 10.0523 9 9.5 C 9 8.9477 8.5523 8.5 8 8.5 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M8 0a3 3 0 0 0-3 3v1H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a3 3 0 0 0-3-3zm0 1a2 2 0 0 1 2 2v1H6V3a2 2 0 0 1 2-2zM4 5h8a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm4 3.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>
</svg>

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 393 B

Before After
Before After

View file

@ -1,5 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 4 0 C 2.89543 0 2 0.89543 2 2 L 2 14 C 2 15.1046 2.89543 16 4 16 L 12 16 C 13.1046 16 14 15.1046 14 14 L 14 5.4140625 C 14 5.0162425 13.841847 4.6348256 13.560547 4.3535156 L 9.6464844 0.43945312 C 9.3651844 0.15815313 8.9837375 -3.7007434e-17 8.5859375 0 L 4 0 z M 4 1 L 8 1 L 8 4.5 C 8 5.32843 8.6716 6 9.5 6 L 13 6 L 13 14 C 13 14.5523 12.5523 15 12 15 L 4 15 C 3.44772 15 3 14.5523 3 14 L 3 2 C 3 1.44772 3.44772 1 4 1 z M 9 1.2070312 L 12.792969 5 L 9.5 5 C 9.2239 5 9 4.77614 9 4.5 L 9 1.2070312 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V5.414a1.5 1.5 0 0 0-.44-1.06L9.647.439A1.5 1.5 0 0 0 8.586 0H4zm0 1h4v3.5A1.5 1.5 0 0 0 9.5 6H13v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm5 .207L12.793 5H9.5a.5.5 0 0 1-.5-.5V1.207z"/>
</svg>

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 387 B

Before After
Before After

View file

@ -1,5 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 5.4765625 2 A 0.5 0.5 0 0 0 5.1464844 2.1464844 A 0.5 0.5 0 0 0 5.1464844 2.8535156 L 10.292969 8 L 5.1464844 13.146484 A 0.5 0.5 0 0 0 5.1464844 13.853516 A 0.5 0.5 0 0 0 5.8535156 13.853516 L 11.353516 8.3535156 A 0.50005 0.50005 0 0 0 11.353516 7.6464844 L 5.8535156 2.1464844 A 0.5 0.5 0 0 0 5.4765625 2 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M5.477 2a.5.5 0 0 0-.33.146.5.5 0 0 0 0 .708L10.292 8l-5.147 5.146a.5.5 0 0 0 0 .708.5.5 0 0 0 .708 0l5.5-5.5a.5.5 0 0 0 0-.708l-5.5-5.5A.5.5 0 0 0 5.477 2z"/>
</svg>

Before

Width:  |  Height:  |  Size: 486 B

After

Width:  |  Height:  |  Size: 302 B

Before After
Before After

View file

@ -1,5 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 8 0 C 3.58172 0 0 3.58172 0 8 C 0 12.4183 3.58172 16 8 16 C 12.4183 16 16 12.4183 16 8 C 16 3.58172 12.4183 0 8 0 z M 8 1 C 11.866 1 15 4.13401 15 8 C 15 11.866 11.866 15 8 15 C 4.13401 15 1 11.866 1 8 C 1 4.13401 4.13401 1 8 1 z M 8.0488281 4 C 7.6346381 4 7.2988281 4.33579 7.2988281 4.75 C 7.2988281 5.16422 7.6346381 5.5 8.0488281 5.5 C 8.4630281 5.5 8.7988281 5.16422 8.7988281 4.75 C 8.7988281 4.33579 8.4630281 4 8.0488281 4 z M 8 6.5 C 7.72387 6.5 7.5 6.72386 7.5 7 L 7.5 11.501953 L 7.5078125 11.591797 C 7.5501525 11.825097 7.75455 12.001953 8 12.001953 C 8.2762 12.001953 8.5 11.778153 8.5 11.501953 L 8.5 7 L 8.4921875 6.9101562 C 8.4497875 6.6769063 8.2455 6.5 8 6.5 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1zm.049 3a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM8 6.5a.5.5 0 0 0-.5.5v4.502l.008.09a.5.5 0 0 0 .992-.09V7l-.008-.09A.5.5 0 0 0 8 6.5z"/>
</svg>

Before

Width:  |  Height:  |  Size: 858 B

After

Width:  |  Height:  |  Size: 345 B

Before After
Before After

View file

@ -1,5 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path
style="fill:context-fill;fill-opacity:context-fill-opacity"
d="M 4 2 C 2.3490681 2 1 3.3490681 1 5 C 1 6.6509319 2.3490681 8 4 8 C 5.6509319 8 7 6.6509319 7 5 C 7 3.3490681 5.6509319 2 4 2 z M 4 3 C 5.1104918 3 6 3.8895082 6 5 C 6 6.1104918 5.1104918 7 4 7 C 2.8895082 7 2 6.1104918 2 5 C 2 3.8895082 2.8895082 3 4 3 z M 8 4 C 7.989565 4.0003246 7.979144 4.0009791 7.96875 4.0019531 C 7.9895224 4.1671596 7.9999594 4.3334958 8 4.5 C 7.9999594 4.6665042 7.9895224 4.8328435 7.96875 4.9980469 C 7.9791437 4.999024 7.9895655 4.9996754 8 5 L 14.5 5 C 14.776142 5 15 4.7761424 15 4.5 C 15 4.2238576 14.776142 4 14.5 4 L 8 4 z M 12 8 C 10.349068 8 9 9.3490681 9 11 C 9 12.650932 10.349068 14 12 14 C 13.650932 14 15 12.650932 15 11 C 15 9.3490681 13.650932 8 12 8 z M 12 9 C 13.110492 9 14 9.8895082 14 11 C 14 12.110492 13.110492 13 12 13 C 10.889508 13 10 12.110492 10 11 C 10 9.8895082 10.889508 9 12 9 z M 1.5 11 C 1.2238675 11.000001 1 11.223858 1 11.5 C 1 11.776142 1.2238675 12.000001 1.5 12 L 8 12 C 8.010434 11.9996 8.020857 11.999024 8.03125 11.998047 C 8.010478 11.832844 8.0000406 11.666504 8 11.5 C 8.000043 11.333512 8.01048 11.167141 8.03125 11.001953 C 8.020857 11.000953 8.010435 11.00034 8 11 L 1.5 11 z " />
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path style="fill:context-fill;fill-opacity:context-fill-opacity" d="M4 2C2.35 2 1 3.35 1 5s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3zm0 1c1.11 0 2 .89 2 2 0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2zm4 1-.031.002a4 4 0 0 1 0 .996A.5.5 0 0 0 8 5h6.5a.5.5 0 0 0 0-1H8zm4 4c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3zm0 1c1.11 0 2 .89 2 2 0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2zM1.5 11a.5.5 0 0 0 0 1H8l.031-.002a4 4 0 0 1 0-.996A.494.494 0 0 0 8 11H1.5z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 546 B

Before After
Before After