primer / github-syntax-theme-generator

Uses a prettylights theme object to generate syntax themes for multiple platforms
MIT License
157 stars 33 forks source link

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

Open The-Lum opened 3 years ago

The-Lum commented 3 years ago

Hello GitHub [light|dark] syntax theme generator,

From:

We have a question:

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.

Alhadis commented 2 years ago

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.