From 36deba77372b93b213990cca1d181b8d5aacb5b5 Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Wed, 27 Sep 2017 15:51:34 -0500 Subject: [PATCH] Added folder icons --- README.md | 20 +++++++++++++++----- css/file-icon-classic.css | 4 ++++ css/file-icon-vivid.css | 4 ++++ icons/classic/catalog.json | 2 +- icons/classic/folder.svg | 26 ++++++++++++++++++++++++++ icons/vivid/catalog.json | 2 +- icons/vivid/folder.svg | 13 +++++++++++++ sass/_file-icon-classic-list.scss | 1 + sass/_file-icon-vivid-list.scss | 1 + 9 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 icons/classic/folder.svg create mode 100644 icons/vivid/folder.svg diff --git a/README.md b/README.md index 225371c..e84817c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,13 @@ A collection of file type vector (SVG) icons. * If you have [feedback, bugs or requests](https://github.com/dmhendricks/file-icon-vectors/issues), please feel free to post them. * I paid to license many of the icons used in these sets. [Donations](https://paypal.me/danielhendricks) are appreciated. +## Icon Sets + +Currently, there are two icon sets in the `icons` directory: + +* **Classic** - An expansion of the Redboot [free-file-icons](https://github.com/redbooth/free-file-icons) designs. +* **Vivid** - Inspired by [Erlen Masson](https://www.sketchappsources.com/svg-resource/1856-vector-file-type-icons-sketch-freebie-resource.html) + ## Installation To install via Composer: @@ -24,9 +31,7 @@ composer require dmhendricks/file-icon-vectors ## Usage -Currently, there are two icon sets in the `icons` directory - "Classic" (which expands on the [Redbooth](https://github.com/redbooth/free-file-icons) designs and "Vivid" (which borrows inspiration from [Erlen Masson](https://www.sketchappsources.com/svg-resource/1856-vector-file-type-icons-sketch-freebie-resource.html)). - -To uae, simply link to one or both of the CSS files in the `css` directory. +To display a file icon, simply link to one or both of the icon set CSS files in the `css` directory: ``` @@ -70,8 +75,13 @@ If you prefer, you may also use `.fiv-size-md`, `.fiv-size-lg` and `.fiv-size-xl ## Legal Stuff +All icons used in the creation of this library were licensed MIT or purchased royalty-free, with exceptions noted below. + +If you feel that you have a copyright issue, please feel free to [post it](https://github.com/dmhendricks/file-icon-vectors/issues). + ### Attribution * [Android icon](https://www.flaticon.com/free-icon/android-logo_61120) made by [Google](https://www.flaticon.com/authors/google) via [flaticon.com](https://www.flaticon.com/) -* Low-quality [BitTorrent icon](http://www.icons101.com/icon/id_73504/setid_2388/Minimalist_Black_Icons__WIP_by_noshery/bittorrent) made by [noshery](http://www.icons101.com/artist/id_2388/noshery) from [icons101.com](http://www.icons101.com/) -* Low-quality [GIMP Icon](https://icons8.com/icon/39867/gimp#filled) provided by [Icons8 LLC](https://icons8.com/) +* [BitTorrent icon](http://www.icons101.com/icon/id_73504/setid_2388/Minimalist_Black_Icons__WIP_by_noshery/bittorrent) made by [noshery](http://www.icons101.com/artist/id_2388/noshery) from [icons101.com](http://www.icons101.com/) +* [GIMP Icon](https://icons8.com/icon/39867/gimp#filled) provided by [Icons8 LLC](https://icons8.com/) +* Vivid set [Folder Icon](https://www.iconfinder.com/icons/173016/close_folder_icon) made by [Snip Master](https://www.iconfinder.com/snipicons) from [Iconfinder](https://www.iconfinder.com) diff --git a/css/file-icon-classic.css b/css/file-icon-classic.css index 968c17b..36b5ed2 100644 --- a/css/file-icon-classic.css +++ b/css/file-icon-classic.css @@ -391,6 +391,10 @@ background-image: url("../icons/classic/flv.svg"); } +.fiv-cla.fiv-icon-folder { + background-image: url("../icons/classic/folder.svg"); +} + .fiv-cla.fiv-icon-gadget { background-image: url("../icons/classic/gadget.svg"); } diff --git a/css/file-icon-vivid.css b/css/file-icon-vivid.css index 3b5b486..330bd7a 100644 --- a/css/file-icon-vivid.css +++ b/css/file-icon-vivid.css @@ -391,6 +391,10 @@ background-image: url("../icons/vivid/flv.svg"); } +.fiv-viv.fiv-icon-folder { + background-image: url("../icons/vivid/folder.svg"); +} + .fiv-viv.fiv-icon-gadget { background-image: url("../icons/vivid/gadget.svg"); } diff --git a/icons/classic/catalog.json b/icons/classic/catalog.json index ecab776..f76c07c 100644 --- a/icons/classic/catalog.json +++ b/icons/classic/catalog.json @@ -1 +1 @@ -["3g2","3ga","3gp","7z","aa","aac","accdb","accdt","adn","ai","aif","aifc","aiff","ait","amr","ani","apk","app","asax","ascx","asf","ash","ashx","asmx","asp","aspx","asx","au","aup","avi","axd","aze","bash","bat","bin","blank","bmp","bpg","browser","bz2","c","cab","caf","cal","cd","cer","class","cmd","com","compile","config","cpp","cr2","crt","crypt","cs","csh","csproj","css","csv","cue","dat","db","dbf","deb","dgn","dll","dmg","dng","doc","docb","docm","docx","dot","dotm","dotx","dpj","dtd","dwg","dxf","eot","eps","epub","exe","f4v","fax","fb2","fla","flac","flv","gadget","gem","gif","gitignore","gpg","gz","h","htm","html","ibooks","ico","ics","idx","iff","image","img","indd","inf","ini","iso","jar","java","jpe","jpeg","jpg","js","json","jsp","key","kf8","ksh","less","licx","lit","log","lua","m2v","m3u","m3u8","m4a","m4r","m4v","master","md","mdb","mdf","mid","midi","mkv","mobi","mov","mp2","mp3","mp4","mpa","mpd","mpe","mpeg","mpg","mpga","mpp","mpt","msi","msu","nef","nes","odb","odt","ogg","ogv","ost","otf","ott","ovf","p12","p7b","pages","part","pcd","pdb","pdf","pem","pfx","pgp","php","png","po","pot","potx","pps","ppsx","ppt","pptm","pptx","prop","ps","psd","psp","pst","pub","py","qt","ra","ram","rar","raw","rb","rdf","resx","rm","rpm","rtf","rub","sass","scss","sdf","sh","sitemap","skin","sldm","sldx","sln","sql","step","stl","svg","swd","swf","swift","sys","tar","tcsh","tex","tga","tgz","tif","tiff","torrent","ts","tsv","ttf","txt","udf","vb","vbproj","vcd","vcs","vdi","vmdk","vob","war","wav","wbk","webinfo","webm","webp","wma","wmf","wmv","woff","woff2","wsf","xaml","xcf","xlm","xls","xlsm","xlsx","xlt","xltm","xltx","xml","xpi","xps","xrb","xspf","xz","yml","z","zip","zsh"] \ No newline at end of file +["3g2","3ga","3gp","7z","aa","aac","accdb","accdt","adn","ai","aif","aifc","aiff","ait","amr","ani","apk","app","asax","ascx","asf","ash","ashx","asmx","asp","aspx","asx","au","aup","avi","axd","aze","bash","bat","bin","blank","bmp","bpg","browser","bz2","c","cab","caf","cal","cd","cer","class","cmd","com","compile","config","cpp","cr2","crt","crypt","cs","csh","csproj","css","csv","cue","dat","db","dbf","deb","dgn","dll","dmg","dng","doc","docb","docm","docx","dot","dotm","dotx","dpj","dtd","dwg","dxf","eot","eps","epub","exe","f4v","fax","fb2","fla","flac","flv","folder","gadget","gem","gif","gitignore","gpg","gz","h","htm","html","ibooks","ico","ics","idx","iff","image","img","indd","inf","ini","iso","jar","java","jpe","jpeg","jpg","js","json","jsp","key","kf8","ksh","less","licx","lit","log","lua","m2v","m3u","m3u8","m4a","m4r","m4v","master","md","mdb","mdf","mid","midi","mkv","mobi","mov","mp2","mp3","mp4","mpa","mpd","mpe","mpeg","mpg","mpga","mpp","mpt","msi","msu","nef","nes","odb","odt","ogg","ogv","ost","otf","ott","ovf","p12","p7b","pages","part","pcd","pdb","pdf","pem","pfx","pgp","php","png","po","pot","potx","pps","ppsx","ppt","pptm","pptx","prop","ps","psd","psp","pst","pub","py","qt","ra","ram","rar","raw","rb","rdf","resx","rm","rpm","rtf","rub","sass","scss","sdf","sh","sitemap","skin","sldm","sldx","sln","sql","step","stl","svg","swd","swf","swift","sys","tar","tcsh","tex","tga","tgz","tif","tiff","torrent","ts","tsv","ttf","txt","udf","vb","vbproj","vcd","vcs","vdi","vmdk","vob","war","wav","wbk","webinfo","webm","webp","wma","wmf","wmv","woff","woff2","wsf","xaml","xcf","xlm","xls","xlsm","xlsx","xlt","xltm","xltx","xml","xpi","xps","xrb","xspf","xz","yml","z","zip","zsh"] \ No newline at end of file diff --git a/icons/classic/folder.svg b/icons/classic/folder.svg new file mode 100644 index 0000000..dd2d8c2 --- /dev/null +++ b/icons/classic/folder.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/icons/vivid/catalog.json b/icons/vivid/catalog.json index ecab776..f76c07c 100644 --- a/icons/vivid/catalog.json +++ b/icons/vivid/catalog.json @@ -1 +1 @@ -["3g2","3ga","3gp","7z","aa","aac","accdb","accdt","adn","ai","aif","aifc","aiff","ait","amr","ani","apk","app","asax","ascx","asf","ash","ashx","asmx","asp","aspx","asx","au","aup","avi","axd","aze","bash","bat","bin","blank","bmp","bpg","browser","bz2","c","cab","caf","cal","cd","cer","class","cmd","com","compile","config","cpp","cr2","crt","crypt","cs","csh","csproj","css","csv","cue","dat","db","dbf","deb","dgn","dll","dmg","dng","doc","docb","docm","docx","dot","dotm","dotx","dpj","dtd","dwg","dxf","eot","eps","epub","exe","f4v","fax","fb2","fla","flac","flv","gadget","gem","gif","gitignore","gpg","gz","h","htm","html","ibooks","ico","ics","idx","iff","image","img","indd","inf","ini","iso","jar","java","jpe","jpeg","jpg","js","json","jsp","key","kf8","ksh","less","licx","lit","log","lua","m2v","m3u","m3u8","m4a","m4r","m4v","master","md","mdb","mdf","mid","midi","mkv","mobi","mov","mp2","mp3","mp4","mpa","mpd","mpe","mpeg","mpg","mpga","mpp","mpt","msi","msu","nef","nes","odb","odt","ogg","ogv","ost","otf","ott","ovf","p12","p7b","pages","part","pcd","pdb","pdf","pem","pfx","pgp","php","png","po","pot","potx","pps","ppsx","ppt","pptm","pptx","prop","ps","psd","psp","pst","pub","py","qt","ra","ram","rar","raw","rb","rdf","resx","rm","rpm","rtf","rub","sass","scss","sdf","sh","sitemap","skin","sldm","sldx","sln","sql","step","stl","svg","swd","swf","swift","sys","tar","tcsh","tex","tga","tgz","tif","tiff","torrent","ts","tsv","ttf","txt","udf","vb","vbproj","vcd","vcs","vdi","vmdk","vob","war","wav","wbk","webinfo","webm","webp","wma","wmf","wmv","woff","woff2","wsf","xaml","xcf","xlm","xls","xlsm","xlsx","xlt","xltm","xltx","xml","xpi","xps","xrb","xspf","xz","yml","z","zip","zsh"] \ No newline at end of file +["3g2","3ga","3gp","7z","aa","aac","accdb","accdt","adn","ai","aif","aifc","aiff","ait","amr","ani","apk","app","asax","ascx","asf","ash","ashx","asmx","asp","aspx","asx","au","aup","avi","axd","aze","bash","bat","bin","blank","bmp","bpg","browser","bz2","c","cab","caf","cal","cd","cer","class","cmd","com","compile","config","cpp","cr2","crt","crypt","cs","csh","csproj","css","csv","cue","dat","db","dbf","deb","dgn","dll","dmg","dng","doc","docb","docm","docx","dot","dotm","dotx","dpj","dtd","dwg","dxf","eot","eps","epub","exe","f4v","fax","fb2","fla","flac","flv","folder","gadget","gem","gif","gitignore","gpg","gz","h","htm","html","ibooks","ico","ics","idx","iff","image","img","indd","inf","ini","iso","jar","java","jpe","jpeg","jpg","js","json","jsp","key","kf8","ksh","less","licx","lit","log","lua","m2v","m3u","m3u8","m4a","m4r","m4v","master","md","mdb","mdf","mid","midi","mkv","mobi","mov","mp2","mp3","mp4","mpa","mpd","mpe","mpeg","mpg","mpga","mpp","mpt","msi","msu","nef","nes","odb","odt","ogg","ogv","ost","otf","ott","ovf","p12","p7b","pages","part","pcd","pdb","pdf","pem","pfx","pgp","php","png","po","pot","potx","pps","ppsx","ppt","pptm","pptx","prop","ps","psd","psp","pst","pub","py","qt","ra","ram","rar","raw","rb","rdf","resx","rm","rpm","rtf","rub","sass","scss","sdf","sh","sitemap","skin","sldm","sldx","sln","sql","step","stl","svg","swd","swf","swift","sys","tar","tcsh","tex","tga","tgz","tif","tiff","torrent","ts","tsv","ttf","txt","udf","vb","vbproj","vcd","vcs","vdi","vmdk","vob","war","wav","wbk","webinfo","webm","webp","wma","wmf","wmv","woff","woff2","wsf","xaml","xcf","xlm","xls","xlsm","xlsx","xlt","xltm","xltx","xml","xpi","xps","xrb","xspf","xz","yml","z","zip","zsh"] \ No newline at end of file diff --git a/icons/vivid/folder.svg b/icons/vivid/folder.svg new file mode 100644 index 0000000..94a7eed --- /dev/null +++ b/icons/vivid/folder.svg @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/sass/_file-icon-classic-list.scss b/sass/_file-icon-classic-list.scss index bbb3e6c..5a9999b 100644 --- a/sass/_file-icon-classic-list.scss +++ b/sass/_file-icon-classic-list.scss @@ -89,6 +89,7 @@ @include file-icon(classic, cla, fla); @include file-icon(classic, cla, flac); @include file-icon(classic, cla, flv); +@include file-icon(classic, cla, folder); @include file-icon(classic, cla, gadget); @include file-icon(classic, cla, gem); @include file-icon(classic, cla, gif); diff --git a/sass/_file-icon-vivid-list.scss b/sass/_file-icon-vivid-list.scss index 56034ee..9f53056 100644 --- a/sass/_file-icon-vivid-list.scss +++ b/sass/_file-icon-vivid-list.scss @@ -89,6 +89,7 @@ @include file-icon(vivid, viv, fla); @include file-icon(vivid, viv, flac); @include file-icon(vivid, viv, flv); +@include file-icon(vivid, viv, folder); @include file-icon(vivid, viv, gadget); @include file-icon(vivid, viv, gem); @include file-icon(vivid, viv, gif);