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 2K
  • Win 1K
  • OS X 578
  • Linux 500
Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6
Windows 5 13 10 10 7 6 10 18 14 8 10 12 16 10 12 14 13 11 13 13 21 14 12 14 10 15 17 17 23 6 4 14 12 10 13 10 12 12 8 10 8 12 10 6 10 7
OS X 2 1 1 6 8 3 3 5 3 5 7 11 3 5 5 1 8 1 2 10 6 8 3 3 5 12 10 4 5 1 6 5 3 7 5 12 7 6 2 4 4 7 6 7 3 2
Linux 2 6 6 7 3 4 3 2 4 2 1 3 7 3 2 4 2 3 4 4 8 6 3 5 3 12 7 9 5 4 2 8 5 3 10 5 3 2 9 1 1 5 10 10 3 0

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