[Solved] Python - different color for docstring?


#1

Anyway to differentiate? The only field I have found in the theme to steer this is

.string {
color: @blue;

I would like the doc strings to be dark gray, so they do not stick out that much!

Any help appreciated!

I saw some dicussions here https://github.com/JuliaLang/atom-language-julia/issues/33 which I could not figure out what to make of :smile:

for example putting

atom-text-editor::shadow {
.string.docstring.julia {
color: #282a2e;
}
}

in my style.less file


#2

Looking at the python syntax, I tried the following in my style.less, but it does not seem to work :frowning:

atom-text-editor::shadow .comment.block.python {
color: #282a2e;
}


#3
atom-text-editor::shadow .string.quoted.double.block.python {
  color: #282a2e;

  // Quotes
  .punctuation.definition {
    // color: #282a2e;
  }
}

#4

wohooo! thank you!