refactor: Optimise icons (#42)

* refactor: Optimise icons

* fix: Complete `contrast` icon

* refactor: Optimise `battery-charging` further
This commit is contained in:
John Letey
2020-07-05 12:27:23 +01:00
committed by GitHub
parent 02b57108c3
commit 031833a296
13 changed files with 29 additions and 29 deletions

View File

@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M7 7H3.77778C2.79594 7 2 7.74619 2 8.66667V15.3333C2 16.2538 2.79594 17 3.77778 17H6M14 7H16.2222C17.2041 7 18 7.74619 18 8.66667V15.3333C18 16.2538 17.2041 17 16.2222 17H13" />
<path d="M7 7H3.78A1.73 1.73 0 0 0 2 8.67v6.66A1.73 1.73 0 0 0 3.78 17H6m8-10h2.22A1.73 1.73 0 0 1 18 8.67v6.66A1.73 1.73 0 0 1 16.22 17H13" />
<polyline points="11 7 8 12 12 12 9 17" />
<line x1="22" x2="22" y1="11" y2="13" />
</svg>

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 442 B

View File

@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10"/>
<path d="M12 18a6 6 0 000-12v12z"/>
<circle cx="12" cy="12" r="10" />
<path d="M12 18a6 6 0 0 0 0-12v12z" />
</svg>

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 285 B

View File

@@ -10,5 +10,5 @@
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<path d="M15 9.35418C14.2671 8.52376 13.1947 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C13.1947 16 14.2671 15.4762 15 14.6458" />
<path d="M15 9.354a4 4 0 1 0 0 5.292" />
</svg>

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 287 B

View File

@@ -13,5 +13,5 @@
<line x1="8" y1="9" x2="8" y2="13" />
<line x1="15" y1="12" x2="15.01" y2="12" />
<line x1="18" y1="10" x2="18.01" y2="10" />
<path d="M17.3195 5H6.68053C4.62605 5 2.91027 6.55524 2.70151 8.59071C2.69626 8.6419 2.69146 8.69141 2.68527 8.7425C2.60372 9.41612 2 14.4551 2 16C2 17.6569 3.34315 19 5 19C6 19 6.5 18.5 7 18L8.41421 16.5858C8.78929 16.2107 9.29799 16 9.82843 16H14.1716C14.702 16 15.2107 16.2107 15.5858 16.5858L17 18C17.5 18.5 18 19 19 19C20.6569 19 22 17.6569 22 16C22 14.4551 21.3963 9.41612 21.3147 8.7425C21.3085 8.69141 21.3037 8.6419 21.2985 8.59071C21.0897 6.55524 19.374 5 17.3195 5Z"/>
<path d="M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z" />
</svg>

Before

Width:  |  Height:  |  Size: 864 B

After

Width:  |  Height:  |  Size: 680 B

View File

@@ -13,5 +13,5 @@
<line x1="8" y1="10" x2="8" y2="14" />
<line x1="15" y1="13" x2="15.01" y2="13" />
<line x1="18" y1="11" x2="18.01" y2="11" />
<rect x="2" y="6" width="20" height="12" rx="2"/>
<rect x="2" y="6" width="20" height="12" rx="2" />
</svg>

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 436 B

View File

@@ -8,7 +8,7 @@
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
>
<circle cx="9" cy="12" r="1" />
<circle cx="9" cy="5" r="1" />
<circle cx="9" cy="19" r="1" />

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 413 B

View File

@@ -10,9 +10,9 @@
stroke-linejoin="round"
>
<line x1="5" y1="8" x2="11" y2="14" />
<path d="M4 14L10 8L12 5" />
<path d="M4 14l6-6 2-3" />
<line x1="2" y1="5" x2="14" y2="5" />
<line x1="7" y1="2" x2="8" y2="2" />
<path d="M22 21L17 11L12 21" />
<path d="M22 21l-5-10-5 10" />
<line x1="14" y1="17" x2="20" y2="17" />
</svg>

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 433 B

View File

@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 7h2a5 5 0 0 1 0 10H15M9 17H7A5 5 0 0 1 7 7H9"/>
<line x1="8" y1="12" x2="16" y2="12"/>
<path d="M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2" />
<line x1="8" y1="12" x2="16" y2="12" />
</svg>

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -9,9 +9,9 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13 3H4C2.89543 3 2 3.89543 2 5V15C2 16.1046 2.89543 17 4 17H20C21.1046 17 22 16.1046 22 15V12" />
<path d="M8 21H16" />
<path d="M12 17V21" />
<path d="M22 3L17 8" />
<path d="M17 3L22 8" />
<path d="M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3" />
<path d="M8 21h8" />
<path d="M12 17v4" />
<path d="M22 3l-5 5" />
<path d="M17 3l5 5" />
</svg>

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 380 B

View File

@@ -9,9 +9,9 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13 3H4C2.89543 3 2 3.89543 2 5V15C2 16.1046 2.89543 17 4 17H20C21.1046 17 22 16.1046 22 15V12" />
<path d="M8 21H16" />
<path d="M12 17V21" />
<path d="M17 8L22 3" />
<path d="M17 3H22V8" />
<path d="M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3" />
<path d="M8 21h8" />
<path d="M12 17v4" />
<path d="M17 8l5-5" />
<path d="M17 3h5v5" />
</svg>

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 379 B

View File

@@ -9,10 +9,10 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<line x1="2" y1="12" x2="22" y2="12"/>
<line x1="12" y1="2" x2="12" y2="22"/>
<path d="M20 16L16 12L20 8"/>
<path d="M4 8L8 12L4 16"/>
<path d="M16 4L12 8L8 4"/>
<path d="M8 20L12 16L16 20"/>
<line x1="2" y1="12" x2="22" y2="12" />
<line x1="12" y1="2" x2="12" y2="22" />
<path d="M20 16l-4-4 4-4" />
<path d="M4 8l4 4-4 4" />
<path d="M16 4l-4 4-4-4" />
<path d="M8 20l4-4 4 4" />
</svg>

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 410 B

View File

@@ -9,5 +9,5 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 2H3v16h5v4l4-4h5l4-4V2zM11 11V7M16 11V7" />
<path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7" />
</svg>

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 265 B

View File

@@ -9,5 +9,5 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 7h2a5 5 0 0 1 0 10H15M9 17H7A5 5 0 0 1 7 7H9"/>
<path d="M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2" />
</svg>

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 272 B