Skip to content

Commit

Permalink
Show font icon for more font types
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 22, 2018
1 parent f31db04 commit 9d29665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
unreleased
==========

* Show font icon for more font types
* deps: mime-types@~2.1.18
- Add new mime types
- deps: mime-db@~1.33.0
Expand Down
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ var icons = {
'folder': 'folder.png',

// generic mime type icons
'font': 'font.png',
'image': 'image.png',
'text': 'page_white_text.png',
'video': 'film.png',
Expand All @@ -550,7 +551,6 @@ var icons = {
'+zip': 'box.png',

// specific mime type icons
'application/font-woff': 'font.png',
'application/javascript': 'page_white_code_red.png',
'application/json': 'page_white_code.png',
'application/msword': 'page_white_word.png',
Expand All @@ -564,7 +564,6 @@ var icons = {
'application/vnd.oasis.opendocument.text': 'page_white_word.png',
'application/x-7z-compressed': 'box.png',
'application/x-sh': 'application_xp_terminal.png',
'application/x-font-ttf': 'font.png',
'application/x-msaccess': 'page_white_database.png',
'application/x-shockwave-flash': 'page_white_flash.png',
'application/x-sql': 'page_white_database.png',
Expand Down Expand Up @@ -618,7 +617,6 @@ var icons = {
'.map': 'map.png',
'.msi': 'box.png',
'.mv4': 'film.png',
'.otf': 'font.png',
'.pdb': 'page_white_database.png',
'.php': 'page_white_php.png',
'.pl': 'page_white_code.png',
Expand Down

0 comments on commit 9d29665

Please sign in to comment.