buymeasoda / soda-theme

Dark and light custom UI themes for Sublime Text
https://buymeasoda.github.io/soda-theme/
4.33k stars 517 forks source link

File type icons in sidebar #152

Closed Grawl closed 11 years ago

Grawl commented 11 years ago

I want to add file type icons to sidebar like in Chocolat app. 2013-07-25 3 00 26 I found some code for theme customizing:

    {
        "class": "sidebar_items",
        "content_padding": [0, 0, 0, 20],
        "content_background_width": [16],
        "content_background_height": [16],
        "content_background_image":
            {
                "filetype:css": "Packages/User/icons/icon-css.png",
                "filetype:js": "Packages/User/File Type Icons/javascript.png"
            }
    }

and added it to User/Soda Light 3.sublime-theme with icons folder (file type icons got at namsral/Coder-Icons). But it not works.

buymeasoda commented 11 years ago

I'm not aware of any theme rules that allow icons be set for the files types. My understanding of that example snippet is that it's a concept proposal. I also tried the rules locally and they don't apply.

It'd be a good one to raise with Jon to be added to ST core for themes to utilise. If you come across any working theme rules, we can reopen this ticket.