Skip to content

SCSS in top languages card #1805

Answered by rickstaa
DrBackmischung asked this question in Q&A
Discussion options

You must be logged in to vote

@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 scss byte…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rickstaa
Comment options

Answer selected by DrBackmischung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants