refactor(tree-wide): optimize and clean up svgs (#693)
This commit is contained in:
1 parent
f9e3916bd0
commit
051354a2e9
23 files changed
+424
-182
No files matched your search
@@ -246,7 +246,7 @@
|
||||
|
||||
img[alt="GitHub Logo"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15.673" viewBox="0 0 16 15.673"><path fill="@{subtext0}" fill-rule="evenodd" d="M7.976 0C3.566 0 0 3.592 0 8.035c0 3.552 2.285 6.559 5.454 7.623 0.396 0.08 0.541 -0.173 0.541 -0.386 0 -0.186 -0.013 -0.825 -0.013 -1.49 -2.219 0.479 -2.681 -0.958 -2.681 -0.958 -0.357 -0.931 -0.885 -1.171 -0.885 -1.171 -0.726 -0.492 0.053 -0.492 0.053 -0.492 0.806 0.053 1.228 0.825 1.228 0.825 0.713 1.224 1.862 0.878 2.324 0.665 0.066 -0.519 0.277 -0.878 0.502 -1.078 -1.77 -0.186 -3.632 -0.878 -3.632 -3.965 0 -0.878 0.317 -1.596 0.819 -2.155 -0.079 -0.2 -0.357 -1.024 0.079 -2.129 0 0 0.673 -0.213 2.192 0.825a7.669 7.669 0 0 1 1.994 -0.266c0.673 0 1.36 0.093 1.994 0.266 1.519 -1.038 2.192 -0.825 2.192 -0.825 0.436 1.104 0.158 1.929 0.079 2.129 0.515 0.559 0.819 1.277 0.819 2.155 0 3.087 -1.862 3.765 -3.645 3.965 0.291 0.253 0.541 0.732 0.541 1.49 0 1.078 -0.013 1.942 -0.013 2.208 0 0.213 0.145 0.466 0.541 0.386 3.169 -1.064 5.454 -4.071 5.454 -7.623C15.952 3.592 12.374 0 7.976 0z" clip-rule="evenodd"/></svg>'
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15.673" viewBox="0 0 16 15.673"><path fill="@{subtext0}" fill-rule="evenodd" d="M7.976 0C3.566 0 0 3.592 0 8.035a8.03 8.03 0 0 0 5.454 7.623c.396.08.541-.173.541-.386 0-.186-.013-.825-.013-1.49-2.219.479-2.681-.958-2.681-.958-.357-.931-.885-1.171-.885-1.171-.726-.492.053-.492.053-.492.806.053 1.228.825 1.228.825.713 1.224 1.862.878 2.324.665.066-.519.277-.878.502-1.078-1.77-.186-3.632-.878-3.632-3.965 0-.878.317-1.596.819-2.155-.079-.2-.357-1.024.079-2.129 0 0 .673-.213 2.192.825a7.7 7.7 0 0 1 1.994-.266c.673 0 1.36.093 1.994.266 1.519-1.038 2.192-.825 2.192-.825.436 1.104.158 1.929.079 2.129.515.559.819 1.277.819 2.155 0 3.087-1.862 3.765-3.645 3.965.291.253.541.732.541 1.49 0 1.078-.013 1.942-.013 2.208 0 .213.145.466.541.386a8.03 8.03 0 0 0 5.454-7.623C15.952 3.592 12.374 0 7.976 0" clip-rule="evenodd"/></svg>'
|
||||
);
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
@@ -256,7 +256,7 @@
|
||||
}
|
||||
img[alt="X Logo"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" height="16" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" width="16"><path fill="@{subtext0}" d="M16.99 0h3.308l-7.227 8.26 8.502 11.24h-6.657l-5.214-6.817L3.736 19.5H.426l7.73-8.835L0 0h6.826l4.713 6.231L16.99 0Zm-1.161 17.52h1.833L5.83 1.876H3.863L15.829 17.52Z" stroke="none"/></svg>'
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" height="16" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" width="16"><path fill="@{subtext0}" d="M16.99 0h3.308l-7.227 8.26 8.502 11.24h-6.657l-5.214-6.817L3.736 19.5H.426l7.73-8.835L0 0h6.826l4.713 6.231zm-1.161 17.52h1.833L5.83 1.876H3.863z" stroke="none"/></svg>'
|
||||
);
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
|
||||
Reference in new issue
Block a user