Skip to content

Different colors per language #12

Open

Description

@simurai

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.

Activity

  1. simurai commented on Jan 31, 2016

    @simurai
    OwnerAuthor

    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

  2. BadBastion commented on May 13, 2017

    @BadBastion

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions