LoginSignup
3
3

More than 5 years have passed since last update.

space, tabの色を変更する

Posted at

あまり情報がなかったのでメモ。

実行環境
ATOM: Version1.19.0

メニューバーの「ATOM」-> 「Stylesheet…」でstyles.lessを開く

styles.less
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
  // color: white;
  // background-color: hsl(180, 24%, 12%);
}

に下記のように追記する。

styles.less
atom-text-editor {
  // color: white;
  // background-color: hsl(180, 24%, 12%);
  .indent-guide.leading-whitespace {
    color: yellow; // spaceの色
    &.hard-tab {
      color: red; // tabの色
    }
  }
}

こんな感じになる。

atom white-space highlight.png

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3