Vscode-material-icon-theme: [Icon Request] Support for .huskyrc

Created on 10 Dec 2018  ·  9Comments  ·  Source: PKief/vscode-material-icon-theme

Type: filename
Icon Name: husky config
Sample original Icon: this github 🐶 icon is what husky uses
Filenames: .huskyrc, husky.config.js, .huskyrc.json, or .huskyrc.y[a]ml

repo: https://github.com/typicode/husky
PR regarding the new file config: typicode/husky#209

Most helpful comment

@Alhadis Thank you, that's a great idea, but I was wondering how I can customize this icon to have a nice contrast on a darker background.

On a bright background it looks very good:

husky bright background

But on a dark background it's not nice:

husky dark background

So I tried to add a bright background behind:

husky dark background adjusted

What do you think about that? Do you've any further suggestions?

All 9 comments

The github icon does not fit into the Material Icon Theme at all, so I created another icon.

What do you think about this icon:

husky icon

It also has a great contrast on a white background:

husky icon on a white background

You could try the one I drew for Atom's file-icons package:

Figure 1: Husky

Which portrays an actual husky, instead of a terrier. 😉

@Alhadis Thank you, that's a great idea, but I was wondering how I can customize this icon to have a nice contrast on a darker background.

On a bright background it looks very good:

husky bright background

But on a dark background it's not nice:

husky dark background

So I tried to add a bright background behind:

husky dark background adjusted

What do you think about that? Do you've any further suggestions?

Hey @PKief,

I don't use VSCode, so I don't know if it's possible to support motif-sensitive icon colours (the bright foreground works well, but on a dark background at least). The icon I posted was actually in an "uncoloured" form because each of the icons uses a configurable colour scheme.

So feel free to use any colour you want. 👍

Any update on this?

Finally, I decided to add a husky icon that looks like this:

husky icon

husky icon on light background

Finally, I decided to add a husky icon that looks like this:

husky icon

husky icon on light background

It seems that only .huskyrc and .huskyrc.json files are supported, other extensions are not.

@vvni The following file names are supported right now:

  • .huskyrc
  • husky.config.js
  • .huskyrc.json
  • .huskyrc.yaml
  • .huskyrc.yml

And there's an open pull request for .huskyrc.js.

Which extensions or file names are missing for you?

@vvni The following file names are supported right now:

  • .huskyrc
  • husky.config.js
  • .huskyrc.json
  • .huskyrc.yaml
  • .huskyrc.yml

And there's an open pull request for .huskyrc.js.

Which extensions or file names are missing for you?

Ok i have no problem thank you for your answer。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vvni picture vvni  ·  4Comments

simlej picture simlej  ·  3Comments

thomas-tewolde picture thomas-tewolde  ·  4Comments

GeraldNDA picture GeraldNDA  ·  5Comments

alchermd picture alchermd  ·  5Comments