primer / github-syntax-theme-generator

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

Writing the language css to the root atom text editor #50

Closed jonrohan closed 7 years ago

jonrohan commented 7 years ago

This writes all the languages.less selectors into the root atom-text-editor which will help with specificity.

The result Less looks like this.

atom-text-editor {
    .syntax--comment,
    .syntax--punctuation.syntax--definition.syntax--comment,
    .syntax--string.syntax--comment {
      color: #959da5;
    }
}

fixes https://github.com/primer/github-syntax-theme-generator/issues/30