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
@@ -287,7 +287,7 @@
|
||||
cursor: pointer;
|
||||
&:checked {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 16 16" fill="@{accentColor}" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>'
|
||||
'<svg viewBox="0 0 16 16" fill="@{accent-color}" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user