Atom: Can't change whitespace characters color!

Created on 12 Jan 2016  路  3Comments  路  Source: atom/atom

Hi there,
I want to change the color of whitespace characters. I wrote below style in Atom stylesheet file:

atom-text-editor .invisible-character,
atom-text-editor .leading-whitespace,
:host .invisible-character {
  color: #f55!important;
}

But the color stays same as default. Did I wrote wrong selector?

question

Most helpful comment

This should work:

atom-text-editor::shadow {
  .leading-whitespace, .invisible-character {
    color: #f55;
  }
}

All 3 comments

This should work:

atom-text-editor::shadow {
  .leading-whitespace, .invisible-character {
    color: #f55;
  }
}

Thanks @MaximSokolov :grinning:

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

Was this page helpful?
0 / 5 - 0 ratings