Skip to content

Commit

Permalink
[Icons] Add several utility icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Miller committed May 1, 2020
1 parent 10c96c9 commit ede65e5
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 2 deletions.
Binary file added icons/default/bookmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/mail-mark-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/mail-mark-unread.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions icons/default/svgrepo/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The icons in this subdirectory are taken from https://www.svgrepo.com/
and are licensed under the SVG Repo license: https://www.svgrepo.com/page/licensing
Binary file added icons/default/svgrepo/house.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/svgrepo/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/svgrepo/repeat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/svgrepo/screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/default/svgrepo/suitcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions src/elisp/treemacs-icons.el
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,14 @@ Necessary since root icons are not rectangular."
(treemacs-create-icon :file "error.png" :extensions (error) :fallback (propertize "" 'face 'font-lock-string-face))
(treemacs-create-icon :file "warning.png" :extensions (warning) :fallback (propertize "" 'face 'font-lock-string-face))
(treemacs-create-icon :file "info.png" :extensions (info) :fallback (propertize "" 'face 'font-lock-string-face))

;; ;; file icons
(treemacs-create-icon :file "mail.png" :extensions (mail) :fallback "")
(treemacs-create-icon :file "bookmark.png" :extensions (bookmark) :fallback "")
(treemacs-create-icon :file "svgrepo/screen.png" :extensions (screen) :fallback "")
(treemacs-create-icon :file "svgrepo/house.png" :extensions (house) :fallback "")
(treemacs-create-icon :file "svgrepo/list.png" :extensions (list) :fallback "")
(treemacs-create-icon :file "svgrepo/repeat.png" :extensions (repeat) :fallback "")

;; file icons
(treemacs-create-icon :file "txt.png" :extensions (fallback))
(treemacs-create-icon :file "emacs.png" :extensions ("el" "elc"))
(treemacs-create-icon :file "ledger.png" :extensions ("ledger"))
Expand Down

0 comments on commit ede65e5

Please sign in to comment.