Last active
February 26, 2022 20:14
-
-
Save claytonrcarter/0b971c0463a548896da43d424188cb6e to your computer and use it in GitHub Desktop.
Atom: highlight git changed/modified lines in the gutter background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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