Quantcast
Channel: How to change color of comment marker for Atom editor? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by mwb9aa for How to change color of comment marker for Atom editor?

$
0
0

Using ATOM version 1.58.0 on Windows 10, I get a depreciation warning. The short version is:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--.

I had to use:

// Change the color of the commentsatom-text-editor .syntax--comment{ color:#9DA5B3; }atom-text-editor .syntax--punctuation.syntax--definition.syntax--comment{ color:#9DA5B3; }

Viewing all articles
Browse latest Browse all 3

Trending Articles