Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Commit 180c605

Browse files
committed
✨ Highlight "Only in" lines
When viewing a recursive directory diff, highlight lines showing that a file is contained in only one of of the sides. Closes #5 Signed-off-by: Mike Fiedler <[email protected]>
1 parent fb685b9 commit 180c605

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

styles/diff.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,11 @@ atom-text-editor::shadow {
1212
&.deleted {
1313
color: @syntax-color-removed;
1414
}
15+
16+
&.only-in {
17+
// we don't have any methods in diff, so we can safely use this color
18+
color: @syntax-color-method;
19+
font-weight: bold;
20+
}
1521
}
1622
}

0 commit comments

Comments
 (0)