Atom の LaTeX で、テキストと数式で文字色を変える

「File」→「Stylesheet...」の順にクリックして、ファイル「style.less」を開く。
そこに以下を入力。

atom-text-editor {
  .syntax--math {
    color: hsl(128, 80%, 40%);
  }
}

背景も色付けしたい場合は、代わりに以下を入力。

@background-color: rgb(40, 44, 52);

atom-text-editor {
  color: grey;
  background-color: @background-color;
  .syntax--math {
    color: hsl(128, 80%, 40%);
    background-color: hsl(125, 100%, 10%);
    .indent-guide.leading-whitespace {
      background-color: @background-color;
      &.hard-tab {
        background-color: @background-color;
      }
    }
  }
}