I’m trying to customize my styles.less file for syntax highlighting tuned to my preferences per language. For example: a cs variable might be a different color than a java variable.
I’m trying to figure out the API that lets me manipulate the syntax colors, but when I inspect a certain element and get the CSS selectors, it doesn’t work.
For example: In a cs file I want to change the color for all cs only variables. In the inspector, a variable’s CSS class is
syntax--variable syntax--other syntax--cs. However that doesn’t register in the styles.less file.
.syntax--variabledoes register, but I don’t want to change it for all the languages.
How do I get the correct language type selector in the CSS?