ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

File​Icons Mono

by braver ST3

File icons for Sublime Text

Labels file, icons

Details

Installs

  • Total 1K
  • Win 745
  • OS X 303
  • Linux 256
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 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
Windows 10 14 7 10 11 6 6 12 10 1 7 11 15 15 13 8 3 6 12 10 18 19 9 5 8 16 15 8 9 8 8 9 8 13 8 11 9 10 9 10 13 7 11 8 12 6
OS X 2 5 0 2 2 3 5 5 6 5 3 6 9 7 6 4 3 2 3 4 5 10 3 5 4 3 6 4 4 3 3 7 3 6 7 5 1 5 1 4 4 3 4 6 4 3
Linux 3 4 0 3 4 1 1 3 3 3 1 8 1 5 4 3 5 5 4 3 4 2 1 1 3 1 2 9 3 4 3 3 1 3 4 4 0 1 1 5 3 4 1 7 3 4

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.

To produce png files:

  • npm install
  • npm run build

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
  • 💃