Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorful language breakdown #584

Closed
spenserblack opened this issue Feb 15, 2022 Discussed in #582 · 0 comments
Closed

Colorful language breakdown #584

spenserblack opened this issue Feb 15, 2022 Discussed in #582 · 0 comments
Assignees
Labels

Comments

@spenserblack
Copy link
Collaborator

Discussed in #582

Originally posted by spenserblack February 14, 2022
Just an idea that popped into my head. Making discussion to see if its worth doing.

I'm thinking that, like how GitHub uses linguist to have a colored bar of languages, we could do the same. Each of the languages currently has a "primary" color (the 1st defined color), and we already break down the percentages, so most of the work is already done. Like the current color bar, it would be a series of colored blocks.

For example, if a project is 50% JavaScript, 40% Html, and 10% Sh, then there would be 5 yellow blocks, 4 red blocks, and 1 green block.

The biggest downside that I can think of is that there could be some confusion/clutter with both a language breakdown colored bar and the neofetch-like color bar.

Per the linked discussion, the current idea is that a GitHub-like colored breakdown of the top languages, with a legend mapping the colored blocks to their languages, would be a fun feature to have. See discussion for more details.

@o2sh o2sh self-assigned this Feb 19, 2022
@o2sh o2sh mentioned this issue Feb 19, 2022
@o2sh o2sh closed this as completed Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants