summaryrefslogtreecommitdiff
path: root/source/features/highlight-deleted-and-added-files-in-diffs.tsx
diff options
context:
space:
mode:
authorGravatar Flo Edelmann <florian-edelmann@online.de> 2022-09-12 07:26:23 +0200
committerGravatar GitHub <noreply@github.com> 2022-09-12 12:26:23 +0700
commit1fc597d73bc75b3658ac593ad09d6cf515e475ef (patch)
treedbb65525bd4759c4076bfdff8d2c6d7a08362da7 /source/features/highlight-deleted-and-added-files-in-diffs.tsx
parentef7885e5c01997bbe4626e119e5ae78efae619f4 (diff)
downloadrefined-github-1fc597d73bc75b3658ac593ad09d6cf515e475ef.tar.gz
refined-github-1fc597d73bc75b3658ac593ad09d6cf515e475ef.tar.zst
refined-github-1fc597d73bc75b3658ac593ad09d6cf515e475ef.zip
Meta: Drop deprecated color classes (#5965)
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;
}