Shrinks ok.ru file size (#786)

* ok.ru 615 B → 351 B

Uses strokes to draw shapes instead of complex path outlines.
Shrinks file size by 264 bytes.

Also corrects color to match icon from ok.ru website.

* updates README.md with new, smaller ok.ru file size

---------

Co-authored-by: Terence Eden <edent@users.noreply.github.com>
This commit is contained in:
Brian Tremblay
2024-03-12 19:52:05 +00:00
committed by GitHub
parent b1ec37af22
commit 98a5b8ec53
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="OK.ru" role="img"
viewBox="0 0 512 512"><path
viewBox="0 0 512 512">
<path
d="m0 0H512V512H0"
fill="#EE8208"/><path d="M256 137a36.5 36.5 0 0136.5 36.5a36.5 36.5 0 01-36.5 36.5a36.5 36.5 0 01-36.5-36.5a36.5 36.5 0 0136.5-36.5zm0 124.5c48.6 0 88-39.5 88 -88s-39.5-88 -88 -88s-88 39.5-88 88s39.5 88 88 88m35.6 71.9a164.8 164.8 0 0051-21a25.8 25.8 0 008-35.6a25.8 25.8 0 00-35.6-8a111.9 111.9 0 01-118.6 0a25.8 25.8 0 00-35.6 8a25.8 25.8 0 008 35.6c15.9 10 33 17 51 21l-49 49.3a25.8 25.8 0 0036.5 36.5l48.4-48.5l48.4 48.4a25.8 25.8 0 0036.5 0a25.8 25.8 0 000-36.5l-49.3-49.3" fill="#fff"/></svg>
fill="#f58220"/>
<path fill="none" stroke-width="51.5" stroke="#fff" stroke-linecap="round" d="M318.25 173.5a57.25 57.25 0 10-124.5 0 57.25 57.25 0 10124.5 0M182.5 290.5a137 137 0 00146.5 0M189.25 401l66.25-66.25 66.25 66.25"/></svg>

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 351 B