SCSS in top languages card #1805
-
Hi! I have some CSS in my repos and it shows up in my top 10 languages card. There is some CSS, but I normally use almost only SCSS/SASS right now - and there is waaay more SCSS then CSS. There is also a repo where scss is the top language - but it is not showing up in my card. Why does it show CSS but not SCSS? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@DrBackmischung Thanks for your answer. I checked your account and it looks like the data we get returned shows less CSS than SCSS. You can try this out by running the following code in the GraphQL explorer: query userInfo($login: String!) {
user(login: $login) {
# fetch only owner repos & not forks
repositories(ownerAffiliations: OWNER, isFork: false, first: 100) {
nodes {
name
languages(first: 10, orderBy: {field: SIZE, direction: DESC}) {
edges {
size
node {
color
name
}
}
}
}
}
}
} With variables: {"login": "DrBackmischung"} It gives me 2120 [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=DrBackmischung&langs_count=10)](https://github.com/anuraghazra/github-readme-stats) That being said, there are multiple reasons for the card not showing as expected:
|
Beta Was this translation helpful? Give feedback.
@DrBackmischung Thanks for your answer. I checked your account and it looks like the data we get returned shows less CSS than SCSS. You can try this out by running the following code in the GraphQL explorer:
With variables:
It gives me 2120
scss
byte…