refactor(tree-wide): optimize and clean up svgs (#693)

This commit is contained in:
uncenter authored and GitHub committed 2024-03-22 23:01:02 -04:00
1 parent f9e3916bd0
commit 051354a2e9
23 files changed
+424 -182

No files matched your search

+1 -1
View File
@@ -526,7 +526,7 @@
padding-top: 16px;
padding-left: 12px;
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" fill="@{text}"><path d="M50.4 74.7L23.7 50l26.7-24.7-5.4-5.9L11.9 50 45 80.6l5.4-5.9z"/><path d="M82.6 19.4L49.6 50l33 30.6 5.5-5.9L61.4 50l26.7-24.7-5.5-5.9z"/></svg>'
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" fill="@{text}"><path d="M50.4 74.7 23.7 50l26.7-24.7-5.4-5.9L11.9 50 45 80.6z"/><path d="M82.6 19.4 49.6 50l33 30.6 5.5-5.9L61.4 50l26.7-24.7z"/></svg>'
);
background: url("data:image/svg+xml,@{svg}") no-repeat;
}