Skip to content

Commit

Permalink
Replace improvised 1C icon with an official one
Browse files Browse the repository at this point in the history
References: file-icons/icons#5
  • Loading branch information
Alhadis committed Dec 23, 2016
1 parent a3b887d commit c5ee547
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config.cson
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ fileIcons:
[".os", "medium-red"]
]

"1C MDO":
icon: "_1c-alt"
match: ".mdo"
colour: "auto-cyan"

ABAP:
icon: "abap"
scope: "abp"
Expand Down
Binary file modified fonts/file-icons.woff2
Binary file not shown.
3 changes: 2 additions & 1 deletion lib/icons/.icondb.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ module.exports = [
["emacs-icon",["medium-blue","medium-blue"],/^Project\.ede$/i],
["_1c-icon",["dark-blue","dark-blue"],/\.bsl$/i,false,,/\.bsl$/i,/^1C$|^1[\W_ \t]?C[\W_ \t]?Enterprise$/i],
["_1c-icon",["medium-red","medium-red"],/\.os$/i],
["_1c-alt-icon",["medium-cyan","dark-cyan"],/\.mdo$/i],
["abap-icon",["medium-orange","medium-orange"],/\.abap$/i,false,,/\.abp$/i,/^ABAP$/i],
["as-icon",["medium-blue","medium-blue"],/\.swf$/i],
["as-icon",["medium-red","medium-red"],/\.as$/i,false,,/\.(?:flex-config|actionscript(?:\.\d+)?)$/i,/^ActionScript$|^(?:ActionScript\s*3|as3)$/i],
Expand Down Expand Up @@ -1066,5 +1067,5 @@ module.exports = [
["book-icon",["dark-blue","dark-blue"],/^news(?:[-_.]?[-\d]+)?$/i],
["v8-icon",["medium-blue","medium-blue"],/^(?:[dv]8|v8[-_.][^.]*|mksnapshot|mkpeephole)$/i],
["terminal-icon",["medium-purple","medium-purple"],/rc/i]],
[[68,144,149,151,166,187,190,191,192,193,199,212,234,239,244,246,248,253,282,287,288,298,299,304,327,329,332,339,343,348,357,373,388,391,409,413,414,415,417,424,427,441,444,458,460,461,464,473,474,475,478,479,509,510,513,518,539,549,554,555,556,562,564,568,570,574,585,586,610,613,641,652,653,664,671,677,679,692,697,698,728,731,738,743,752,755,761,762,782,784,787,789,792,795,806,807,810,820,822,832,838,843,845,849,850,852,853,856,866,871,888,904,908,916,924,967,980,983,985,1005],[56,68,103,119,121,123,126,140,142,144,146,148,149,151,153,154,155,163,164,166,171,187,189,190,191,192,193,199,201,205,206,208,210,211,212,218,219,220,224,225,229,231,232,233,234,237,238,239,244,246,248,250,251,253,270,280,281,282,283,285,286,287,288,289,290,292,295,296,298,299,304,307,309,321,325,326,332,337,338,339,342,343,345,346,347,348,354,357,360,373,374,375,376,379,383,385,387,388,391,393,409,415,432,433,435,441,444,445,446,447,451,454,456,458,459,460,461,462,463,464,465,466,467,468,472,475,478,479,480,481,482,506,508,509,511,513,514,517,518,527,530,531,532,533,537,539,542,544,545,549,554,555,559,562,564,566,568,570,574,584,585,586,587,588,589,596,602,610,613,640,641,647,648,651,652,658,661,662,663,664,668,670,671,672,673,674,677,679,687,690,692,697,698,699,700,701,702,717,721,724,725,727,729,730,731,736,738,743,751,752,757,759,760,761,762,764,776,781,782,785,786,787,789,791,792,795,802,806,807,810,811,812,813,820,822,825,829,831,832,834,838,843,845,847,848,849,850,852,853,856,860,866,869,871,879,881,882,883,885,886,888,890,895,903,904,908,912,913,916,917,918,924,927,931,932,934,950,962,963,964,965,966,967,975,977,980,982,983,985,1005,1007,1016,1018,1021,1035,1036,1037,1045],[41,147,277,278,279,316,874,939],[56,68,103,119,121,123,126,140,142,144,146,148,149,151,153,154,155,163,164,166,171,187,189,190,191,192,193,199,201,205,206,208,210,211,212,218,219,220,224,225,229,231,232,233,234,237,238,239,244,246,248,250,251,253,270,271,280,281,282,283,285,286,287,288,289,290,292,295,296,298,299,304,306,307,309,314,321,325,326,332,337,338,339,342,343,345,346,347,348,354,357,360,373,374,375,376,379,383,385,387,388,391,393,405,409,411,413,414,415,417,424,425,427,432,433,435,441,444,445,446,447,451,454,456,458,459,460,461,462,463,464,465,466,467,468,472,473,474,475,476,478,479,480,481,482,506,508,509,511,513,514,517,518,527,530,531,532,533,537,539,542,544,545,549,554,555,559,562,564,566,568,570,574,584,585,586,587,588,589,596,602,610,613,640,641,643,644,647,648,651,652,658,661,662,663,664,668,670,671,672,673,674,677,679,687,690,692,697,698,699,700,701,702,717,721,724,725,727,729,730,731,736,738,743,751,752,757,759,760,761,762,764,776,781,782,785,786,787,789,791,792,795,802,806,807,810,811,812,813,820,822,825,829,831,832,834,838,843,845,847,848,849,850,852,853,856,860,861,866,869,871,879,881,882,883,885,886,888,890,895,903,904,908,912,913,916,917,918,924,927,931,932,934,950,962,963,964,965,966,967,975,977,980,982,983,985,1005,1007,1016,1018,1021,1035,1036,1037,1045],[135,175,176,180,185,230,256,257,258,259,260,263,268,367,368,403,404,485,486,487,488,489,491,492,496,497,499,500,657,720,737,752,764,937,993,994,995,1001]]]
[[68,145,150,152,167,188,191,192,193,194,200,213,235,240,245,247,249,254,283,288,289,299,300,305,328,330,333,340,344,349,358,374,389,392,410,414,415,416,418,425,428,442,445,459,461,462,465,474,475,476,479,480,510,511,514,519,540,550,555,556,557,563,565,569,571,575,586,587,611,614,642,653,654,665,672,678,680,693,698,699,729,732,739,744,753,756,762,763,783,785,788,790,793,796,807,808,811,821,823,833,839,844,846,850,851,853,854,857,867,872,889,905,909,917,925,968,981,984,986,1006],[56,68,103,119,122,124,127,141,143,145,147,149,150,152,154,155,156,164,165,167,172,188,190,191,192,193,194,200,202,206,207,209,211,212,213,219,220,221,225,226,230,232,233,234,235,238,239,240,245,247,249,251,252,254,271,281,282,283,284,286,287,288,289,290,291,293,296,297,299,300,305,308,310,322,326,327,333,338,339,340,343,344,346,347,348,349,355,358,361,374,375,376,377,380,384,386,388,389,392,394,410,416,433,434,436,442,445,446,447,448,452,455,457,459,460,461,462,463,464,465,466,467,468,469,473,476,479,480,481,482,483,507,509,510,512,514,515,518,519,528,531,532,533,534,538,540,543,545,546,550,555,556,560,563,565,567,569,571,575,585,586,587,588,589,590,597,603,611,614,641,642,648,649,652,653,659,662,663,664,665,669,671,672,673,674,675,678,680,688,691,693,698,699,700,701,702,703,718,722,725,726,728,730,731,732,737,739,744,752,753,758,760,761,762,763,765,777,782,783,786,787,788,790,792,793,796,803,807,808,811,812,813,814,821,823,826,830,832,833,835,839,844,846,848,849,850,851,853,854,857,861,867,870,872,880,882,883,884,886,887,889,891,896,904,905,909,913,914,917,918,919,925,928,932,933,935,951,963,964,965,966,967,968,976,978,981,983,984,986,1006,1008,1017,1019,1022,1036,1037,1038,1046],[41,148,278,279,280,317,875,940],[56,68,103,119,122,124,127,141,143,145,147,149,150,152,154,155,156,164,165,167,172,188,190,191,192,193,194,200,202,206,207,209,211,212,213,219,220,221,225,226,230,232,233,234,235,238,239,240,245,247,249,251,252,254,271,272,281,282,283,284,286,287,288,289,290,291,293,296,297,299,300,305,307,308,310,315,322,326,327,333,338,339,340,343,344,346,347,348,349,355,358,361,374,375,376,377,380,384,386,388,389,392,394,406,410,412,414,415,416,418,425,426,428,433,434,436,442,445,446,447,448,452,455,457,459,460,461,462,463,464,465,466,467,468,469,473,474,475,476,477,479,480,481,482,483,507,509,510,512,514,515,518,519,528,531,532,533,534,538,540,543,545,546,550,555,556,560,563,565,567,569,571,575,585,586,587,588,589,590,597,603,611,614,641,642,644,645,648,649,652,653,659,662,663,664,665,669,671,672,673,674,675,678,680,688,691,693,698,699,700,701,702,703,718,722,725,726,728,730,731,732,737,739,744,752,753,758,760,761,762,763,765,777,782,783,786,787,788,790,792,793,796,803,807,808,811,812,813,814,821,823,826,830,832,833,835,839,844,846,848,849,850,851,853,854,857,861,862,867,870,872,880,882,883,884,886,887,889,891,896,904,905,909,913,914,917,918,919,925,928,932,933,935,951,963,964,965,966,967,968,976,978,981,983,984,986,1006,1008,1017,1019,1022,1036,1037,1038,1046],[136,176,177,181,186,231,257,258,259,260,261,264,269,368,369,404,405,486,487,488,489,490,492,493,497,498,500,501,658,721,738,753,765,938,994,995,996,1002]]]
];
1 change: 1 addition & 0 deletions styles/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
.fi { font-family: file-icons; font-size: 15px; }

._1c-icon:before { .fi; content: "\a5ea"; top: 3px; font-size: 16px; }
._1c-alt-icon:before { .fi; content: "\ea28"; top: 3px; font-size: 16px; }
.abap-icon:before { .fi; content: "\e92b"; top: 2px; }
.access-icon:before { .fi; content: "\e9ea"; top: 2px; }
.ada-icon:before { .fi; content: "\e90b"; top: 3px; font-size: 17px; }
Expand Down

3 comments on commit c5ee547

@nixel2007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot, can you make them red please?

@Alhadis
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да ;)

(Congratulations, you've just heard my entire Russian vocabulary. :D Which I only know because some words are the same in Croatian).

@nixel2007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I can teach you more!
"нет" is russian "no" :D

Please sign in to comment.