gitly icon indicating copy to clipboard operation
gitly copied to clipboard

Feature request for supporting per-language icons

Open aminnairi opened this issue 3 years ago • 9 comments

Something a la GitLab that could be cool to have a quick grasp at the file types in a repository folder.

aminnairi avatar May 19 '21 08:05 aminnairi

Hi aminnairi.

I don't know if it's a good idea, I was thinking about using shields to demonstrate icons on gitly

ghost avatar Dec 14 '22 07:12 ghost

If you can provide a visual example I think it would help getting the idea behind using shields for people that don't know what it is or what it looks like if this sounds good to you.

aminnairi avatar Dec 14 '22 09:12 aminnairi

Hi aminnairi, thank you for feedback.

what this shields?

Concise, consistent, and legible badges in SVG and raster format

but... what this Shields.io?

Quality metadata badges for open source projects

ghost avatar Dec 14 '22 16:12 ghost

Those are badges, not icons for individual files.

JalonSolov avatar Dec 14 '22 16:12 JalonSolov

Unfortunately, these badges are more suited for open-source projects that wants to show something important like a package that has 0 vulnerabilities, or the link for an NPM package etc...

I was thinking something even simpler like SVG versions of the most popular file extensions so that it remains easy to customize in color, size, etc...

aminnairi avatar Dec 14 '22 16:12 aminnairi

Hi JalonSolov.

Those are badges, not icons for individual files.

shields is a good project, and can be used in the frontend interface for icons you request.

ghost avatar Dec 14 '22 16:12 ghost

The page literally says "This is home to Shields.io, a service for concise, consistent, and legible badges in SVG and raster format". A badge is not a file icon.

Badges are meant for things like showing what percentage of a project is V vs C vs ..., or for showing that the project meets some criteria.

They are not meant for showing a V icon on a .v file.

JalonSolov avatar Dec 14 '22 16:12 JalonSolov

Hi JalonSolov.

The page literally says "This is home to Shields.io, a service for concise, consistent, and legible badges in SVG and raster format". A badge is not a file icon. Badges are meant for things like showing what percentage of a project is V vs C vs ..., or for showing that the project meets some criteria. They are not meant for showing a V icon on a .v file.

This is usually done in the frontend interface, a good example of this is GitHub. Or... a complementary idea would be to have a css icon library or use unicode - these are complementary ideas to create file icons.

1. concept

image

image-description: As we can see in the image, we have a list of icons that appear. Note: This image is illustrative and I took it from github/khang-nd/spc

2. question/feedback

What do you think of this idea?

ghost avatar Dec 14 '22 16:12 ghost

Unicode doesn't have the V icon, markdown icon, etc. gitly just needs small icon files in whatever format makes the most sense.

JalonSolov avatar Dec 14 '22 17:12 JalonSolov