summaryrefslogtreecommitdiff
path: root/source/features/highlight-deleted-and-added-files-in-diffs.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/highlight-deleted-and-added-files-in-diffs.tsx')
-rw-r--r--source/features/highlight-deleted-and-added-files-in-diffs.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/highlight-deleted-and-added-files-in-diffs.tsx b/source/features/highlight-deleted-and-added-files-in-diffs.tsx
index 351bd110..8e18e501 100644
--- a/source/features/highlight-deleted-and-added-files-in-diffs.tsx
+++ b/source/features/highlight-deleted-and-added-files-in-diffs.tsx
@@ -21,9 +21,9 @@ function highlightFilename(filename: HTMLAnchorElement, sourceIcon: SVGSVGElemen
const icon = sourceIcon.cloneNode(true);
const action = icon.getAttribute('title')!;
if (action === 'added') {
- icon.classList.add('color-text-success', 'color-fg-success');
+ icon.classList.add('color-fg-success');
} else if (action === 'removed') {
- icon.classList.add('color-text-danger', 'color-fg-danger');
+ icon.classList.add('color-fg-danger');
} else {
return;
}