hmatsuda / ruby-block

highlight matching ruby block on Atom editor
https://atom.io/packages/ruby-block
GNU General Public License v2.0
16 stars 11 forks source link

Support overwriting default highlighting color #3

Closed hmatsuda closed 9 years ago

hmatsuda commented 9 years ago

Update styles.less so that user can overwrite default color.

If you want to highlight color as red, just add following styles into styles.less.

.editor, :host, atom-text-editor, atom-text-editor::shadow {
  .line-number.ruby-block-highlight {
    background-color: red;
  }

  .highlights {
    .ruby-block-highlight .region {
      background-color: red;
    }
  }
}

This PR closes #2.