github-syntax-theme-generator icon indicating copy to clipboard operation
github-syntax-theme-generator copied to clipboard

Question about `support` scope (vs `constant` scope): Is it plan to explicit make a differentiation between the both?

Open The-Lum opened this issue 4 years ago • 1 comments

Hello GitHub [light|dark] syntax theme generator,

From:

  • qjebbs/vscode-plantuml#428
  • github/linguist#5530

We have a question:

  • Is it plan to explicit differentiate support scope colour from constant scope colour?
TextMate scope(s) CSS class github-light colour github-dark colour
constant .pl.c1 #005cc5 #c8e1ff
support.class or support .pl-c1 #005cc5 #c8e1ff

Regards.

The-Lum avatar Aug 27 '21 17:08 The-Lum

I wouldn't count on it. GitHub's syntax highlighting uses an extremely rudimentary colour palette compared to the richness of TextMate themes. This appears to be a design decision more than a technical limitation.

Moreover, the exact scope-colours are subject to change depending on the whims of GitHub's design team. FYI, you can see a full list of scopes with their current colours here.

Alhadis avatar Jan 23 '22 11:01 Alhadis