Skip to content

Commit

Permalink
feat: Add mappings for Cubit, draw.io, LINQPad and xmake
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Jul 25, 2020
1 parent 4c9a869 commit ae7aa6d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
28 changes: 28 additions & 0 deletions config.cson
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ RESERVED FOR FUTURE USE
mime: A MIME Content-Type string of the form detailed in RFC 2231 §5.
url: A link to a canonical reference, product homepage, or relevant pull-request.
uses: A loosely-defined "parent" from which to inherit properties not defined by the entry. Intended to
address the longstanding problem of config/case-specific icons being replaced by a less qualified
icon. For example, the file "app-test.js" should display the `test-js` icon even when it contains
Expand Down Expand Up @@ -149,6 +151,11 @@ directoryIcons:
[/^\.cpanplus$/i, "dark-blue"]
]

Cubit:
icon: "cubit"
match: /^cubits?$/i
colour: "medium-cyan"

CVS:
icon: "cvs"
match: /^CVS$/
Expand Down Expand Up @@ -1957,6 +1964,13 @@ fileIcons:
match: /^dragula(\.min)?\.([cm]?js|css)$/i
colour: "dark-purple"

"draw.io":
icon: "drawio"
match: /^\.drawio($|\.)|\.d(raw)?io(\.png|\.svg)?$/i
colour: "medium-orange"
priority: 2
url: "https://drawio-app.com/"

Drone:
icon: "drone"
priority: 2
Expand Down Expand Up @@ -3520,6 +3534,13 @@ fileIcons:
[/\.alias$/, "medium-blue", priority: 3, alias: "macOS alias", signature: /^book\0{4}mark\0{4}/]
]

LINQPad:
icon: "linqpad"
match: ".linq"
colour: "dark-pink"
url: "https://www.linqpad.net/"
uses: "C#"

Lisp:
icon: "lisp"
match: [
Expand Down Expand Up @@ -6721,6 +6742,13 @@ fileIcons:
[/\.mode\dv3$/i, "medium-red"]
]

xmake:
icon: "xmake"
match: /^xmake\.lua$/i
colour: "medium-green"
priority: 2
url: "https://xmake.io/"

Xojo:
icon: "xojo"
match: [
Expand Down
6 changes: 5 additions & 1 deletion lib/icons/.icondb.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = [
["circleci-icon",[null,null],/^\.circleci$/],
["cpan-icon",["medium-blue","medium-blue"],/^\.cpan$/i],
["cpan-icon",["dark-blue","dark-blue"],/^\.cpanplus$/i],
["cubit-icon",["medium-cyan","medium-cyan"],/^cubits?$/i],
["cvs-icon",["medium-orange","medium-orange"],/^CVS$/],
["deno-icon",["dark-purple","dark-purple"],/\.deno$/i],
["dependabot-icon",["medium-blue","medium-blue"],/\.dependabot$/i],
Expand Down Expand Up @@ -136,6 +137,7 @@ module.exports = [
["docz-icon",["medium-orange","dark-orange"],/(?:^|\.)docz(?:rc)?(?:\.config)?\.json$/i,2],
["dojo-icon",["light-red","light-red"],/^dojo\.[cm]?js$/i,2],
["dragula-icon",["dark-purple","dark-purple"],/^dragula(?:\.min)?\.(?:[cm]?js|css)$/i,2],
["drawio-icon",["medium-orange","medium-orange"],/^\.drawio(?:$|\.)|\.d(?:raw)?io(?:\.png|\.svg)?$/i,2],
["drone-icon",["medium-cyan","medium-cyan"],/\.drone\.ya?ml$/i,2],
["electron-icon",["dark-blue","dark-blue"],/\.compilerc(?:\.json)?$/i,2],
["ember-icon",["medium-red","medium-red"],/^ember(?:\.|(?:-[^.]+)?-(?:\d+\.)+(?:debug\.)?)[cm]?js$/i,2],
Expand Down Expand Up @@ -345,6 +347,7 @@ module.exports = [
["webpack-icon",["medium-blue","medium-blue"],/(?:^|\.)webpack(?:file)?(?=\.|$).*\.(?:[jt]sx?|[cm]js|json|(?:lit)?coffee)$/i,2],
["wercker-icon",["medium-purple","medium-purple"],/^wercker\.ya?ml$/i,2],
["workbox-icon",["medium-orange","medium-orange"],/^workbox-config\.[cm]?js$/i,2],
["xmake-icon",["medium-green","medium-green"],/^xmake\.lua$/i,2],
["yaml-icon",["medium-orange","medium-orange"],/\.ya?ml\.mysql$/i,2],
["yaml-icon",["dark-green","dark-green"],/\.ya?ml\.sed$/i,2],
["yandex-icon",["medium-red","medium-red"],/^\.yaspellerrc(?:$|\.)|^\.yaspeller\.json$/i,2],
Expand Down Expand Up @@ -1078,6 +1081,7 @@ module.exports = [
["lilypond-icon",["medium-green","medium-green"],/\.ly$/i,,,/\.(?:At)?lilypond/i,/^Lily\s*Pond$/i],
["lilypond-icon",["dark-green","dark-green"],/\.ily$/i],
["link-icon",["dark-blue","dark-blue"],/\.url$/i],
["linqpad-icon",["dark-pink","dark-pink"],/\.linq$/i],
["lisp-icon",["dark-red","dark-red"],/\.lisp$/i,,/^lisp$/,/\.lisp$/i,/^lisp$/i],
["lisp-icon",["medium-red","medium-red"],/\.lsp$/i,,/^newlisp$/,/\.newlisp$/i,/^Lisp$|^newlisp$/i],
["lisp-icon",["medium-maroon","medium-maroon"],/\.nl$/i],
Expand Down Expand Up @@ -1879,5 +1883,5 @@ module.exports = [
["book-icon",["dark-blue","dark-blue"],/^zork\d\.(?!pre$|pur$)[a-z]+$/,0],
["key-icon",["dark-blue","dark-blue"],/\.ssh[\/\\][^\/\\\s]+$/,0],
["v8-icon",["medium-blue","medium-blue"],/^(?:[dv]8|v8[-_.][^.]*|mksnapshot|mkpeephole)$/i,0]],
[[152,163,164,165,290,326,359,383,391,404,408,410,435,456,460,461,462,463,468,469,470,471,476,485,489,508,535,536,551,556,563,568,570,575,601,617,622,623,627,631,636,640,641,647,656,661,685,690,693,702,711,721,722,726,727,735,762,781,786,790,804,808,813,815,817,818,821,823,824,829,832,835,836,854,857,879,883,884,889,909,910,913,914,916,917,919,920,922,955,956,959,965,982,983,984,992,995,997,1010,1021,1023,1027,1035,1036,1044,1047,1051,1053,1060,1061,1082,1103,1110,1166,1168,1171,1184,1193,1201,1202,1214,1217,1221,1223,1226,1236,1237,1239,1254,1259,1260,1263,1301,1304,1317,1318,1319,1325,1330,1331,1343,1344,1358,1365,1367,1370,1373,1374,1377,1378,1381,1398,1401,1402,1405,1406,1429,1435,1445,1448,1452,1453,1459,1463,1468,1474,1475,1477,1479,1482,1497,1499,1502,1504,1510,1528,1531,1533,1556,1559,1563,1572,1586,1609,1610,1611,1617,1647,1649,1653,1668,1680,1682,1697,1723,1727,1730,1734,1735,1774,1776,1779,1788,1790,1813,1818],[9,11,14,59,86,123,163,165,169,187,192,202,260,270,279,288,325,326,352,354,355,358,360,365,368,383,387,391,395,397,398,402,404,406,407,408,410,412,413,414,422,426,427,428,430,431,432,434,435,437,456,458,459,460,461,462,463,468,469,470,471,476,478,485,489,497,498,500,501,507,508,516,517,518,522,525,529,534,549,550,551,554,555,556,561,563,565,568,570,572,573,575,593,601,608,610,615,616,617,618,620,621,622,623,624,625,627,628,629,631,632,635,636,637,640,641,647,648,651,656,659,661,663,666,671,673,675,677,682,684,691,693,698,699,700,701,702,705,706,707,708,710,711,718,721,722,725,726,727,733,735,739,740,762,763,765,766,769,775,776,777,778,780,781,782,783,785,786,789,790,812,818,824,832,835,836,837,840,847,854,857,858,859,864,865,869,872,875,879,880,883,884,886,887,889,890,891,892,894,904,905,908,910,914,916,917,919,920,922,923,924,947,948,950,953,955,957,959,960,963,965,980,982,983,984,986,987,990,991,992,994,995,996,997,998,1001,1004,1008,1010,1013,1015,1016,1021,1023,1027,1032,1035,1036,1041,1044,1047,1049,1051,1053,1060,1061,1071,1072,1073,1076,1082,1094,1103,1110,1111,1161,1166,1168,1170,1171,1175,1184,1185,1187,1189,1193,1199,1201,1208,1209,1210,1212,1214,1215,1216,1217,1221,1223,1224,1226,1229,1230,1231,1236,1237,1239,1247,1248,1249,1252,1254,1259,1260,1261,1263,1264,1265,1266,1267,1268,1269,1286,1293,1296,1297,1298,1299,1300,1302,1303,1304,1314,1317,1318,1319,1324,1325,1330,1333,1335,1341,1342,1343,1344,1346,1349,1358,1364,1365,1368,1369,1370,1373,1374,1376,1377,1378,1381,1388,1392,1393,1394,1395,1398,1401,1402,1405,1406,1415,1416,1421,1429,1435,1438,1443,1444,1445,1448,1449,1450,1452,1453,1459,1463,1466,1468,1471,1472,1473,1474,1475,1477,1479,1482,1485,1489,1497,1500,1502,1504,1505,1510,1513,1518,1519,1520,1521,1523,1524,1526,1528,1529,1531,1533,1545,1546,1555,1557,1558,1559,1563,1566,1568,1569,1572,1573,1574,1576,1586,1592,1594,1600,1604,1606,1609,1610,1611,1617,1625,1626,1640,1641,1643,1644,1645,1646,1647,1648,1649,1651,1653,1662,1664,1668,1673,1677,1678,1680,1682,1697,1704,1722,1723,1724,1725,1727,1731,1734,1735,1737,1745,1746,1770,1771,1773,1774,1776,1779,1781,1783,1786,1788,1789,1790,1813,1815,1816,1817,1827],[2,9,11,14,59,86,123,163,165,169,187,192,202,260,270,279,288,312,325,326,352,354,355,358,360,365,368,383,387,391,395,397,398,402,404,406,407,408,410,412,413,414,422,426,427,428,430,431,432,434,435,437,456,458,459,460,461,462,463,468,469,470,471,476,478,485,489,497,498,500,501,507,508,516,517,518,522,525,529,534,535,536,549,550,551,554,555,556,561,563,565,568,570,572,573,575,593,594,597,601,606,608,610,615,616,617,618,620,621,622,623,624,625,627,628,629,631,632,635,636,637,640,641,646,647,648,650,651,652,656,659,661,663,666,671,673,675,677,682,684,691,693,698,699,700,701,702,705,706,707,708,710,711,718,721,722,725,726,727,733,735,739,740,758,762,763,765,766,769,775,776,777,778,780,781,782,783,785,786,789,790,803,804,808,811,812,813,815,817,818,821,822,823,824,825,828,829,832,835,836,837,840,847,854,857,858,859,864,865,869,872,875,879,880,883,884,886,887,889,890,891,892,894,904,905,908,909,910,911,913,914,916,917,919,920,922,923,924,927,947,948,950,953,955,957,959,960,963,965,980,982,983,984,986,987,990,991,992,994,995,996,997,998,1001,1004,1008,1010,1013,1015,1016,1021,1023,1027,1032,1035,1036,1041,1044,1047,1049,1051,1053,1060,1061,1071,1072,1073,1076,1082,1094,1103,1110,1111,1161,1166,1168,1170,1171,1173,1174,1175,1184,1185,1187,1189,1193,1199,1201,1208,1209,1210,1212,1214,1215,1216,1217,1221,1223,1224,1226,1229,1230,1231,1236,1237,1239,1247,1248,1249,1252,1254,1259,1260,1261,1263,1264,1265,1266,1267,1268,1269,1286,1293,1296,1297,1298,1299,1300,1302,1303,1304,1314,1317,1318,1319,1324,1325,1330,1333,1335,1341,1342,1343,1344,1346,1349,1358,1364,1365,1368,1369,1370,1373,1374,1376,1377,1378,1381,1388,1392,1393,1394,1395,1398,1401,1402,1405,1406,1415,1416,1421,1429,1435,1438,1443,1444,1445,1448,1449,1450,1452,1453,1459,1463,1466,1468,1471,1472,1473,1474,1475,1477,1479,1482,1485,1489,1491,1497,1499,1500,1502,1504,1505,1510,1513,1518,1519,1520,1521,1523,1524,1526,1528,1529,1531,1533,1534,1545,1546,1555,1557,1558,1559,1563,1566,1568,1569,1572,1573,1574,1576,1586,1592,1594,1600,1604,1606,1609,1610,1611,1617,1621,1625,1626,1640,1641,1643,1644,1645,1646,1647,1648,1649,1651,1653,1662,1664,1668,1673,1677,1678,1680,1682,1697,1704,1722,1723,1724,1725,1727,1731,1734,1735,1737,1745,1746,1770,1771,1773,1774,1776,1779,1781,1783,1786,1788,1789,1790,1793,1810,1813,1815,1816,1817,1827]]]
[[153,164,165,166,291,328,361,385,393,406,410,412,437,458,462,463,464,465,470,471,472,473,478,487,491,510,537,538,553,558,565,570,572,577,603,619,624,625,629,633,638,642,643,649,658,663,687,692,695,704,713,723,724,728,729,737,764,783,788,792,806,810,815,817,819,820,823,825,826,831,834,837,838,856,859,881,885,886,891,911,912,915,916,918,919,921,922,924,957,958,961,967,984,985,986,994,997,999,1012,1023,1025,1029,1038,1039,1047,1050,1054,1056,1063,1064,1085,1106,1113,1169,1171,1174,1187,1196,1204,1205,1217,1220,1224,1226,1229,1239,1240,1242,1257,1262,1263,1266,1304,1307,1320,1321,1322,1328,1333,1334,1346,1347,1361,1368,1370,1373,1376,1377,1380,1381,1384,1401,1404,1405,1408,1409,1432,1438,1448,1451,1455,1456,1462,1466,1471,1477,1478,1480,1482,1485,1500,1502,1505,1507,1513,1531,1534,1536,1559,1562,1566,1575,1589,1612,1613,1614,1620,1650,1652,1656,1671,1683,1685,1700,1726,1730,1733,1737,1738,1777,1779,1782,1791,1793,1816,1821],[9,11,14,59,86,124,164,166,170,188,193,203,261,271,280,289,327,328,354,356,357,360,362,367,370,385,389,393,397,399,400,404,406,408,409,410,412,414,415,416,424,428,429,430,432,433,434,436,437,439,458,460,461,462,463,464,465,470,471,472,473,478,480,487,491,499,500,502,503,509,510,518,519,520,524,527,531,536,551,552,553,556,557,558,563,565,567,570,572,574,575,577,595,603,610,612,617,618,619,620,622,623,624,625,626,627,629,630,631,633,634,637,638,639,642,643,649,650,653,658,661,663,665,668,673,675,677,679,684,686,693,695,700,701,702,703,704,707,708,709,710,712,713,720,723,724,727,728,729,735,737,741,742,764,765,767,768,771,777,778,779,780,782,783,784,785,787,788,791,792,814,820,826,834,837,838,839,842,849,856,859,860,861,866,867,871,874,877,881,882,885,886,888,889,891,892,893,894,896,906,907,910,912,916,918,919,921,922,924,925,926,949,950,952,955,957,959,961,962,965,967,982,984,985,986,988,989,992,993,994,996,997,998,999,1000,1003,1006,1010,1012,1015,1017,1018,1023,1025,1029,1034,1038,1039,1044,1047,1050,1052,1054,1056,1063,1064,1074,1075,1076,1079,1085,1097,1106,1113,1114,1164,1169,1171,1173,1174,1178,1187,1188,1190,1192,1196,1202,1204,1211,1212,1213,1215,1217,1218,1219,1220,1224,1226,1227,1229,1232,1233,1234,1239,1240,1242,1250,1251,1252,1255,1257,1262,1263,1264,1266,1267,1268,1269,1270,1271,1272,1289,1296,1299,1300,1301,1302,1303,1305,1306,1307,1317,1320,1321,1322,1327,1328,1333,1336,1338,1344,1345,1346,1347,1349,1352,1361,1367,1368,1371,1372,1373,1376,1377,1379,1380,1381,1384,1391,1395,1396,1397,1398,1401,1404,1405,1408,1409,1418,1419,1424,1432,1438,1441,1446,1447,1448,1451,1452,1453,1455,1456,1462,1466,1469,1471,1474,1475,1476,1477,1478,1480,1482,1485,1488,1492,1500,1503,1505,1507,1508,1513,1516,1521,1522,1523,1524,1526,1527,1529,1531,1532,1534,1536,1548,1549,1558,1560,1561,1562,1566,1569,1571,1572,1575,1576,1577,1579,1589,1595,1597,1603,1607,1609,1612,1613,1614,1620,1628,1629,1643,1644,1646,1647,1648,1649,1650,1651,1652,1654,1656,1665,1667,1671,1676,1680,1681,1683,1685,1700,1707,1725,1726,1727,1728,1730,1734,1737,1738,1740,1748,1749,1773,1774,1776,1777,1779,1782,1784,1786,1789,1791,1792,1793,1816,1818,1819,1820,1830],[2,9,11,14,59,86,124,164,166,170,188,193,203,261,271,280,289,314,327,328,354,356,357,360,362,367,370,385,389,393,397,399,400,404,406,408,409,410,412,414,415,416,424,428,429,430,432,433,434,436,437,439,458,460,461,462,463,464,465,470,471,472,473,478,480,487,491,499,500,502,503,509,510,518,519,520,524,527,531,536,537,538,551,552,553,556,557,558,563,565,567,570,572,574,575,577,595,596,599,603,608,610,612,617,618,619,620,622,623,624,625,626,627,629,630,631,633,634,637,638,639,642,643,648,649,650,652,653,654,658,661,663,665,668,673,675,677,679,684,686,693,695,700,701,702,703,704,707,708,709,710,712,713,720,723,724,727,728,729,735,737,741,742,760,764,765,767,768,771,777,778,779,780,782,783,784,785,787,788,791,792,805,806,810,813,814,815,817,819,820,823,824,825,826,827,830,831,834,837,838,839,842,849,856,859,860,861,866,867,871,874,877,881,882,885,886,888,889,891,892,893,894,896,906,907,910,911,912,913,915,916,918,919,921,922,924,925,926,929,949,950,952,955,957,959,961,962,965,967,982,984,985,986,988,989,992,993,994,996,997,998,999,1000,1003,1006,1010,1012,1015,1017,1018,1023,1025,1029,1034,1038,1039,1044,1047,1050,1052,1054,1056,1063,1064,1074,1075,1076,1079,1085,1097,1106,1113,1114,1164,1169,1171,1173,1174,1176,1177,1178,1187,1188,1190,1192,1196,1202,1204,1211,1212,1213,1215,1217,1218,1219,1220,1224,1226,1227,1229,1232,1233,1234,1239,1240,1242,1250,1251,1252,1255,1257,1262,1263,1264,1266,1267,1268,1269,1270,1271,1272,1289,1296,1299,1300,1301,1302,1303,1305,1306,1307,1317,1320,1321,1322,1327,1328,1333,1336,1338,1344,1345,1346,1347,1349,1352,1361,1367,1368,1371,1372,1373,1376,1377,1379,1380,1381,1384,1391,1395,1396,1397,1398,1401,1404,1405,1408,1409,1418,1419,1424,1432,1438,1441,1446,1447,1448,1451,1452,1453,1455,1456,1462,1466,1469,1471,1474,1475,1476,1477,1478,1480,1482,1485,1488,1492,1494,1500,1502,1503,1505,1507,1508,1513,1516,1521,1522,1523,1524,1526,1527,1529,1531,1532,1534,1536,1537,1548,1549,1558,1560,1561,1562,1566,1569,1571,1572,1575,1576,1577,1579,1589,1595,1597,1603,1607,1609,1612,1613,1614,1620,1624,1628,1629,1643,1644,1646,1647,1648,1649,1650,1651,1652,1654,1656,1665,1667,1671,1676,1680,1681,1683,1685,1700,1707,1725,1726,1727,1728,1730,1734,1737,1738,1740,1748,1749,1773,1774,1776,1777,1779,1782,1784,1786,1789,1791,1792,1793,1796,1813,1816,1818,1819,1820,1830]]]
];
4 changes: 4 additions & 0 deletions styles/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
.crystal-icon:before { .fi; content: "\e902"; top: 2px; left: 1px; }
.csound-icon:before { .fi; content: "\e9f0"; top: 2px; }
.csscript-icon:before { .fi; content: "\e9e2"; top: 2px; }
.cubit-icon:before { .fi; content: "\eb92"; top: 2px; font-size: 16px; }
.cuneiform-icon:before { .fi; content: "\eb76"; top: 2px; }
.cucumber-icon:before { .fi; content: "\f02b"; top: 3px; }
.curl-icon:before { .fi; content: "/"; top: 3px; font-size: 16px; }
Expand Down Expand Up @@ -378,6 +379,7 @@
.dotjs-icon:before { .fi; content: "\eb0b"; top: 2px; font-size: 16px; }
.doxygen-icon:before { .fi; content: "\e928"; top: 1px; font-size: 13px; }
.dragula-icon:before { .fi; content: "\1f44c";top: 3px; font-size: 17px; }
.drawio-icon:before { .fi; content: "\eb93"; top: 2px; }
.drone-icon:before { .fi; content: "\ea3d"; top: 2px; }
.dyalog-icon:before { .fi; content: "\e90c"; top: 1px; font-size: 14px; left: 1px; }
.dylib-icon:before { .fi; content: "\ea15"; top: 2px; }
Expand Down Expand Up @@ -547,6 +549,7 @@
.lightwave-icon:before { .fi; content: "\e9fb"; top: 2px; }
.lilypond-icon:before { .fi; content: "\1f4ae";top: 2px; font-size: 16px; }
.lime-icon:before { .fi; content: "\ea36"; top: 2px; font-size: 16px; }
.linqpad-icon:before { .fi; content: "\1d6cc";top: 2px; }
.lisp-icon:before { .fi; content: "\e908"; top: 3px; font-size: 17px; }
.llvm-icon:before { .fi; content: "\e91d"; top: 3px; font-size: 17px; }
.logtalk-icon:before { .fi; content: "\e98d"; top: 2px; .sharpen; }
Expand Down Expand Up @@ -900,6 +903,7 @@
.wurst-icon:before { .fi; content: "\1f32d";top: 2px; font-size: 16px; }
.xamarin-icon:before { .fi; content: "\ea77"; top: 2px; }
.x10-icon:before { .fi; content: "\2169"; top: 2px; }
.xmake-icon:before { .fi; content: "\eb94"; top: 3px; }
.xmos-icon:before { .fi; content: "X"; top: 1px; font-size: 14px; }
.xojo-icon:before { .fi; content: "\e9af"; top: 2px; }
.xpages-icon:before { .fi; content: "\e9c5"; top: 2px; }
Expand Down

0 comments on commit ae7aa6d

Please sign in to comment.