Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add icon for Serverless YML configs
  • Loading branch information
Alhadis committed Aug 8, 2018
1 parent e230534 commit f2cc542
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
[Unpublished]
----------------------
### Added
- **New icons:** Serverless (`serverless.yml`)
- [[`#748`][]]: Significantly better support for [Webpack configs][], which no longer require `config` or `conf` to be part of the filename.

[Webpack configs]: https://webpack.js.org/guides/production/
Expand Down
6 changes: 6 additions & 0 deletions config.cson
Expand Up @@ -4056,6 +4056,12 @@ fileIcons:
[".slk", "medium-cyan"]
]

Serverless:
icon: "serverless"
match: /(^|\.)serverless\.ya?ml$/i
colour: "medium-red"
priority: 2

"Service Fabric":
icon: "sf"
match: ".sfproj"
Expand Down
Binary file modified fonts/file-icons.woff2
Binary file not shown.
3 changes: 2 additions & 1 deletion lib/icons/.icondb.js
Expand Up @@ -185,6 +185,7 @@ module.exports = [
["rollup-icon",["medium-red","medium-red"],/^rollup\.config\./i,2],
["scrutinizer-icon",["dark-blue","dark-blue"],/\.scrutinizer\.yml$/i,2],
["sencha-icon",["light-green","light-green"],/^sencha(?:\.min)?\.js$/i,2],
["serverless-icon",["medium-red","medium-red"],/(?:^|\.)serverless\.ya?ml$/i,2],
["shipit-icon",["medium-orange","medium-orange"],/^shipitfile(?:\b.+)?\.js$/i,2],
["shippable-icon",["medium-cyan","medium-cyan"],/^shippable\.ya?ml$/i,2],
["snapsvg-icon",["medium-cyan","medium-cyan"],/^snap\.svg(?:[-.]min)?\.js$/i,2],
Expand Down Expand Up @@ -1424,5 +1425,5 @@ module.exports = [
["book-icon",["dark-blue","dark-blue"],/^news(?:[-_.]?[-\d]+)?$/i,0],
["key-icon",["dark-blue","dark-blue"],/\.ssh[\/\\][^\/\\\s]+$/,0,true],
["v8-icon",["medium-blue","medium-blue"],/^(?:[dv]8|v8[-_.][^.]*|mksnapshot|mkpeephole)$/i,0]],
[[114,115,197,250,253,255,270,292,303,322,347,348,363,368,374,379,381,386,412,424,429,430,435,442,443,448,449,462,480,483,486,495,503,513,517,518,549,566,569,583,584,588,589,595,597,600,601,604,605,609,611,613,614,617,633,635,638,653,655,656,660,672,673,675,676,678,679,681,682,724,725,728,733,749,750,751,756,768,778,784,785,786,793,796,800,802,806,817,818,822,847,854,895,897,899,909,915,916,930,935,938,946,948,962,967,968,1004,1007,1012,1013,1014,1019,1028,1031,1038,1039,1051,1057,1059,1062,1065,1068,1071,1084,1085,1088,1099,1101,1111,1114,1121,1125,1129,1133,1134,1136,1138,1141,1152,1154,1156,1157,1159,1163,1164,1180,1183,1185,1206,1210,1219,1230,1283,1285,1287,1301,1303,1321,1374],[7,10,51,69,92,114,115,119,133,138,166,174,180,197,215,216,219,224,227,243,245,248,250,252,253,255,257,258,259,267,268,269,270,274,292,294,295,299,300,303,305,310,311,313,315,321,322,329,330,331,335,338,342,346,361,362,363,366,367,368,373,374,376,379,381,383,384,386,404,412,416,418,423,424,425,427,428,429,430,431,432,435,436,439,440,442,443,448,449,451,453,462,465,468,472,475,479,484,486,491,492,493,494,495,498,500,501,502,503,510,513,516,517,518,527,528,549,550,551,552,555,559,560,561,563,565,566,569,571,589,595,596,600,601,605,614,617,618,619,626,633,635,638,639,640,641,645,648,650,653,654,655,656,658,659,660,661,662,663,664,671,673,676,678,679,681,682,683,684,685,719,720,723,724,726,728,729,732,733,747,749,750,751,754,755,756,757,758,762,766,768,771,773,774,778,784,785,790,793,796,798,800,802,806,816,817,818,820,821,825,832,838,847,854,892,895,897,899,903,909,910,911,914,915,921,924,925,926,928,930,931,935,937,938,939,940,941,946,948,956,957,960,962,967,968,969,971,972,973,974,975,992,996,999,1000,1001,1002,1003,1005,1006,1007,1010,1012,1013,1014,1019,1027,1028,1034,1036,1037,1038,1039,1040,1051,1056,1057,1060,1061,1062,1065,1067,1068,1071,1078,1082,1083,1084,1085,1088,1089,1090,1091,1099,1101,1104,1109,1110,1111,1114,1115,1116,1121,1125,1129,1131,1132,1133,1134,1136,1138,1141,1145,1152,1155,1157,1163,1164,1169,1174,1175,1177,1178,1180,1181,1183,1185,1196,1197,1205,1206,1210,1213,1215,1216,1219,1220,1222,1230,1236,1237,1243,1247,1249,1265,1266,1278,1280,1281,1282,1283,1284,1285,1287,1295,1296,1300,1301,1303,1321,1324,1339,1340,1342,1347,1355,1370,1371,1373,1374,1386,1394],[11,68,177,195,196,207,209,211,413,414,415,463,464,819,1160,1254,1379,1400],[7,10,51,69,92,114,115,119,133,138,166,174,180,197,215,216,219,224,227,243,245,248,250,252,253,255,257,258,259,267,268,269,270,274,292,294,295,299,300,303,305,310,311,313,315,321,322,329,330,331,335,338,342,346,347,348,361,362,363,366,367,368,373,374,376,379,381,383,384,386,404,405,412,416,418,423,424,425,427,428,429,430,431,432,435,436,439,440,442,443,448,449,451,453,454,460,462,465,468,472,475,479,484,486,491,492,493,494,495,498,500,501,502,503,510,513,516,517,518,527,528,549,550,551,552,555,559,560,561,563,565,566,569,571,583,584,588,589,591,593,594,595,596,597,600,601,604,605,606,609,611,613,614,617,618,619,626,633,635,638,639,640,641,645,648,650,653,654,655,656,658,659,660,661,662,663,664,671,672,673,674,675,676,678,679,681,682,683,684,685,719,720,723,724,726,728,729,732,733,747,749,750,751,754,755,756,757,758,762,766,768,771,773,774,778,784,785,790,793,796,798,800,802,806,816,817,818,820,821,825,832,838,847,854,892,895,897,899,901,902,903,909,910,911,914,915,921,924,925,926,928,930,931,935,937,938,939,940,941,946,948,956,957,960,962,967,968,969,971,972,973,974,975,992,996,999,1000,1001,1002,1003,1005,1006,1007,1010,1012,1013,1014,1019,1027,1028,1034,1036,1037,1038,1039,1040,1051,1056,1057,1060,1061,1062,1065,1067,1068,1071,1078,1082,1083,1084,1085,1088,1089,1090,1091,1099,1101,1104,1109,1110,1111,1114,1115,1116,1121,1125,1129,1131,1132,1133,1134,1136,1138,1141,1145,1146,1152,1154,1155,1156,1157,1159,1163,1164,1169,1174,1175,1177,1178,1180,1181,1183,1185,1196,1197,1205,1206,1210,1213,1215,1216,1219,1220,1222,1230,1236,1237,1243,1247,1249,1265,1266,1278,1280,1281,1282,1283,1284,1285,1287,1295,1296,1300,1301,1303,1321,1324,1339,1340,1342,1347,1355,1370,1371,1373,1374,1379,1386,1394],[1,2,179,198,220,236,253,269,278,279,280,281,282,283,284,285,286,288,289,345,389,390,391,392,393,396,397,401,403,420,452,527,533,534,535,536,537,538,541,542,544,548,582,583,609,613,671,688,689,690,691,692,693,694,695,696,698,699,700,701,702,704,705,706,707,708,709,711,714,715,717,817,920,995,1011,1028,1040,1043,1252,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1395,1396]]]
[[114,115,198,251,254,256,271,293,304,323,348,349,364,369,375,380,382,387,413,425,430,431,436,443,444,449,450,463,481,484,487,496,504,514,518,519,550,567,570,584,585,589,590,596,598,601,602,605,606,610,612,614,615,618,634,636,639,654,656,657,661,673,674,676,677,679,680,682,683,725,726,729,734,750,751,752,757,769,779,785,786,787,794,797,801,803,807,818,819,823,848,855,896,898,900,910,916,917,931,936,939,947,949,963,968,969,1005,1008,1013,1014,1015,1020,1029,1032,1039,1040,1052,1058,1060,1063,1066,1069,1072,1085,1086,1089,1100,1102,1112,1115,1122,1126,1130,1134,1135,1137,1139,1142,1153,1155,1157,1158,1160,1164,1165,1181,1184,1186,1207,1211,1220,1231,1284,1286,1288,1302,1304,1322,1375],[7,10,51,69,92,114,115,119,133,138,167,175,181,198,216,217,220,225,228,244,246,249,251,253,254,256,258,259,260,268,269,270,271,275,293,295,296,300,301,304,306,311,312,314,316,322,323,330,331,332,336,339,343,347,362,363,364,367,368,369,374,375,377,380,382,384,385,387,405,413,417,419,424,425,426,428,429,430,431,432,433,436,437,440,441,443,444,449,450,452,454,463,466,469,473,476,480,485,487,492,493,494,495,496,499,501,502,503,504,511,514,517,518,519,528,529,550,551,552,553,556,560,561,562,564,566,567,570,572,590,596,597,601,602,606,615,618,619,620,627,634,636,639,640,641,642,646,649,651,654,655,656,657,659,660,661,662,663,664,665,672,674,677,679,680,682,683,684,685,686,720,721,724,725,727,729,730,733,734,748,750,751,752,755,756,757,758,759,763,767,769,772,774,775,779,785,786,791,794,797,799,801,803,807,817,818,819,821,822,826,833,839,848,855,893,896,898,900,904,910,911,912,915,916,922,925,926,927,929,931,932,936,938,939,940,941,942,947,949,957,958,961,963,968,969,970,972,973,974,975,976,993,997,1000,1001,1002,1003,1004,1006,1007,1008,1011,1013,1014,1015,1020,1028,1029,1035,1037,1038,1039,1040,1041,1052,1057,1058,1061,1062,1063,1066,1068,1069,1072,1079,1083,1084,1085,1086,1089,1090,1091,1092,1100,1102,1105,1110,1111,1112,1115,1116,1117,1122,1126,1130,1132,1133,1134,1135,1137,1139,1142,1146,1153,1156,1158,1164,1165,1170,1175,1176,1178,1179,1181,1182,1184,1186,1197,1198,1206,1207,1211,1214,1216,1217,1220,1221,1223,1231,1237,1238,1244,1248,1250,1266,1267,1279,1281,1282,1283,1284,1285,1286,1288,1296,1297,1301,1302,1304,1322,1325,1340,1341,1343,1348,1356,1371,1372,1374,1375,1387,1395],[11,68,178,196,197,208,210,212,414,415,416,464,465,820,1161,1255,1380,1401],[7,10,51,69,92,114,115,119,133,138,167,175,181,198,216,217,220,225,228,244,246,249,251,253,254,256,258,259,260,268,269,270,271,275,293,295,296,300,301,304,306,311,312,314,316,322,323,330,331,332,336,339,343,347,348,349,362,363,364,367,368,369,374,375,377,380,382,384,385,387,405,406,413,417,419,424,425,426,428,429,430,431,432,433,436,437,440,441,443,444,449,450,452,454,455,461,463,466,469,473,476,480,485,487,492,493,494,495,496,499,501,502,503,504,511,514,517,518,519,528,529,550,551,552,553,556,560,561,562,564,566,567,570,572,584,585,589,590,592,594,595,596,597,598,601,602,605,606,607,610,612,614,615,618,619,620,627,634,636,639,640,641,642,646,649,651,654,655,656,657,659,660,661,662,663,664,665,672,673,674,675,676,677,679,680,682,683,684,685,686,720,721,724,725,727,729,730,733,734,748,750,751,752,755,756,757,758,759,763,767,769,772,774,775,779,785,786,791,794,797,799,801,803,807,817,818,819,821,822,826,833,839,848,855,893,896,898,900,902,903,904,910,911,912,915,916,922,925,926,927,929,931,932,936,938,939,940,941,942,947,949,957,958,961,963,968,969,970,972,973,974,975,976,993,997,1000,1001,1002,1003,1004,1006,1007,1008,1011,1013,1014,1015,1020,1028,1029,1035,1037,1038,1039,1040,1041,1052,1057,1058,1061,1062,1063,1066,1068,1069,1072,1079,1083,1084,1085,1086,1089,1090,1091,1092,1100,1102,1105,1110,1111,1112,1115,1116,1117,1122,1126,1130,1132,1133,1134,1135,1137,1139,1142,1146,1147,1153,1155,1156,1157,1158,1160,1164,1165,1170,1175,1176,1178,1179,1181,1182,1184,1186,1197,1198,1206,1207,1211,1214,1216,1217,1220,1221,1223,1231,1237,1238,1244,1248,1250,1266,1267,1279,1281,1282,1283,1284,1285,1286,1288,1296,1297,1301,1302,1304,1322,1325,1340,1341,1343,1348,1356,1371,1372,1374,1375,1380,1387,1395],[1,2,180,199,221,237,254,270,279,280,281,282,283,284,285,286,287,289,290,346,390,391,392,393,394,397,398,402,404,421,453,528,534,535,536,537,538,539,542,543,545,549,583,584,610,614,672,689,690,691,692,693,694,695,696,697,699,700,701,702,703,705,706,707,708,709,710,712,715,716,718,818,921,996,1012,1029,1041,1044,1253,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1396,1397]]]
];
1 change: 1 addition & 0 deletions styles/icons.less
Expand Up @@ -599,6 +599,7 @@
.scilab-icon:before { .fi; content: "\e9a9"; top: 3px; font-size: 18px; left: -1px; .thicken; }
.scrutinizer-icon:before { .fi; content: "\e9d4"; top: 2px; font-size: 14px; }
.self-icon:before { .fi; content: "\e9a8"; top: 3px; font-size: 16px; .sharpen; transform: scale(1.2); }
.serverless-icon:before { .fi; content: "\eab8"; top: 2px; }
.sequelize-icon:before { .fi; content: "\ea2f"; top: 3px; font-size: 16px; }
.sf-icon:before { .fi; content: "\e9db"; top: 2px; }
.shen-icon:before { .fi; content: "\e9a7"; top: 2px; font-size: 16px; }
Expand Down

0 comments on commit f2cc542

Please sign in to comment.