Skip to content

Instantly share code, notes, and snippets.

@claytonrcarter
Last active February 26, 2022 20:14
Show Gist options
  • Save claytonrcarter/0b971c0463a548896da43d424188cb6e to your computer and use it in GitHub Desktop.
Save claytonrcarter/0b971c0463a548896da43d424188cb6e to your computer and use it in GitHub Desktop.
Atom: highlight git changed/modified lines in the gutter background
// show highlights for changed/modified diff lines in the gutter
@import "syntax-variables";
atom-text-editor,
atom-text-editor::shadow {
.gutter .line-number {
&.git-line-modified {
background-color: fade( @syntax-color-modified, 20% );
}
&.git-line-added {
background-color: fade( @syntax-color-added, 20% );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment