Stylesheet and shadow DOM


I don’t like themes with italicized comments, so I added this long ago to my stylesheet:

.comment { font-style: normal; }

This appears to no longer work – I assume it’s Shadow DOM related? How can I fix this line of CSS, and is there a tutorial about the recent changes?


How to set font weight to bold?

There was a discussion recently about shadow DOM and styles, you can find a bit of explanation in my post here:

As for your specific problem, simply rewrite your rule like this:

atom-text-editor::shadow .comment { 
  font-style: normal; 


Easy as pie. Thanks.