svg.escobar.life

A simple SVG markup editor for the web

Commit
8a0576dd38207d5a93d2f1c4c8015ac3f3b8c1ee
Parent
735f6175483cb531069f7e058d835eadc215e38c
Author
Pablo Escobar Gaviria <gark.garcia@protonmail.com>
Date

Removed unnecessary files from repo.

Diffstat

12 files changed, 42 insertions, 112 deletions

Status File Name N° Changes Insertions Deletions
Added .index.html.swp 0 0 0
Added app.webmanifest 20 20 0
Deleted assets/icons/apple-touch-icon.png 0 0 0
Renamed assets/icons/source/opaque.svg -> assets/icons/favicon-opaque.svg 0 0 0
Added assets/icons/favicon-transparent.svg 8 8 0
Deleted assets/icons/favicon.svg 7 0 7
Deleted assets/icons/safari-pinned-tab.svg 48 0 48
Deleted assets/icons/site.webmanifest 19 0 19
Deleted assets/icons/source/transparent.svg 4 0 4
Modified index.html 24 13 11
Deleted manifest.json 21 0 21
Modified styles.css 3 1 2
diff --git a/.index.html.swp b/.index.html.swp
Binary files differ.
diff --git a/app.webmanifest b/app.webmanifest
@@ -0,0 +1,20 @@
+{
+  "name": "RawSvg",
+  "short_name": "RawSvg",
+  "display": "standalone",
+  "icons": [
+    {
+      "src": "assets/icons/android-chrome-192x192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    },
+    {
+      "src": "assets/icons/android-chrome-512x512.png",
+      "sizes": "512x512",
+      "type": "image/png"
+    }
+  ],
+  "start_url": "index.html",
+  "background_color": "#eeeeff",
+  "theme_color": "#B362FF"
+}
diff --git a/assets/icons/apple-touch-icon.png b/assets/icons/apple-touch-icon.png
Binary files differ.
diff --git a/assets/icons/source/opaque.svg b/assets/icons/favicon-opaque.svg
diff --git a/assets/icons/favicon-transparent.svg b/assets/icons/favicon-transparent.svg
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg width="100%" height="100%" viewBox="0 0 700 700" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
+    <g transform="matrix(0.1,0,0,-0.1,0,700)">
+        <path d="M3278,6995C3277,6994 3237,6990 3190,6986C3103,6979 3085,6977 2965,6959C2855,6942 2853,6942 2772,6924C2480,6860 2230,6774 1970,6647C1293,6318 739,5777 393,5109C269,4871 140,4529 104,4347C102,4337 98,4320 95,4310C92,4300 87,4281 85,4268C82,4255 74,4211 65,4170C18,3932 5,3786 5,3495C5,3299 11,3186 25,3083C35,3016 39,2984 45,2935C49,2908 55,2869 60,2850C65,2831 72,2802 74,2785C101,2636 183,2366 258,2180C432,1748 719,1325 1064,991C1144,913 1181,880 1290,786C1322,758 1491,634 1550,595C1575,579 1597,563 1600,560C1603,557 1617,548 1632,540C1646,532 1709,496 1772,460C2145,244 2595,89 3005,35C3027,33 3061,28 3080,25C3266,-1 3778,-2 3918,25C3934,28 4022,40 4065,45C4255,69 4623,176 4849,272C5053,358 5214,443 5395,559C5914,891 6347,1374 6626,1930C6753,2186 6849,2445 6906,2693C6908,2702 6912,2720 6915,2733C6929,2793 6970,3032 6975,3085C6979,3118 6984,3156 6986,3170C6995,3216 6997,3694 6990,3775C6975,3928 6969,3985 6965,4000C6963,4008 6958,4035 6955,4060C6947,4119 6915,4272 6885,4390C6792,4759 6602,5170 6375,5495C6316,5580 6163,5776 6122,5819C5950,6000 5854,6093 5755,6175C5722,6203 5693,6228 5690,6231C5678,6245 5488,6382 5406,6435C5085,6643 4735,6797 4370,6890C4257,6919 4129,6946 4060,6955C4041,6958 4014,6962 4000,6965C3987,6967 3948,6972 3914,6976C3881,6979 3840,6984 3824,6986C3792,6991 3284,7000 3278,6995ZM4255,5347C4316,5338 4358,5332 4386,5326C4398,5324 4425,5319 4446,5316C4647,5284 4877,5193 5048,5078C5189,4984 5323,4832 5400,4680C5421,4639 5476,4495 5478,4477C5478,4473 5483,4446 5489,4417C5495,4389 5502,4352 5505,4335C5519,4266 5517,3982 5503,3880C5444,3446 5142,3043 4710,2818C4663,2794 4597,2764 4563,2751C4528,2738 4500,2724 4500,2721C4500,2717 4517,2685 4538,2649C4560,2614 4615,2520 4661,2440C4707,2360 4750,2286 4757,2275C4764,2264 4772,2248 4776,2240C4780,2232 4794,2208 4807,2187C4820,2166 4839,2134 4849,2117C4929,1974 5096,1692 5108,1678C5122,1662 5121,1660 5104,1659C5050,1657 4674,1651 4263,1646L3801,1641L3779,1678C3766,1698 3749,1729 3739,1745C3730,1762 3646,1908 3553,2070C3460,2232 3368,2392 3350,2425C3332,2458 3304,2505 3289,2530L3261,2575L3105,2575C3020,2576 2950,2575 2950,2574C2950,2573 2934,2496 2915,2403C2895,2311 2877,2220 2874,2201C2871,2183 2867,2160 2865,2151C2856,2113 2801,1842 2796,1816C2786,1758 2769,1675 2764,1658C2759,1641 2720,1640 2119,1640C1514,1640 1479,1641 1484,1658C1487,1667 1492,1691 1495,1710C1498,1729 1510,1788 1522,1840C1533,1892 1544,1946 1547,1960C1551,1984 1599,2220 1641,2425C1653,2480 1664,2536 1666,2550C1669,2564 1687,2652 1706,2745C1741,2917 1847,3436 1856,3478C1858,3490 1862,3510 1865,3523C1868,3535 1873,3559 1876,3575C1879,3592 1895,3670 1912,3750C1928,3830 1944,3906 1946,3920C1948,3934 1955,3965 1960,3990C1965,4015 1972,4051 1975,4070C1978,4089 1985,4121 1990,4140C1995,4159 2002,4189 2005,4205C2016,4269 2022,4297 2031,4340C2037,4365 2044,4396 2046,4410C2048,4424 2057,4467 2065,4505C2073,4544 2082,4586 2084,4600C2087,4614 2093,4648 2099,4675C2105,4703 2136,4858 2169,5020C2203,5182 2232,5325 2235,5338L2241,5361L3223,5357C3763,5355 4228,5350 4255,5347Z" style="fill-rule:nonzero;"/>
+        <path d="M3318,4389C3313,4386 3309,4381 3311,4379C3312,4377 3308,4346 3301,4310C3294,4274 3286,4236 3284,4225C3280,4204 3263,4119 3255,4085C3236,3993 3140,3526 3140,3523C3140,3521 3279,3520 3448,3521C3791,3522 3861,3530 3967,3582C4078,3636 4148,3711 4192,3826C4211,3876 4215,3904 4215,4005C4215,4121 4214,4128 4182,4192C4132,4295 4056,4347 3916,4377C3844,4392 3340,4402 3318,4389Z" style="fill-rule:nonzero;"/>
+    </g>
+</svg>
diff --git a/assets/icons/favicon.svg b/assets/icons/favicon.svg
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <g transform="matrix(1.73337,0,0,1.73337,-36.6687,-36.6685)">
-        <path d="M46.637,63.208L42.148,63.208L39.432,76.575L21.155,76.575L31.991,23.425L56.292,23.425C63.408,23.425 68.959,24.967 72.916,28.023C76.843,31.079 78.821,35.384 78.821,40.885C79.273,49.722 73.368,57.881 64.205,61.082L73.093,76.335L54.284,76.575L46.607,63.208L46.637,63.208ZM53.516,37.244L47.404,37.244L44.835,49.708L52.365,49.708C54.875,49.708 56.853,49.07 58.241,47.847C59.629,46.598 60.308,44.871 60.308,42.639C60.308,39.051 58.064,37.244 53.516,37.244Z" style="fill:rgb(45,43,85);fill-rule:nonzero;"/>
-    </g>
-</svg>
diff --git a/assets/icons/safari-pinned-tab.svg b/assets/icons/safari-pinned-tab.svg
@@ -1,48 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
- width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
- preserveAspectRatio="xMidYMid meet">
-<metadata>
-Created by potrace 1.11, written by Peter Selinger 2001-2013
-</metadata>
-<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
-fill="#000000" stroke="none">
-<path d="M3278 6995 c-1 -1 -41 -5 -88 -9 -87 -7 -105 -9 -225 -27 -110 -17
--112 -17 -193 -35 -292 -64 -542 -150 -802 -277 -677 -329 -1231 -870 -1577
--1538 -124 -238 -253 -580 -289 -762 -2 -10 -6 -27 -9 -37 -3 -10 -8 -29 -10
--42 -3 -13 -11 -57 -20 -98 -47 -238 -60 -384 -60 -675 0 -196 6 -309 20 -412
-10 -67 14 -99 20 -148 4 -27 10 -66 15 -85 5 -19 12 -48 14 -65 27 -149 109
--419 184 -605 174 -432 461 -855 806 -1189 80 -78 117 -111 226 -205 32 -28
-201 -152 260 -191 25 -16 47 -32 50 -35 3 -3 17 -12 32 -20 14 -8 77 -44 140
--80 373 -216 823 -371 1233 -425 22 -2 56 -7 75 -10 186 -26 698 -27 838 0 16
-3 104 15 147 20 190 24 558 131 784 227 204 86 365 171 546 287 519 332 952
-815 1231 1371 127 256 223 515 280 763 2 9 6 27 9 40 14 60 55 299 60 352 4
-33 9 71 11 85 9 46 11 524 4 605 -15 153 -21 210 -25 225 -2 8 -7 35 -10 60
--8 59 -40 212 -70 330 -93 369 -283 780 -510 1105 -59 85 -212 281 -253 324
--172 181 -268 274 -367 356 -33 28 -62 53 -65 56 -12 14 -202 151 -284 204
--321 208 -671 362 -1036 455 -113 29 -241 56 -310 65 -19 3 -46 7 -60 10 -13
-2 -52 7 -86 11 -33 3 -74 8 -90 10 -32 5 -540 14 -546 9z m977 -1648 c61 -9
-103 -15 131 -21 12 -2 39 -7 60 -10 201 -32 431 -123 602 -238 141 -94 275
--246 352 -398 21 -41 76 -185 78 -203 0 -4 5 -31 11 -60 6 -28 13 -65 16 -82
-14 -69 12 -353 -2 -455 -59 -434 -361 -837 -793 -1062 -47 -24 -113 -54 -147
--67 -35 -13 -63 -27 -63 -30 0 -4 17 -36 38 -72 22 -35 77 -129 123 -209 46
--80 89 -154 96 -165 7 -11 15 -27 19 -35 4 -8 18 -32 31 -53 13 -21 32 -53 42
--70 80 -143 247 -425 259 -439 14 -16 13 -18 -4 -19 -54 -2 -430 -8 -841 -13
-l-462 -5 -22 37 c-13 20 -30 51 -40 67 -9 17 -93 163 -186 325 -93 162 -185
-322 -203 355 -18 33 -46 80 -61 105 l-28 45 -156 0 c-85 1 -155 0 -155 -1 0
--1 -16 -78 -35 -171 -20 -92 -38 -183 -41 -202 -3 -18 -7 -41 -9 -50 -9 -38
--64 -309 -69 -335 -10 -58 -27 -141 -32 -158 -5 -17 -44 -18 -645 -18 -605 0
--640 1 -635 18 3 9 8 33 11 52 3 19 15 78 27 130 11 52 22 106 25 120 4 24 52
-260 94 465 12 55 23 111 25 125 3 14 21 102 40 195 35 172 141 691 150 733 2
-12 6 32 9 45 3 12 8 36 11 52 3 17 19 95 36 175 16 80 32 156 34 170 2 14 9
-45 14 70 5 25 12 61 15 80 3 19 10 51 15 70 5 19 12 49 15 65 11 64 17 92 26
-135 6 25 13 56 15 70 2 14 11 57 19 95 8 39 17 81 19 95 3 14 9 48 15 75 6 28
-37 183 70 345 34 162 63 305 66 318 l6 23 982 -4 c540 -2 1005 -7 1032 -10z"/>
-<path d="M3318 4389 c-5 -3 -9 -8 -7 -10 1 -2 -3 -33 -10 -69 -7 -36 -15 -74
--17 -85 -4 -21 -21 -106 -29 -140 -19 -92 -115 -559 -115 -562 0 -2 139 -3
-308 -2 343 1 413 9 519 61 111 54 181 129 225 244 19 50 23 78 23 179 0 116
--1 123 -33 187 -50 103 -126 155 -266 185 -72 15 -576 25 -598 12z"/>
-</g>
-</svg>
diff --git a/assets/icons/site.webmanifest b/assets/icons/site.webmanifest
@@ -1,19 +0,0 @@
-{
-    "name": "",
-    "short_name": "",
-    "icons": [
-        {
-            "src": "android-chrome-192x192.png",
-            "sizes": "192x192",
-            "type": "image/png"
-        },
-        {
-            "src": "android-chrome-512x512.png",
-            "sizes": "512x512",
-            "type": "image/png"
-        }
-    ],
-    "theme_color": "#ffffff",
-    "background_color": "#ffffff",
-    "display": "standalone"
-}
diff --git a/assets/icons/source/transparent.svg b/assets/icons/source/transparent.svg
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 100 100">
-    <path fill="#2d2b55" d="M50 0c27.596 0 50 22.404 50 50s-22.404 50-50 50S0 77.596 0 50 22.404 0 50 0zm-3.393 63.208l7.677 13.367 18.809-.24-8.888-15.253c9.163-3.203 15.068-11.361 14.616-20.197 0-5.501-1.978-9.806-5.905-12.862-3.957-3.056-9.508-4.598-16.624-4.598H31.991l-10.837 53.15h18.278l2.716-13.367h4.489-.03zm6.909-25.964c4.548 0 6.792 1.807 6.792 5.395 0 2.232-.679 3.959-2.067 5.208-1.388 1.223-3.366 1.861-5.876 1.861h-7.53l2.569-12.464h6.112z"/>
-</svg>
diff --git a/index.html b/index.html
@@ -9,28 +9,30 @@
         <link rel="icon" 
               type="image/svg+xml" 
               sizes="32x32 16x16 180x180" 
-              href="./assets/icons/favicon.svg">
-        
+              href="assets/icons/favicon-opaque.svg">
+
         <link rel="apple-touch-icon" 
               type="image/svg+xml" 
               sizes="32x32 16x16 180x180" 
-              href="./assets/icons/favicon.svg">
-        
+              href="assets/icons/favicon-opaque.svg">
+
         <link rel="mask-icon" 
-              href="./assets/icons/safari-pinned-tab.svg" 
+              href="assets/icons/favicon-transparent.svg" 
               color="#b362ff">
-        
-        <link rel="manifest" href="manifest.json">
+ 
+        <link rel="manifest" href="app.webmanifest">
         <script src="script.min.js"></script>
     </head>
 
     <body>
 	<script>Elm.Main.init()</script>
         <script>
-            const load = () => navigator.serviceWorker
-                .register('./service-worker.js')
-                .then(console.log)
-                .catch(console.error);
+            function load() {
+                navigator.serviceWorker
+                    .register('./service-worker.js')
+                    .then(console.log)
+                    .catch(console.error);
+            }
 
             if ('serviceWorker' in navigator)
                 window.addEventListener('load', load);
diff --git a/manifest.json b/manifest.json
@@ -1,20 +0,0 @@
-{
-  "name": "RawSvg",
-  "short_name": "RawSvg",
-  "display": "standalone",
-  "icons": [
-    {
-      "src": "assets/icons/android-chrome-192x192.png",
-      "sizes": "192x192",
-      "type": "image/png"
-    },
-    {
-      "src": "assets/icons/android-chrome-512x512.png",
-      "sizes": "512x512",
-      "type": "image/png"
-    }
-  ],
-  "start_url": "index.html",
-  "background_color": "#eeeeff",
-  "theme_color": "#B362FF"
-}-
\ No newline at end of file
diff --git a/styles.css b/styles.css
@@ -291,4 +291,4 @@ body > div#container > div#editor > textarea::-moz-selection {
 .elmsh , .elmsh7 { color: var(--light); }
 .elmsh1, .elmsh2, .elmsh6 { color: var(--string); }
 .elmsh3, .elmsh4 { color: var(--tag); }
-.elmsh5 { color: var(--prop); }-
\ No newline at end of file
+.elmsh5 { color: var(--prop); }