Created
December 19, 2022 20:51
-
-
Save rcassani/006d42a6ba70f83dd5f7d67c811bd502 to your computer and use it in GitHub Desktop.
`diff.less` file for language-diff Atom package. Place it at `~.atom/packages/language-diff/styles`
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
@import "syntax-variables"; | |
atom-text-editor { | |
.syntax--diff { | |
&.syntax--inserted &.syntax--inserted.syntax--punctuation { | |
color: @syntax-color-added; | |
} | |
&.syntax--changed { | |
color: @syntax-color-modified; | |
} | |
&.syntax--deleted &.syntax--deleted.syntax--punctuation { | |
color: @syntax-color-removed; | |
} | |
&.syntax--only-in { | |
// we don't have any methods in diff, so we can safely use this color | |
color: @syntax-color-method; | |
font-weight: bold; | |
} | |
&.syntax--header.syntax--git { | |
font-weight: bolder; | |
background-color: blueviolet; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment