duotone-syntax
duotone-syntax copied to clipboard
Different colors per language
Carried over from https://github.com/simurai/duotone-dark-sea-syntax/issues/1
I had an idea: these themes are beautiful, and it would be great to be able to set a theme per language (customisable). Do you see this as something on your roadmap?
Could be neat. A problem is that the background color has to be the same so that it matches the tabs (in certain UI themes), but the syntax highlighting could be different for each language.
Maybe something like blue-ish background and then html = red
, css = blue
, js = yellow
.
Something like this:
Also neat if languages get mixed in the same file:
This could be achieved with LESS default variables and variable interpolation. The downside is each language style would need to import the whole syntax-variables.less, making the resulting style sheet much larger. (and likely slower)