git-plus
git-plus copied to clipboard
Disabled underline in diffs
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!
See also, #526
You can edit your personal stylesheet to change it. The CSS classes are .markup.added.diff and .markup.removed.diff.
- Open your settings, and go to the Themes tab.
- Click the link at the top to "your stylesheet."
- 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.