Vscode-icons: Custom Icons for Angular 2 files

Created on 9 Nov 2016  Β·  34Comments  Β·  Source: vscode-icons/vscode-icons

Hi there,
this is a great plugin, thanks for it.

I just thought that it would be nice to have angular icons for angular convention names for certain files. Take a look to this plugin:
https://marketplace.visualstudio.com/items?itemName=davidbabel.vscode-simpler-icons

Just for the angular conventions as I said, let's say component.ts, directive.ts, pipe.ts, service.ts and so on.

What do you think?

file icons

All 34 comments

Hi @ialex90,

thanks for posting this suggestion here. I think it's a great idea. Maybe we could provide not only the Angular icon but the Angular Icon with the TS icon, too. As we do with specs.ts and so on. I'll show you once I have the icons and l'll be glad to hear your thougths about it. πŸ˜‰

I have added this in my TODO list.

Reopening as I'm going to suggest a different set of icons that will be language agnostic.

Why language agnostics? I want to see a difference between different language implementations. Let's see I'm using typescript and I've got my compilled js files not hidden how I would be able to distinguish them if they happen to be in the same folder?

In this case you wouldn't. I see your point. Still I would like each extension to have a diff color than the original.

Do you mean that you don't like the component.(ts|js) icon?

OOOhhhh. They do have diff colors. Damn. Have to remind myself to be more thorough.
Still there is something about the yellow and blue versions. Having JS and TS with the same colors, doesn't fit well.

I also use the extension .model.ts in my projects. Do you mind if we add a colored version for that too?

I personally think that they should not add model.ts as this is a personal pattern instead of generic pattern and it could be used on others frameworks/projects or personal patterns.

I think it could be good to add routing.ts and *-routing.module.ts as they do appear as a pattern to follow on the angular doc. (Maybe routing.ts is used in other frameworks so not sure if it's a good idea)

I agree with -routing.module.ts / -routing.module.js. Will ditch .model.ts.

I will make another release with this included and the fonts rasterized tomorrow.

Hey guys, just a problem here that I missed before. VSCode icon api doesn't support globs so -routing.module.ts is not possible to create. 😞 We could make it for `app-routing.module.(ts|js) as a filename. What do you think?

Can't the - in -routing.module.ts qualify as an extension? Only dot does?

While we are at it what about icons for the Dart version?

What's the different between the official and the icon we use(except ours is in png)?

@JimiC, unfortunately, only dots... I don't think they will provide globs in a near future, that would require to change their implementation in a drastical way.

Guys, what about those icons?

Component

Icons Removed

Directive

Icons Removed

Module

Icons Removed

Pipe

Icons Removed

Service

Icons Removed

@robertohuertasm See I kept your original palette of colors expect the blue-ish.

image

Can you provide a screenshoot? Just to see how they look with the size and background πŸ˜„

I'm afraid that with the border the letters will be even more unreadable.

Unfortunately I headed to bed. Will do so tomorrow. I also have an icon for routing but didn't link it. It's in the Samples folder at my fork.

No problem. I will try to make it now. Just one thing I've noticed is that I can't see any thumbnail of the icons you provide (see the attachment). What tool are you using? In case it's 'Illustrator' which version? Do you use the export method or the save as...?
image

The screenshoot with your icons:
image

Side by side:
proposals

Sure I'm biased πŸ˜‰ but I prefer the yellow color for the js letters. Even in the yellow (for js) and blue (for ts) it's not important that we see the letters. Just the stain of color is enough to wire our brain into the type. Another thing I would say is that the TS letters in @JimiC 's proposal are above the A core line hiding it. But that's my opinion and I'm trying to defend my choice here 😁

For the moment, I will publish them as they are just to solve the issue with the rasterized font. Then will discuss it further if you feel like it.

That does not look better unfortunately :) I think for me it's better without the borders.

The left column for me it's better also in terms of colors and shadows and TS|JS sizes. The only thing I would change is, the color of app-routing.module, cause is nicer than the module.ts (purple than yellow) So I would switch them as module file is much more used file than the only one instance of app-routing.module, but just an opinion.

Did you include routing.ts as well? We have those files on angular projects too, so if it is possible would be cool.

btw, thanks both @robertohuertasm and @JimiC ;)

@ialex90 your proposal seems reasonable. I'll buy it. 😝

Hahaha perfect ;)

El 11 dic. 2016 10:28 p. m., "Roberto Huertas" notifications@github.com
escribiΓ³:

@ialex90 https://github.com/ialex90 your proposal seems reasonable.
I'll buy it. 😝

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robertohuertasm/vscode-icons/issues/437#issuecomment-266313145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfSmTazKIaUvdn1NHaNGScf6uLj-RMpks5rHHkIgaJpZM4KtrBR
.

Morning, guys. Sure the black JS doesn't do justice and the JS|TS indeed need to be a little lower.

I may have lost the battle but not the war. Yarrrrr (Just kidding).

@robertohuertasm To answer your question. I use Illustrator CC 2015 with Export for Screens.

@robertohuertasm Originally I couldn't see any thumbnails of the SVG icons, but I installed SVG Explorer Extension and now they are there.

I figured out why they don't show up correctly. They require the styling to be inline. I'll try to produce the SVG again to compensate the issue.

Hey guys. I'm back with a new batch. How about those:

screenshot - 14_12_2016 22_12_03

screenshot - 14_12_2016 22_17_28

@robertohuertasm Don't get me wrong. I'm not trying to push __my__ version. Just trying to perfect the outcome.

P.S. I tried to keep the tone difference between the left and right side of the original Angular icon in the altered colored ones.

Hi! I'm not sure of liking the idea of adding the angular icon for html and css files. We may then also create another one for sass and less...

Besides that, I still like more my colors and the size of the subicon (I put the right side of the icon a little bit darker to make the subicons more visible).

What do the rest of you think about it?

Hi there,

I like the original one more, with the half icon shadow looks better I think. I actually thought to ask for the angular icons for html and scss, but now, I just realized that it's confuse cause the advantage of this plugin is even not looking or paying too much attention to the files, the icon indicates you which kind of file it is, and adding those for angular you'll probably have to pay more attention to see properly the correct file. I don't think is better than the normal html5/scss/css icon file.

Anyway, just my opinion, thanks @JimiC for the effort, is great.

Fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

filleduchaos picture filleduchaos  Β·  3Comments

iRoachie picture iRoachie  Β·  3Comments

mmisztal1980 picture mmisztal1980  Β·  4Comments

yageek picture yageek  Β·  3Comments

ventayol picture ventayol  Β·  3Comments