Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 1ff54e3

Browse files
committed
📦 Update file icons
1 parent 54028f5 commit 1ff54e3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/assets/icons/file-icons.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4734,6 +4734,11 @@
47344734
"height": 512,
47354735
"svg": "<path d=\"M465,512H47c-25.9573841,0-47-21.0426025-47-47V47C0,21.0426159,21.0426159,0,47,0h418c25.9573975,0,47,21.0426159,47,47v418C512,490.9573975,490.9573975,512,465,512z M444.4159851,238.5908661H91.1360016V85.502861H244.223999v118.7840042h23.552002V61.4388618H67.5839996v200.7039948h353.2800293v153.0880127H267.776001v-99.8399963h-23.552002v123.3919983h200.1919861V238.5908661z\"/>"
47364736
},
4737+
"snapcraft": {
4738+
"width": 512,
4739+
"height": 512,
4740+
"svg": "<path d=\"M294.5,122l112.9,50.2L294.5,285V122z M79,500.6l199.2-199.2L217.4,241L79,500.6z M0,11.4l284.9,283.2V114.4L0,11.4z M465.1,114.4H301.1L512,208.2L465.1,114.4z\"/>"
4741+
},
47374742
"snort": {
47384743
"width": 512,
47394744
"height": 512,

src/assets/misc/file-icons-match.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,7 @@ function matchIcon(filename) {
15751575
if (/\.eskip$/i.test(filename)) { return "anchor"; }
15761576
if (/\.sl$/i.test(filename)) { return "slash"; }
15771577
if (/\.tpl$/i.test(filename)) { return "smarty"; }
1578+
if (/^snapcraft\.ya?ml$/i.test(filename)) { return "snapcraft"; }
15781579
if (/^snap\.svg([-.]min)?\.js$/i.test(filename)) { return "snapsvg"; }
15791580
if (/\.snort$/i.test(filename)) { return "snort"; }
15801581
if (/\.snyk$/i.test(filename)) { return "snyk"; }

0 commit comments

Comments
 (0)