mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Simplify SVG app icons for using them inline in HTML
- Drop unnecessary inkscape markup. - Ensure that all the SVGs have viewBox='' attribute. - Drop unnecessary id='' attributes. - Prefix all IDs with 'autoidmagic-'. This will be replaced with a random string for each inlining in HTML to avoid duplicate IDs. Tests: - All SVGs appear the same as before. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
31925252cb
commit
c0dcd15169
46 files changed
+1105
-5141
No files matched your search
@@ -55,11 +55,11 @@
|
||||
class="fil0"
|
||||
points="0,94 87,94 87,180 0,180 "
|
||||
id="polygon6"
|
||||
style="fill:#000000" /><polygon
|
||||
style="fill:currentColor" /><polygon
|
||||
class="fil0"
|
||||
points="94,180 94,94 180,94 180,180 "
|
||||
id="polygon8"
|
||||
style="fill:#000000" /><polygon
|
||||
style="fill:currentColor" /><polygon
|
||||
class="fil0"
|
||||
points="180,87 94,87 94,0 180,0 "
|
||||
id="polygon10"
|
||||
@@ -67,4 +67,4 @@
|
||||
class="fil0"
|
||||
points="87,87 0,87 0,0 87,0 "
|
||||
id="polygon12"
|
||||
style="fill:#000000" /></g></svg>
|
||||
style="fill:#000000" /></g></svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Reference in new issue
Block a user