file-icons / atom

Atom file-specific icons for improved visual grepping.
MIT License
1.32k stars 250 forks source link

Support gulpfile.js icon for folder #464

Closed haan123 closed 7 years ago

haan123 commented 7 years ago

It would be great if you can support /gulpfile.js folder like https://github.com/vigetlabs/gulp-starter has done in their repo.

Alhadis commented 7 years ago

How common is this as a folder name?

haan123 commented 7 years ago

I'm not sure how common it is, but i'm pretty sure there are many project that split up gulp tasks into multiple files, and you can see in https://github.com/vigetlabs/gulp-starter, there are over 4000 stars for it, so i guess this approach is widely used. :))

Alhadis commented 7 years ago

Just add this to your user stylesheet:

@import "packages/file-icons/styles/items";
@{pane-tab-selector}, .icon-file-directory {
    &[data-name="gulpfile.js"]:before {
        .gulp-icon;
        .medium-red;
    }
}

This sounds a little too specific to include in the package's core, sorry.

haan123 commented 7 years ago

i'll do, thanks for your quick support! 👍