Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different colors per language #12

Open
simurai opened this issue Jan 17, 2016 · 2 comments
Open

Different colors per language #12

simurai opened this issue Jan 17, 2016 · 2 comments
Labels

Comments

@simurai
Copy link
Owner

simurai commented Jan 17, 2016

Carried over from simurai/duotone-dark-sea-syntax#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.

@simurai
Copy link
Owner Author

simurai commented Jan 31, 2016

Something like this:

screen shot 2016-01-31 at 6 43 26 pm

Also neat if languages get mixed in the same file:

screen shot 2016-01-31 at 6 40 44 pm

@BadBastion
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants