fix: missing icons - close #1156 (#1157)

This commit is contained in:
Mike Stay 2021-08-14 08:51:50 -06:00 committed by GitHub
parent f0dfdc46b1
commit 39c3f2d537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 550 additions and 45 deletions

3
.gitmodules vendored
View File

@ -13,3 +13,6 @@
[submodule "file-icons/font-awesome"]
path = file-icons/font-awesome
url = https://github.com/FortAwesome/Font-Awesome.git
[submodule "file-icons/bytesize-icons"]
path = file-icons/bytesize-icons
url = git@github.com:danklammer/bytesize-icons.git

View File

@ -79,7 +79,7 @@ fs.readdirSync(path.join(__dirname, "file-icons", "devopicons", "svg")).forEach(
svg
};
});
// Get file icons from file-icons/devopicons
// Get file icons from file-icons/mfixx
fs.readdirSync(path.join(__dirname, "file-icons", "mfixx", "svg")).forEach(icon => {
if (!icon.endsWith(".svg")) return;
let iconName = icon.toLowerCase().replace(".svg", "").replace("-1", "");
@ -101,6 +101,28 @@ fs.readdirSync(path.join(__dirname, "file-icons", "mfixx", "svg")).forEach(icon
svg
};
});
// Get file icons from file-icons/bytesize-icons
fs.readdirSync(path.join(__dirname, "file-icons", "bytesize-icons", "dist", "icons")).forEach(icon => {
if (!icon.endsWith(".svg")) return;
let iconName = icon.toLowerCase().replace(".svg", "");
let text = fs.readFileSync(path.join(__dirname, "file-icons", "bytesize-icons", "dist", "icons", icon), {encoding: "utf8"});
let dimensions = text.match(/viewBox="0 0 (\d+) (\d+)"/);
let width = dimensions[1];
let height = dimensions[2];
let svg = text.substr(text.indexOf(">")+1);
svg = svg.replace("</svg>", "");
if (width === null || height === null) console.log(icon);
fileIconsObject[iconName] = {
width,
height,
svg
};
});
// Override with eDEX-specific icons
fileIconsObject.showDisks = {
width: 24,
@ -147,6 +169,7 @@ fileIconsObject.usb = {
height: 24,
svg: '<path d="M 14.9994,6.99807L 14.9994,10.9981L 15.9994,10.9981L 15.9994,12.9981L 12.9994,12.9981L 12.9994,4.99807L 14.9994,4.99807L 11.9994,0.998068L 8.9994,4.99807L 10.9994,4.99807L 10.9994,12.9981L 7.9994,12.9981L 7.9994,10.9281C 8.7034,10.5611 9.1994,9.84707 9.1994,8.99807C 9.1994,7.78307 8.2144,6.79807 6.9994,6.79807C 5.7844,6.79807 4.7994,7.78307 4.7994,8.99807C 4.7994,9.84707 5.2954,10.5611 5.9994,10.9281L 5.9994,12.9981C 5.9994,14.1031 6.8934,14.9981 7.9994,14.9981L 10.9994,14.9981L 10.9994,18.0491C 10.2894,18.4141 9.7994,19.1451 9.7994,19.9981C 9.7994,21.2131 10.7844,22.1981 11.9994,22.1981C 13.2144,22.1981 14.1994,21.2131 14.1994,19.9981C 14.1994,19.1451 13.7084,18.4141 12.9994,18.0491L 12.9994,14.9981L 15.9994,14.9981C 17.1044,14.9981 17.9994,14.1031 17.9994,12.9981L 17.9994,10.9981L 18.9994,10.9981L 18.9994,6.99807L 14.9994,6.99807 Z"/>'
};
fileIconsObject.audio = fileIconsObject.volume;
// Write the file
fs.writeFileSync(path.join(__dirname, "src", "assets", "icons", "file-icons.json"), JSON.stringify(fileIconsObject, "", 4));
console.log("Wrote file-icons.json");

@ -0,0 +1 @@
Subproject commit 210d2f81c340c838053eed4c5a0385fbf2a033e9

View File

@ -855,9 +855,9 @@
"svg": "<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d=\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z\"/>"
},
"github": {
"width": 512,
"height": 512,
"svg": "<path d=\"M148.7758331,208.8599701c-3.6007233-13.1248932,1.2732239-42.8440247,8.8042755-60.9605255c17.052597,1.8153076,38.0308228,11.4364777,63.1615906,28.8067627c22.5060272-4.6500397,45.840332-4.3568268,69.8555603,0c22.8632507-15.0511322,44.2516785-25.6977997,63.1162415-28.8067627c7.2241211,18.1262665,13.0332642,50.9894104,8.9064026,60.9605255l0.0340271-0.0000153c43.8025513,47.6833191,17.3708801,144.2200623-53.5064087,152.11203c-23.1303711,4.1008301-88.257309,4.2994995-106.8766479,0C121.7670364,348.100769,111.310585,246.0258789,148.7758331,208.8599701z M255.7035522,351.243042c30.6674805,0,54.3970337-3.6589966,70.0995178-11.0223694c15.657074-7.3860474,23.6217957-22.5779724,23.6217957-45.4736328c-0.2236938-8.6820984-1.415741-17.1333313-7.8088989-25.4425659c-20.3049622-26.3906403-45.4502563-15.0628204-85.3280945-15.0389252c-55.0186005-2.5965118-87.7279663-10.192276-93.6702423,40.4474945c0,22.9069824,7.7604675,38.0875549,23.258728,45.4509277C201.3632507,347.5727234,225.0247498,351.243042,255.7035522,351.243042z M202.5938263,320.1888733c-12.018158-9.5565491-12.018158-33.5775452-0.0000153-43.1340942c12.018158-9.5565186,27.122406,2.45401,27.122406,21.5670471S214.611969,329.7453918,202.5938263,320.1888733z M317.8441772,298.6218262c0-19.1130371-15.104248-31.1235657-27.1223755-21.5670471c-12.018158,9.5565491-12.018158,33.5775452,0,43.1340942C302.7399292,329.7453918,317.8441772,317.7348633,317.8441772,298.6218262z M156.2185516,428.3162842c-132.4427185-76.3546753-132.442749-268.277832-0.0000458-344.6325684S455.1134949,103.2905884,455.1134949,256S288.6612549,504.6709595,156.2185516,428.3162842z M512,256C512,59.6616783,297.9924927-63.7160072,127.7110519,34.4531631s-170.2813873,344.9245605,0.0000534,443.093689S512,452.3383484,512,256z\"/>"
"width": "64",
"height": "64",
"svg": "\n <path stroke-width=\"0\" fill=\"currentColor\" d=\"M32 0 C14 0 0 14 0 32 0 53 19 62 22 62 24 62 24 61 24 60 L24 55 C17 57 14 53 13 50 13 50 13 49 11 47 10 46 6 44 10 44 13 44 15 48 15 48 18 52 22 51 24 50 24 48 26 46 26 46 18 45 12 42 12 31 12 27 13 24 15 22 15 22 13 18 15 13 15 13 20 13 24 17 27 15 37 15 40 17 44 13 49 13 49 13 51 20 49 22 49 22 51 24 52 27 52 31 52 42 45 45 38 46 39 47 40 49 40 52 L40 60 C40 61 40 62 42 62 45 62 64 53 64 32 64 14 50 0 32 0 Z\" />\n"
},
"gitkraken": {
"width": 592,
@ -1985,9 +1985,9 @@
"svg": "<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d=\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z\"/>"
},
"twitter": {
"width": 512,
"height": 512,
"svg": "<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d=\"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z\"/>"
"width": "64",
"height": "64",
"svg": "\n <path stroke-width=\"0\" fill=\"currentColor\" d=\"M60 16 L54 17 L58 12 L51 14 C42 4 28 15 32 24 C16 24 8 12 8 12 C8 12 2 21 12 28 L6 26 C6 32 10 36 17 38 L10 38 C14 46 21 46 21 46 C21 46 15 51 4 51 C37 67 57 37 54 21 Z\" />\n"
},
"typo3": {
"width": 512,
@ -6125,9 +6125,9 @@
"svg": "<path d=\"M481.4000549,510.4402466C479.3331604,511.4981995,477.1267395,512,474.9533386,512c-5.1565247,0-10.1287231-2.821167-12.6377258-7.7273254L324.3264771,234.5231323l-37.0393372,53.2015686c-2.7561646,3.9590149-7.1679688,6.0802307-11.6522217,6.0802307c-2.7966614,0-5.6210022-0.8246155-8.0906067-2.5441895c-6.4285889-4.475708-8.0117798-13.3142395-3.5360413-19.7428284l45.6793518-65.6117706L228.2136536,46.6358833l-91.3358002,198.3787384c-3.2755585,7.1147003-11.6975098,10.2267303-18.8138199,6.9516907c-7.115242-3.2760773-10.2272644-11.6990967-6.9517059-18.8143463L214.6596985,8.2502251c2.2714233-4.9327793,7.1599884-8.1353579,12.5892334-8.247757c5.455368-0.1006799,10.4467316,2.885623,12.9200592,7.7203865l247.3986359,483.631897C491.1356201,498.3288574,488.374115,506.8733215,481.4000549,510.4402466z M152.1582184,348.3348999c-4.2421265-7.767395-15.1848755-5.6223755-22.7409821-6.0403442c-20.1726074-1.1159363-39.9911423-0.7704468-60.1681671-1.0819702c-10.2945251-0.1589355-50.1470337-10.3180542-46.0870361,13.4183044c2.5017815,14.6263733,34.394989,11.4317932,44.9056625,11.3929138c-3.4666672,25.4414673-5.4974785,51.160614-8.5931587,76.658905c-0.9933319,8.1818237-7.7019577,25.6878357-1.5211678,32.1669617c9.5543976,10.0155945,21.296875-3.0100403,24.2655563-11.776947c2.9900665-8.8300781,2.6060715-19.2347107,3.9812698-28.4469299c2.1255341-14.2385864,3.3986282-28.5654602,4.8591919-42.881958c0.6334-6.2086792,0.6515045-12.9084473,2.0663834-18.9823914c1.554657-6.6739502-0.4661255-5.8583069,6.1989594-7.0489197c12.1306152-2.1669312,26.4379501,1.8667603,38.8539658,1.8667603C147.3031158,367.5792847,157.17276,357.5166626,152.1582184,348.3348999z M279.0314026,358.7919006c6.8414917-6.4727478,6.5353394-19.3009644-4.4907532-20.4796143c-4.7476196-0.5075073-8.3345337,2.6199036-11.9698792,5.331543c-17.3686066,12.9554138-31.4156799,31.0749207-46.1409302,46.8169556c-5.7690277-9.3252563-42.596344-78.0029602-56.106781-42.8491516c-4.0608978,10.5663452,11.5200043,24.8252563,16.8279877,33.3898315c3.0788879,4.9678955,6.3816071,9.7497253,9.6141357,14.6218872c1.4934082,2.250946,7.094986,8.6911621,7.5227203,11.7159424c0.6824188,4.8258362-3.0644379,6.5790405-7.0282593,10.2768555c-11.9884186,11.1838989-24.0249786,22.3138428-36.2380829,33.2523499c-7.0567017,6.3202515-29.8180237,23.6040344-12.0448761,31.737793c12.5382385,5.7380066,26.8267365-13.6681824,34.7936707-20.936615c11.3945007-10.3955383,22.8471222-20.7239685,34.072403-31.3034668c8.3571167,14.8561096,15.9048462,39.8927002,29.5730286,50.5671997c5.8722382,4.5860901,12.0854645,5.4150085,18.1614838,0.3235474c8.6980286-7.2886353,4.6952209-14.4702759-0.201889-22.6164246c-5.8360291-9.7079468-11.5714417-19.3884583-16.9537811-29.3612061c-2.0752106-3.8450623-6.3335114-9.0394592-7.2489014-13.4013062c-3.7131958-3.46521-3.1683655-6.3503113,1.6345062-8.655304c2.4640656-2.5601501,4.9175873-5.1303406,7.3605499-7.7106323C253.0865936,385.842804,265.3926086,371.7782898,279.0314026,358.7919006C281.7396545,356.2296143,269.3538818,368.0065002,279.0314026,358.7919006z M362.2771301,473.842865c7.2570801-3.0151367,13.7727966-12.2005005,8.2589417-19.861084c-5.0742798-7.0498962-14.0853271-3.133667-20.7798157-1.3505554c-16.0776062,4.2823486-32.7564392,8.1181641-49.4734192,8.3981323c8.3415222-35.2378845,18.1605225-70.6333008,22.9839172-106.5924683c1.1439514-8.5280762,1.4273682-17.9153137-9.5897522-18.2516174c-6.1128235-0.1865845-11.311676,4.0273438-13.9477234,9.2340698c-4.296875,8.4871826-4.3227844,21.8896179-6.1002502,31.1723938c-1.6821899,8.7852478-3.4275513,17.5587463-5.2545776,26.315033c-3.6464539,17.4761658-7.7086182,34.8535767-11.8469238,52.2187195c-1.6891479,7.0881042-5.5452881,16.772644-1.3158875,23.6231689c6.8616943,11.1141357,26.7146301,6.9646301,37.3130493,5.7253113C329.0811157,482.5379639,346.7331848,480.2008972,362.2771301,473.842865C368.0057678,471.4627686,354.5178528,477.0166931,362.2771301,473.842865z\"/>"
},
"tag": {
"width": 512,
"height": 512,
"svg": "<path d=\"M219.4285736,0H73.1428604L0,73.1428604v146.2857056L292.5714417,512L512,292.5714417L219.4285736,0z M36.5714302,201.1428528V91.4285736l54.8571434-54.8571434h109.7142792l256,256L292.5714417,457.1428528L36.5714302,201.1428528z M256,146.2857208L146.2857208,256l146.2857208,146.2857056l109.7142639-109.7142639L256,146.2857208z M201.1428528,256L256,201.1428528l91.4285583,91.4285889l-54.8571167,54.8571167L201.1428528,256z M118.8366165,143.824585c-12.1628189-7.0119934-12.1628189-24.6371765-0.0000076-31.6491699c12.1628265-7.0120087,27.4488983,1.8005829,27.4488983,15.824585S130.9994354,150.8365936,118.8366165,143.824585z M182.8569946,128c0-42.0723877-45.8586273-68.5103912-82.3474121-47.4741974s-36.4887772,73.9122162,0.0000153,94.9483948S182.8569946,170.0723877,182.8569946,128z\"/>"
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"24\" cy=\"8\" r=\"2\" />\n <path d=\"M2 18 L18 2 30 2 30 14 14 30 Z\" />\n"
},
"tailwind": {
"width": 512,
@ -6415,9 +6415,9 @@
"svg": "<path d=\"M510.4569397,468.7502136c-3.8006897-26.9465942-33.7511292-40.6468811-56.3921509-27.6358948l-22.5231323-22.7742615L319.41922,110.2847748l0.6298523-35.6119461c23.775238-5.6634827,36.9967346-33.4051666,23.9266663-55.8965149c-14.6066589-25.1355419-51.1828613-25.0094814-65.6791992,0.2264252c-12.5497437,21.8470402-0.4685059,48.4399414,21.8826599,55.1274643l-0.6039429,34.144989L96.4881592,350.7257385l-24.6376953,6.8389282c-10.8709145-18.4612427-36.5358467-25.2772522-55.46418-11.1834717c-23.3636303,17.3962097-19.0927773,53.7146606,7.669096,65.2163086c25.3778496,10.9068604,53.0742073-8.1949463,52.9753838-34.8416748l30.1549301-8.3704224l306.5500488,60.2149048l26.2261963,26.5185547c-10.9411621,18.9629822-3.5753784,45.1257629,18.6915588,54.0931702C485.6713562,520.0927734,514.5203247,497.559967,510.4569397,468.7502136z M398.0691223,384.4941711l-82.0330505-82.947876l2.4026489-135.8357239L398.0691223,384.4941711z M299.0158691,139.8963013l-2.7484131,155.3748474l-165.9948425,46.0766602L299.0158691,139.8963013z M149.9166107,356.5240784l151.0671539-41.9334106l87.8910522,88.8714294L149.9166107,356.5240784z\"/>"
},
"video": {
"width": 512,
"height": 512,
"svg": "<path d=\"M292.5714417,384h-73.142868v-73.1428528h73.142868V384z M365.7142944,321.5925598l-41.9274292-41.9508667c-3.3085938-3.3091431-7.8800354-5.3559875-12.929718-5.3559875H201.1428528c-10.0994263,0-18.2857056,8.1862793-18.2857056,18.2857361v109.7142639c0,4.7594299,1.8188629,9.0942688,4.7977142,12.3468628l42.5194244,42.5102844h-65.6028595c-10.0994263,0-18.2857056-8.1862793-18.2857056-18.2857056V256c0-10.0994415,8.1862793-18.2857208,18.2857056-18.2857208h182.857132c10.0994568,0,18.2857361,8.1862793,18.2857361,18.2857208V321.5925598z M475.4285583,384l-36.5714111-36.5714417l0.0468445-73.1908264l36.5245667-36.5245972V384z M274.2444458,96.3504028c-24.3259277,14.0241699-24.3259277,49.2750244,0.000061,63.2991943C298.5704346,173.6737671,329.1430054,156.0484009,329.1430054,128S298.5704346,82.3261719,274.2444458,96.3504028z M475.4285889,201.1428223l-73.1428833,73.1428833v-36.5714111c0-17.5-12.2943115-32.1199951-28.7142944-35.7160034c17.8331909-19.5103149,28.7142944-45.4822998,28.7142944-73.9971313c0-60.5942993-49.1205444-109.7154541-109.7142944-109.7154541c-57.7845459,0-105.1348267,44.6731567-109.3999634,101.3674316c-19.447998-17.5422974-45.2045898-28.2246094-73.4571533-28.2246094C49.1211548,91.4285278,0,140.5496826,0,201.1439819c0,60.5925903,49.1211548,109.7131348,109.7142944,109.7131348H73.1428833V384h36.5714111v73.1428223c0,20.1983032,16.3731689,36.5714722,36.5714111,36.5714722h219.4285889c20.1982422,0,36.5714111-16.3731689,36.5714111-36.5714722v-36.5714111l73.1428833,73.1428833H512V201.1428223H475.4285889z M146.2849731,201.1430054c0-28.0484009-30.1351929-44.8863525-54.8984985-31.6496582c-27.3225098,14.6047363-25.53302,65.3989868,18.3278198,68.2209473V274.28479C29.0150757,271.7099609,12.666687,172,73.0599365,137.84375c48.8818359-27.645752,109.7970581,7.2024536,109.7970581,63.2992554H146.2849731z M255.9179688,191.2991943c-48.6519165-28.0483398-48.6519775-98.5500488,0-126.5984497C304.5698853,36.6524048,365.7150269,71.9031982,365.7150269,128C365.7150269,184.0967407,304.5698853,219.3475952,255.9179688,191.2991943z\"/>"
"width": "32",
"height": "32",
"svg": "\n <path d=\"M22 13 L30 8 30 24 22 19 Z M2 8 L2 24 22 24 22 8 Z\" />\n"
},
"virtualbox-alt": {
"width": 512,
@ -6870,9 +6870,9 @@
"svg": "<path d=\"M329.1359253,0H0v512h438.8543701V109.7184448L329.1359253,0z M402.2815552,475.4272156H36.5727921V36.5728226H292.582489L402.3009644,146.291275L402.2815552,475.4272156z M146.990097,169.9160614l-70.7385025,86.074234l70.7385025,86.0742493l16.733429-27.5072632l-47.6572495-58.5669861l47.6572495-58.5669861L146.990097,169.9160614z M177.9333344,340.0262451h31.0403137l49.3461151-168.5183716h-31.040329L177.9333344,340.0262451z M291.8448792,169.9160614l-16.733429,27.5266724l47.6572571,58.5669708l-47.6572571,58.5669861l16.733429,27.5266418l70.7384644-86.0742493L291.8448792,169.9160614z\"/>"
},
"code": {
"width": 512,
"height": 512,
"svg": "<path d=\"M126.4771271,102.0586624L0,255.9999695l126.4771271,153.9150696l29.9060516-49.2045288L71.1548615,255.9736786l85.2283173-104.7368317L126.4771271,102.0586624z M181.8256378,406.2391663h55.5060577l88.2478333-301.3448486h-55.5323181L181.8256378,406.2391663z M385.5228882,102.0586624l-29.9060669,49.2045059l85.2283325,104.7368011l-85.2283325,104.7368469l29.9060669,49.2045288L512,256.0262756L385.5228882,102.0586624z\"/>"
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27\" />\n"
},
"codeigniter": {
"width": 427,
@ -7749,6 +7749,486 @@
"height": 512,
"svg": "<path d=\"M0.0000575,511.999939L196.0374756,262.99823L0.0000575,0.0000754h126.7878036l157.0130005,212.8145294L44.8083801,511.999939H0.0000575z M465.9310913,0.0000754H512L315.9039307,246.9120178L511.9998779,511.999939H385.2109375L227.0065002,300.9180908L465.9310913,0.0000754z\"/>"
},
"activity": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 16 L11 16 14 29 18 3 21 16 28 16\" />\n"
},
"alert": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25\" />\n"
},
"archive": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 10 L4 28 28 28 28 10 M2 4 L2 10 30 10 30 4 Z M12 15 L20 15\" />\n"
},
"arrow-bottom": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M6 22 L16 30 26 22 M16 30 L16 2\" />\n"
},
"arrow-left": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 6 L2 16 10 26 M2 16 L30 16\" />\n"
},
"arrow-right": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M22 6 L30 16 22 26 M30 16 L2 16\" />\n"
},
"arrow-top": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M6 10 L16 2 26 10 M16 2 L16 30\" />\n"
},
"backwards": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 2 L2 16 16 30 16 16 30 30 30 2 16 16 Z\" />\n"
},
"bag": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M5 9 L5 29 27 29 27 9 Z M10 9 C10 9 10 3 16 3 22 3 22 9 22 9\" />\n"
},
"ban": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"16\" cy=\"16\" r=\"14\" />\n <path d=\"M6 6 L26 26\" />\n"
},
"bell": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M8 17 C8 12 9 6 16 6 23 6 24 12 24 17 24 22 27 25 27 25 L5 25 C5 25 8 22 8 17 Z M20 25 C20 25 20 29 16 29 12 29 12 25 12 25 M16 3 L16 6\" />\n"
},
"book": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 7 C16 7 9 1 2 6 L2 28 C9 23 16 28 16 28 16 28 23 23 30 28 L30 6 C23 1 16 7 16 7 Z M16 7 L16 28\" />\n"
},
"bookmark": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M6 2 L26 2 26 30 16 20 6 30 Z\" />\n"
},
"calendar": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 6 L2 30 30 30 30 6 Z M2 15 L30 15 M7 3 L7 9 M13 3 L13 9 M19 3 L19 9 M25 3 L25 9\" />\n"
},
"camera": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 8 L 9 8 12 4 20 4 23 8 30 8 30 26 2 26 Z\" />\n <circle cx=\"16\" cy=\"16\" r=\"5\" />\n"
},
"caret-bottom": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 10 L16 26 2 10 Z\" />\n"
},
"caret-left": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M22 30 L6 16 22 2 Z\" />\n"
},
"caret-right": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 30 L26 16 10 2 Z\" />\n"
},
"caret-top": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 22 L16 6 2 22 Z\" />\n"
},
"cart": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M6 6 L30 6 27 19 9 19 M27 23 L10 23 5 2 2 2\" />\n <circle cx=\"25\" cy=\"27\" r=\"2\" />\n <circle cx=\"12\" cy=\"27\" r=\"2\" />\n"
},
"checkmark": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 20 L12 28 30 4\" />\n"
},
"chevron-bottom": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 12 L16 24 2 12\" />\n"
},
"chevron-left": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M20 30 L8 16 20 2\" />\n"
},
"chevron-right": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M12 30 L24 16 12 2\" />\n"
},
"chevron-top": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 20 L16 8 2 20\" />\n"
},
"clipboard": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M12 2 L12 6 20 6 20 2 12 2 Z M11 4 L6 4 6 30 26 30 26 4 21 4\" />\n"
},
"clock": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"16\" cy=\"16\" r=\"14\" />\n <path d=\"M16 8 L16 16 20 20\" />\n"
},
"close": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 30 L30 2 M30 30 L2 2\" />\n"
},
"compose": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M27 15 L27 30 2 30 2 5 17 5 M30 6 L26 2 9 19 7 25 13 23 Z M22 6 L26 10 Z M9 19 L13 23 Z\" />\n"
},
"creditcard": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 7 L2 25 30 25 30 7 Z M5 18 L9 18 M5 21 L11 21\" />\n <path d=\"M2 11 L2 13 30 13 30 11 Z\" fill=\"currentColor\" />\n"
},
"desktop": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 29 C10 29 10 24 16 24 22 24 22 29 22 29 L10 29 Z M2 6 L2 23 30 23 30 6 2 6 Z\" />\n\n"
},
"download": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M9 22 C0 23 1 12 9 13 6 2 23 2 22 10 32 7 32 23 23 22 M11 26 L16 30 21 26 M16 16 L16 30\" />\n"
},
"edit": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 7 L25 2 5 22 3 29 10 27 Z M21 6 L26 11 Z M5 22 L10 27 Z\" />\n"
},
"eject": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 18 L16 5 2 18Z M2 25 L30 25\" />\n"
},
"ellipsis-horizontal": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"7\" cy=\"16\" r=\"2\" />\n <circle cx=\"16\" cy=\"16\" r=\"2\" />\n <circle cx=\"25\" cy=\"16\" r=\"2\" />\n"
},
"ellipsis-vertical": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"16\" cy=\"7\" r=\"2\" />\n <circle cx=\"16\" cy=\"16\" r=\"2\" />\n <circle cx=\"16\" cy=\"25\" r=\"2\" />\n"
},
"end": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M24 2 L24 16 10 2 10 30 24 16 24 30\" />\n"
},
"export": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M28 22 L28 30 4 30 4 22 M16 4 L16 24 M8 12 L16 4 24 12\" />\n"
},
"external": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M14 9 L3 9 3 29 23 29 23 18 M18 4 L28 4 28 14 M28 4 L14 18\" />\n"
},
"eye": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"17\" cy=\"15\" r=\"1\" />\n <circle cx=\"16\" cy=\"16\" r=\"6\" />\n <path d=\"M2 16 C2 16 7 6 16 6 25 6 30 16 30 16 30 16 25 26 16 26 7 26 2 16 2 16 Z\" />\n"
},
"feed": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"6\" cy=\"26\" r=\"2\" fill=\"currentColor\" />\n <path d=\"M4 15 C11 15 17 21 17 28 M4 6 C17 6 26 15 26 28\" />\n"
},
"file": {
"width": 24,
"height": 24,
"svg": "<path d=\"M 12.9994,8.99807L 12.9994,3.49807L 18.4994,8.99807M 5.99939,1.99807C 4.89438,1.99807 4.0094,2.89406 4.0094,3.99807L 3.99939,19.9981C 3.99939,21.1021 4.88538,21.9981 5.98938,21.9981L 17.9994,21.9981C 19.1034,21.9981 19.9994,21.1021 19.9994,19.9981L 19.9994,7.99807L 13.9994,1.99807L 5.99939,1.99807 Z\"/>"
},
"filter": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 5 C2 5 6 3 16 3 26 3 30 5 30 5 L19 18 19 27 13 30 13 18 2 5Z\" />\n\n\n"
},
"flag": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M6 2 L6 30 M6 6 L26 6 20 12 26 18 6 18\" />\n"
},
"folder-open": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 28 L28 28 30 12 14 12 10 8 2 8 Z M28 12 L28 4 4 4 4 8\" />\n"
},
"folder": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 26 L30 26 30 7 14 7 10 4 2 4 Z M30 12 L2 12\" />\n"
},
"forwards": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 2 L30 16 16 30 16 16 2 30 2 2 16 16 Z\" /> \n"
},
"fullscreen-exit": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 12 L12 12 12 4 M20 4 L20 12 28 12 M4 20 L12 20 12 28 M28 20 L20 20 20 28\" />\n"
},
"fullscreen": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 12 L4 4 12 4 M20 4 L28 4 28 12 M4 20 L4 28 12 28 M28 20 L28 28 20 28\" />\n"
},
"gift": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 14 L4 30 28 30 28 14 M2 9 L2 14 30 14 30 9 Z M16 9 C 16 9 14 0 8 3 2 6 16 9 16 9 16 9 18 0 24 3 30 6 16 9 16 9 M16 9 L16 30\" />\n"
},
"heart": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 16 C1 12 2 6 7 4 12 2 15 6 16 8 17 6 21 2 26 4 31 6 31 12 28 16 25 20 16 28 16 28 16 28 7 20 4 16 Z\" />\n"
},
"home": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M12 20 L12 30 4 30 4 12 16 2 28 12 28 30 20 30 20 20 Z\" />\n"
},
"import": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M28 22 L28 30 4 30 4 22 M16 4 L16 24 M8 16 L16 24 24 16\" />\n"
},
"inbox": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 15 L2 25 30 25 30 15 26 7 6 7 Z M2 15 L10 15 C10 15 11 20 16 20 21 20 22 15 22 15 L30 15\" />\n"
},
"info": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 14 L16 23 M16 8 L16 10\" />\n <circle cx=\"16\" cy=\"16\" r=\"14\" />\n"
},
"lightning": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M18 13 L26 2 8 13 14 19 6 30 24 19 Z\" />\n"
},
"link": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M18 8 C18 8 24 2 27 5 30 8 29 12 24 16 19 20 16 21 14 17 M14 24 C14 24 8 30 5 27 2 24 3 20 8 16 13 12 16 11 18 15\" />\n"
},
"location": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"16\" cy=\"11\" r=\"4\" />\n <path d=\"M24 15 C21 22 16 30 16 30 16 30 11 22 8 15 5 8 10 2 16 2 22 2 27 8 24 15 Z\" />\n"
},
"lock": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M5 15 L5 30 27 30 27 15 Z M9 15 C9 9 9 5 16 5 23 5 23 9 23 15 M16 20 L16 23\" />\n <circle cx=\"16\" cy=\"24\" r=\"1\" />\n"
},
"mail": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 26 L30 26 30 6 2 6 Z M2 6 L16 16 30 6\" />\n"
},
"menu": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M4 8 L28 8 M4 16 L28 16 M4 24 L28 24\" />\n"
},
"message": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 4 L30 4 30 22 16 22 8 29 8 22 2 22 Z\" />\n"
},
"microphone": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 2 C12 2 12 6 12 6 L12 16 C12 16 12 20 16 20 20 20 20 16 20 16 L20 6 C20 6 20 2 16 2 Z M8 17 C8 17 8 24 16 24 24 24 24 17 24 17 M13 29 L19 29 M16 24 L16 29\" />\n"
},
"minus": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 16 L30 16\" />\n"
},
"mobile": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M21 2 L11 2 C10 2 9 3 9 4 L9 28 C9 29 10 30 11 30 L21 30 C22 30 23 29 23 28 L23 4 C23 3 22 2 21 2 Z M9 5 L23 5 M9 27 L23 27\" />\n"
},
"moon": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M14 2C 9 2 3 7 3 15 3 23 9 29 17 29 25 29 30 23 30 18 19 25 7 13 14 2Z\" />\n"
},
"move": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M3 16 L29 16 M16 3 L16 29 M12 7 L16 3 20 7 M12 25 L16 29 20 25 M25 12 L29 16 25 20 M7 12 L3 16 7 20\" />\n"
},
"music": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M11 25 L11 6 24 3 24 23 M11 13 L24 10\" />\n <ellipse cx=\"7\" cy=\"25\" rx=\"4\" ry=\"5\" />\n <ellipse cx=\"20\" cy=\"23\" rx=\"4\" ry=\"5\" />\n"
},
"mute": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M20 16 C20 8 15 2 15 2 L8 10 2 10 2 22 8 22 15 30 C15 30 20 24 20 16 Z\" />\n"
},
"options": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M28 6 L4 6 M28 16 L4 16 M28 26 L4 26 M24 3 L24 9 M8 13 L8 19 M20 23 L20 29\" />\n"
},
"paperclip": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 9 L10 24 C10 28 13 30 16 30 19 30 22 28 22 24 L22 6 C22 3 20 2 18 2 16 2 14 3 14 6 L14 23 C14 24 15 25 16 25 17 25 18 24 18 23 L18 9\" />\n"
},
"pause": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M23 2 L23 30 M9 2 L9 30\" />\n"
},
"photo": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M20 24 L12 16 2 26 2 2 30 2 30 24 M16 20 L22 14 30 22 30 30 2 30 2 24\" />\n <circle cx=\"10\" cy=\"9\" r=\"3\" />\n"
},
"play": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 2 L10 30 24 16 Z\" />\n"
},
"plus": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 2 L16 30 M2 16 L30 16\" />\n"
},
"portfolio": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M29 17 L29 28 3 28 3 17 M2 8 L30 8 30 16 C30 16 24 20 16 20 8 20 2 16 2 16 L2 8 Z M16 22 L16 18 M20 8 C20 8 20 4 16 4 12 4 12 8 12 8\" />\n"
},
"print": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M7 25 L2 25 2 9 30 9 30 25 25 25 M7 19 L7 30 25 30 25 19 Z M25 9 L25 2 7 2 7 9 M22 14 L25 14\" />\n"
},
"reload": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M29 16 C29 22 24 29 16 29 8 29 3 22 3 16 3 10 8 3 16 3 21 3 25 6 27 9 M20 10 L27 9 28 2\" />\n"
},
"reply": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M10 6 L3 14 10 22 M3 14 L18 14 C26 14 30 18 30 26\" />\n"
},
"search": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"14\" cy=\"14\" r=\"12\" />\n <path d=\"M23 23 L30 30\" />\n"
},
"send": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M2 16 L30 2 16 30 12 20 Z M30 2 L12 20\" />\n"
},
"settings": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z\" />\n <circle cx=\"16\" cy=\"16\" r=\"4\" />\n"
},
"sign-in": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M3 16 L23 16 M15 8 L23 16 15 24 M21 4 L29 4 29 28 21 28\" />\n\n"
},
"sign-out": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M28 16 L8 16 M20 8 L28 16 20 24 M11 28 L3 28 3 4 11 4\" />\n"
},
"star": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M16 2 L20 12 30 12 22 19 25 30 16 23 7 30 10 19 2 12 12 12 Z\" />\n"
},
"start": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M8 2 L8 16 22 2 22 30 8 16 8 30\" />\n"
},
"telephone": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M3 12 C3 5 10 5 16 5 22 5 29 5 29 12 29 20 22 11 22 11 L10 11 C10 11 3 20 3 12 Z M11 14 C11 14 6 19 6 28 L26 28 C26 19 21 14 21 14 L11 14 Z\" />\n <circle cx=\"16\" cy=\"21\" r=\"4\" />\n"
},
"trash": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M28 6 L6 6 8 30 24 30 26 6 4 6 M16 12 L16 24 M21 12 L20 24 M11 12 L12 24 M12 6 L13 2 19 2 20 6\" />\n"
},
"unlock": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M5 15 L5 30 27 30 27 15 Z M9 15 C9 7 9 3 16 3 23 3 23 8 23 9 M16 20 L16 23\" />\n <circle cx=\"16\" cy=\"24\" r=\"1\" />\n"
},
"upload": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M9 22 C0 23 1 12 9 13 6 2 23 2 22 10 32 7 32 23 23 22 M11 18 L16 14 21 18 M16 14 L16 29\" />\n"
},
"user": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M22 11 C22 16 19 20 16 20 13 20 10 16 10 11 10 6 12 3 16 3 20 3 22 6 22 11 Z M4 30 L28 30 C28 21 22 20 16 20 10 20 4 21 4 30 Z\" />\n"
},
"volume": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M20 16 C20 8 15 2 15 2 L8 10 2 10 2 22 8 22 15 30 C15 30 20 24 20 16 Z M21 2 C21 2 25 6 25 16 25 26 21 30 21 30 M27 4 C27 4 30 8 30 16 30 24 27 28 27 28\" />\n"
},
"work": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M30 8 L2 8 2 26 30 26 Z M20 8 C20 8 20 4 16 4 12 4 12 8 12 8 M8 26 L8 8 M24 26 L24 8\" />\n"
},
"zoom-in": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"14\" cy=\"14\" r=\"12\" />\n <path d=\"M23 23 L30 30\" />\n <path d=\"M14 10 L14 18 M10 14 L18 14\" />\n"
},
"zoom-out": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"14\" cy=\"14\" r=\"12\" />\n <path d=\"M23 23 L30 30\" />\n <path d=\"M10 14 L18 14\" />\n"
},
"zoom-reset": {
"width": "32",
"height": "32",
"svg": "\n <circle cx=\"14\" cy=\"14\" r=\"12\" />\n <path d=\"M23 23 L30 30\" />\n <path d=\"M9 12 L9 9 12 9 M16 9 L19 9 19 12 M9 16 L9 19 12 19 M19 16 L19 19 16 19\" />\n"
},
"showDisks": {
"width": 24,
"height": 24,
@ -7769,11 +8249,6 @@
"height": 24,
"svg": "<path d=\"M 15.9995,5.99817L 12.9995,5.99817L 12.9995,7.89813L 15.9995,7.89813C 18.2635,7.89813 20.0995,9.73413 20.0995,11.9982C 20.0995,14.2621 18.2635,16.0981 15.9995,16.0981L 12.9995,16.0981L 12.9995,17.9982L 15.9995,17.9982C 19.3145,17.9982 21.9995,15.3121 21.9995,11.9982C 21.9995,8.68414 19.3145,5.99817 15.9995,5.99817 Z M 3.89948,11.9982C 3.89948,9.73413 5.7355,7.89813 7.99948,7.89813L 10.9995,7.89813L 10.9995,5.99817L 7.99948,5.99817C 4.68649,5.99817 1.99948,8.68414 1.99948,11.9982C 1.99948,15.3121 4.68649,17.9982 7.99948,17.9982L 10.9995,17.9982L 10.9995,16.0981L 7.99948,16.0981C 5.7355,16.0981 3.89948,14.2621 3.89948,11.9982 Z M 7.99948,12.9982L 15.9995,12.9982L 15.9995,10.9982L 7.99948,10.9982L 7.99948,12.9982 Z\"/>"
},
"file": {
"width": 24,
"height": 24,
"svg": "<path d=\"M 12.9994,8.99807L 12.9994,3.49807L 18.4994,8.99807M 5.99939,1.99807C 4.89438,1.99807 4.0094,2.89406 4.0094,3.99807L 3.99939,19.9981C 3.99939,21.1021 4.88538,21.9981 5.98938,21.9981L 17.9994,21.9981C 19.1034,21.9981 19.9994,21.1021 19.9994,19.9981L 19.9994,7.99807L 13.9994,1.99807L 5.99939,1.99807 Z\"/>"
},
"other": {
"width": 24,
"height": 24,
@ -7788,5 +8263,10 @@
"width": 24,
"height": 24,
"svg": "<path d=\"M 11.9975,13.9987C 10.8938,13.9987 10,13.1 10,11.9975C 10,10.8938 10.8938,10 11.9975,10C 13.105,10 13.9987,10.8938 13.9987,11.9975C 13.9987,13.1 13.105,13.9987 11.9975,13.9987 Z M 11.9975,3.99875C 7.5825,3.99875 3.99875,7.5775 3.99875,11.9975C 3.99875,16.4162 7.5825,20 11.9975,20C 16.4163,20 20,16.4162 20,11.9975C 20,7.5775 16.4163,3.99875 11.9975,3.99875 Z\"/>"
},
"audio": {
"width": "32",
"height": "32",
"svg": "\n <path d=\"M20 16 C20 8 15 2 15 2 L8 10 2 10 2 22 8 22 15 30 C15 30 20 24 20 16 Z M21 2 C21 2 25 6 25 16 25 26 21 30 21 30 M27 4 C27 4 30 8 30 16 30 24 27 28 27 28\" />\n"
}
}

View File

@ -564,24 +564,24 @@ class FilesystemDisplay {
let html = `<div>
<div class="pdf_options">
<button class="zoom_in">
<svg viewBox="0 0 ${this.icons["zoomIn"].width} ${this.icons["zoomIn"].height}" fill="${this.iconcolor}">
${this.icons["zoomIn"].svg}
<svg viewBox="0 0 ${this.icons["zoom-in"].width} ${this.icons["zoom-in"].height}" fill="${this.iconcolor}">
${this.icons["zoom-in"].svg}
</svg>
</button>
<button class="zoom_out">
<svg viewBox="0 0 ${this.icons["zoomOut"].width} ${this.icons["zoomOut"].height}" fill="${this.iconcolor}">
${this.icons["zoomOut"].svg}
<svg viewBox="0 0 ${this.icons["zoom-out"].width} ${this.icons["zoom-out"].height}" fill="${this.iconcolor}">
${this.icons["zoom-out"].svg}
</svg>
</button>
<button class="previous_page">
<svg viewBox="0 0 ${this.icons["arrowBack"].width} ${this.icons["arrowBack"].height}" fill="${this.iconcolor}">
${this.icons["arrowBack"].svg}
<svg viewBox="0 0 ${this.icons["backwards"].width} ${this.icons["backwards"].height}" fill="${this.iconcolor}">
${this.icons["backwards"].svg}
</svg>
</button>
<span>Page: <span class="page_num"/></span><span>/</span> <span class="page_count"></span></span>
<button class="next_page">
<svg viewBox="0 0 ${this.icons["arrowNext"].width} ${this.icons["arrowNext"].height}" fill="${this.iconcolor}">
${this.icons["arrowNext"].svg}
<svg viewBox="0 0 ${this.icons["forwards"].width} ${this.icons["forwards"].height}" fill="${this.iconcolor}">
${this.icons["forwards"].svg}
</svg>
</button>
</div>
@ -657,8 +657,8 @@ class FilesystemDisplay {
</audio>
<div class="media_controls" data-state="hidden">
<div class="playpause media_button" data-state="play">
<svg viewBox="0 0 ${this.icons["playArrow"].width} ${this.icons["playArrow"].height}" fill="${this.iconcolor}">
${this.icons["playArrow"].svg}
<svg viewBox="0 0 ${this.icons["play"].width} ${this.icons["play"].height}" fill="${this.iconcolor}">
${this.icons["play"].svg}
</svg>
</div>
<div class="progress_container">
@ -668,8 +668,8 @@ class FilesystemDisplay {
</div>
<div class="media_time">00:00:00</div>
<div class="volume_icon">
<svg viewBox="0 0 ${this.icons["volumeUp"].width} ${this.icons["volumeUp"].height}" fill="${this.iconcolor}">
${this.icons["volumeUp"].svg}
<svg viewBox="0 0 ${this.icons["volume"].width} ${this.icons["volume"].height}" fill="${this.iconcolor}">
${this.icons["volume"].svg}
</svg>
</div>
<div class="volume">
@ -689,8 +689,8 @@ class FilesystemDisplay {
</video>
<div class="media_controls" data-state="hidden">
<div class="playpause media_button" data-state="play">
<svg viewBox="0 0 ${this.icons["playArrow"].width} ${this.icons["playArrow"].height}" fill="${this.iconcolor}">
${this.icons["playArrow"].svg}
<svg viewBox="0 0 ${this.icons["play"].width} ${this.icons["play"].height}" fill="${this.iconcolor}">
${this.icons["play"].svg}
</svg>
</div>
<div class="progress_container">
@ -700,8 +700,8 @@ class FilesystemDisplay {
</div>
<div class="media_time">00:00:00</div>
<div class="volume_icon">
<svg viewBox="0 0 ${this.icons["volumeUp"].width} ${this.icons["volumeUp"].height}" fill="${this.iconcolor}">
${this.icons["volumeUp"].svg}
<svg viewBox="0 0 ${this.icons["volume"].width} ${this.icons["volume"].height}" fill="${this.iconcolor}">
${this.icons["volume"].svg}
</svg>
</div>
<div class="volume">

View File

@ -26,8 +26,8 @@ class MediaPlayer {
if (media.paused || media.ended) {
playpause.setAttribute("data-state", "play");
playpause.innerHTML = `
<svg viewBox="0 0 ${icons["playArrow"].width} ${icons["playArrow"].height}" fill="${iconcolor}">
${icons["playArrow"].svg}
<svg viewBox="0 0 ${icons["play"].width} ${icons["play"].height}" fill="${iconcolor}">
${icons["play"].svg}
</svg>`;
} else {
playpause.setAttribute("data-state", "pause");
@ -39,9 +39,10 @@ class MediaPlayer {
};
this.setFullscreenData = (state) => {
if (fullscreen === null) { return; }
mediaContainer.setAttribute("data-fullscreen", !!state);
fullscreen.setAttribute("data-state", !!state ? "cancel-fullscreen" : "go-fullscreen");
const buttonIcon = !!state ? "fullscreenExit" : "fullscreen";
const buttonIcon = !!state ? "fullscreen-exit" : "fullscreen";
fullscreen.innerHTML = `
<svg viewBox="0 0 ${icons[buttonIcon].width} ${icons[buttonIcon].height}" fill="${iconcolor}">
${icons[buttonIcon].svg}
@ -116,10 +117,7 @@ class MediaPlayer {
};
this.updateVolumeIcon = (vol) => {
let icon;
if (vol > 0.6) icon = "volumeUp";
if (vol <= 0.6) icon = "volumeDown";
if (vol === 0) icon = "volumeMute";
let icon = (vol > 0) ? "volume" : "mute";
volumeIcon.innerHTML = `<svg viewBox="0 0 ${icons[icon].width} ${icons[icon].height}" fill="${iconcolor}">
${icons[icon].svg}
</svg>`;
@ -144,7 +142,7 @@ class MediaPlayer {
volumeIcon.addEventListener("click", () => {
media.muted = !media.muted;
if (media.muted) {
let icon = "volumeMute";
let icon = "mute";
volumeIcon.innerHTML = `<svg viewBox="0 0 ${icons[icon].width} ${icons[icon].height}" fill="${iconcolor}">
${icons[icon].svg}
</svg>`;