-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
FR: Getting Svelte independly grouped on GitHub #5310
Comments
Absolutely agree that the group should be Svelte. @vedam any thoughts on colour? |
|
That meta label is a nice shade of purple actually. |
no |
|
I think Here are some others: |
I like the @outloudvi version. |
Seems like there were some changes (they removed the color restrictions) in the linguist repo which made Svelte an independent language and even gave it the |
From https://github.com/sveltejs/community |
(This is meta-problem mainly about the community, and might be better be discussed in a community space like Discord, but I don't have an account there. Also I see stuffs like #2067 so I think it safe to bring it up here.)
Currently Svelte projects are recognized as "HTML" projects (this is outloudvi/starbuttons-next):
This will be confusing for other developers. What's worse, it's bad for searching (since people cannot simply filter Svelte project by language) as well as the development of Svelte community. Therefore, I think it's important to get Svelte independently grouped as a language on GitHub like Vue does.
We see that GitHub can correctly highlight .svelte files (thanks for github-linguist/linguist#4504!), but Svelte has not been independently grouped. The reason seems to be here:
It's grouped in HTML, and as said in
languages.yml
, "Languages in a group are counted in the statistics as the parent language.", it's a part of HTML.How to fix this? The solution is to get it out of the HTML group, and to do so we need to give Svelte a color different from HTML. github-linguist/linguist#4894 was a great try, but GitHub currently disallow too similar colors on their language palette (the color from Svelte logo,
#ff3e00
, is too close to some color on the palette). So, currently I think we can find an alternative color to represent Svelte on GitHub. To help with finding a valid color, here are some useful tools:(I personally think
#ee6600
can be one of the candidates, but there might be better choices!)The text was updated successfully, but these errors were encountered: