FileIcons Mono
File icons for Sublime Text
Details
Installs
- Total 32K
- Win 19K
- Mac 6K
- Linux 7K
Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 8 | 15 | 10 | 12 | 8 | 2 | 12 | 10 | 14 | 10 | 10 | 12 | 11 | 15 | 7 | 12 | 13 | 14 | 11 | 9 | 11 | 12 | 8 | 8 | 9 | 10 | 9 | 8 | 8 | 7 | 14 | 10 | 7 | 5 | 9 | 9 | 15 | 5 | 9 | 16 | 8 | 6 | 13 | 11 | 8 | 11 |
Mac | 3 | 3 | 2 | 6 | 5 | 1 | 1 | 4 | 4 | 5 | 3 | 4 | 1 | 4 | 4 | 5 | 3 | 3 | 4 | 2 | 2 | 5 | 6 | 3 | 0 | 2 | 1 | 1 | 4 | 4 | 3 | 4 | 7 | 1 | 1 | 2 | 4 | 1 | 4 | 2 | 1 | 0 | 2 | 5 | 1 | 3 |
Linux | 2 | 2 | 0 | 5 | 4 | 6 | 4 | 4 | 5 | 6 | 4 | 5 | 6 | 5 | 4 | 1 | 4 | 3 | 7 | 1 | 2 | 4 | 5 | 3 | 7 | 3 | 7 | 9 | 3 | 5 | 2 | 3 | 6 | 5 | 3 | 3 | 4 | 6 | 3 | 7 | 2 | 2 | 4 | 4 | 5 | 2 |
Readme
- Source
- raw.githubusercontent.com
FileIcons Mono
Monochrome file icons for Sublime Text. Also available in color.
Adds specific icons for most file types for the sidebar in Sublime Text 3. Supports both the Default and Adaptive themes.
Inspired by A File Icon, but simpler:
- Doesn't introduce “alias” languages like “Javascript (Gulpfile)”
- No runtime code: no manipulation of settings or themes, no restarting
- No configuration: just uses existing theme override behavior
Customize
The following changes are made to Adaptive/Default.sublime-theme. You can override them by creating a theme file with the same name in your Packages/User directory.
[
{
"class": "icon_file_type",
"layer0.tint": [255, 255, 255],
"layer0.opacity": 0.6,
"content_margin": [8, 8]
},
{
"class": "icon_file_type",
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
"layer0.opacity": 0.75
},
{
"class": "icon_file_type",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"layer0.opacity": 0.9
}
]
Contributing
The “build” directory contains svg assets. Each icon is assigned a color in icons.json, available colors are listed in colors.json.
PNG icons are built using a small app written in Rust:
cd build
cargo run
To add an icon:
- add an svg asset with the correct name
- add an entry to icons.json and assign it a color
- add an entry to the preferences directory
- run the build
- commit the files
- open a PR
- 💃
Enable file icons for 3rd party themes
To get file icons in any theme other than Default or Adaptive, take the following steps:
- Go to the Sublime Text “Packages” directory (e.g. via the command “Browse Packages”).
- Download the latest version of FileIcons, or clone the repo. Download or switch to the mono branch for the gray-scale icons.
- Put the “FileIcons” directory you just downloaded/cloned into “Packages” directory.
- In your settings, check what theme you're using (e.g. 'itg.flat.dark.sublime-theme').
- In the FileIcons directory, open the “theme” directory. At the top you should see both “Adaptive.sublime-theme” and “Default.sublime-theme”. You can rename either of those to the filename you just found in your settings.
- Restart Sublime Text and you should see icons in the sidebar!
Buy me a coffee
☕️👌🏻
If you enjoy this package, feel free to make a little donation via PayPal towards the coffee that keeps this project running. It's much appreciated!