git-plus icon indicating copy to clipboard operation
git-plus copied to clipboard

Disabled underline in diffs

Open doomstrike opened this issue 9 years ago • 2 comments

Is there a way to disable the underline in the diffs? For newly added lines it underlines the whole line with a green line. I find this too distracting and can't read diffs properly because of it.

Sidenote, am loving the syntax highlighting in diff!

doomstrike avatar Oct 12 '16 18:10 doomstrike

See also, #526

rumpelsepp avatar Oct 24 '16 14:10 rumpelsepp

You can edit your personal stylesheet to change it. The CSS classes are .markup.added.diff and .markup.removed.diff.

  1. Open your settings, and go to the Themes tab.
  2. Click the link at the top to "your stylesheet."
  3. Put in your own styles.

Example:

atom-text-editor::shadow {
  .markup.removed.diff {
    border-bottom: none!important;
    background-color: @syntax-color-removed;
  }
  .markup.added.diff {
    border-bottom: none!important;
    background-color: @syntax-color-added;
  }
}

Or if you prefer, you could just change the @syntax-color-removed and @syntax-color-added variables.

sharedprophet avatar Nov 08 '16 21:11 sharedprophet