FileIcons Mono
File icons for Sublime Text
Details
Installs
- Total 38K
- Win 23K
- Mac 7K
- Linux 8K
Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 8 | 10 | 7 | 6 | 5 | 7 | 11 | 6 | 7 | 7 | 9 | 6 | 3 | 6 | 6 | 9 | 9 | 5 | 9 | 8 | 7 | 8 | 7 | 3 | 7 | 9 | 10 | 11 | 13 | 6 | 5 | 4 | 8 | 4 | 6 | 10 | 7 | 6 | 9 | 13 | 9 | 7 | 7 | 5 | 8 |
Mac | 1 | 3 | 3 | 2 | 1 | 1 | 7 | 1 | 1 | 0 | 0 | 2 | 3 | 2 | 1 | 4 | 1 | 2 | 2 | 7 | 5 | 1 | 0 | 1 | 0 | 5 | 2 | 1 | 5 | 1 | 2 | 1 | 3 | 3 | 2 | 2 | 1 | 2 | 1 | 1 | 3 | 4 | 3 | 6 | 1 | 9 |
Linux | 1 | 0 | 2 | 3 | 1 | 4 | 0 | 4 | 2 | 2 | 4 | 1 | 6 | 2 | 5 | 5 | 1 | 2 | 3 | 1 | 4 | 3 | 1 | 6 | 0 | 3 | 2 | 2 | 3 | 5 | 3 | 0 | 3 | 4 | 2 | 3 | 1 | 2 | 2 | 5 | 5 | 2 | 2 | 2 | 6 | 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": [128, 128, 128],
"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
}
]
For instance, the layer0.tint
can be adjusted to create higher or lower contrast, or to a non-grey monochromatic color.
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!