dark: optimize deletion and addition colors in diff view

This commit is contained in:
pat-s 2023-03-28 22:44:24 +02:00
parent cef2597556
commit 4b59a3bddb
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
2 changed files with 9 additions and 2 deletions

View File

@ -748,7 +748,7 @@
.code-diff-split .del-code .add-code.lines-num-new, .code-diff-split .del-code .add-code.lines-num-new,
.code-diff-split .del-code .add-code.lines-type-marker-new, .code-diff-split .del-code .add-code.lines-type-marker-new,
.code-diff-split .del-code .add-code.lines-code-new { .code-diff-split .del-code .add-code.lines-code-new {
background: #224035; background: rgba(70,149,74,0.15);
} }
.tag-code, .tag-code,
@ -903,7 +903,7 @@
.code-diff-split .del-code .lines-num-old, .code-diff-split .del-code .lines-num-old,
.code-diff-split .del-code .lines-type-marker-old, .code-diff-split .del-code .lines-type-marker-old,
.code-diff-split .del-code .lines-code-old { .code-diff-split .del-code .lines-code-old {
background: #7a341e; background: rgba(229,83,75,0.15);
} }
/* diff color neutral */ /* diff color neutral */
@ -1399,4 +1399,7 @@
.repository.view.issue .comment-list .comment > .content > div:first-child { .repository.view.issue .comment-list .comment > .content > div:first-child {
border-bottom: 1px solid #373e47 !important; border-bottom: 1px solid #373e47 !important;
} }
.tag-code, .tag-code td, .tag-code .blob-excerpt {
background-color: var(--color-body);
}
} }

View File

@ -978,3 +978,7 @@ footer {
.repository.view.issue .comment-list .comment > .content > div:first-child { .repository.view.issue .comment-list .comment > .content > div:first-child {
border-bottom: 1px solid #373e47 !important; border-bottom: 1px solid #373e47 !important;
} }
.tag-code, .tag-code td, .tag-code .blob-excerpt {
background-color: var(--color-body);
}