diff --git a/theme-github-auto.css b/theme-github-auto.css index 49d12a2..d3006ac 100644 --- a/theme-github-auto.css +++ b/theme-github-auto.css @@ -748,7 +748,7 @@ .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-code-new { - background: #224035; + background: rgba(70,149,74,0.15); } .tag-code, @@ -903,7 +903,7 @@ .code-diff-split .del-code .lines-num-old, .code-diff-split .del-code .lines-type-marker-old, .code-diff-split .del-code .lines-code-old { - background: #7a341e; + background: rgba(229,83,75,0.15); } /* diff color neutral */ @@ -1399,4 +1399,7 @@ .repository.view.issue .comment-list .comment > .content > div:first-child { border-bottom: 1px solid #373e47 !important; } + .tag-code, .tag-code td, .tag-code .blob-excerpt { + background-color: var(--color-body); + } } diff --git a/theme-github-dark.css b/theme-github-dark.css index 2cae860..278c917 100755 --- a/theme-github-dark.css +++ b/theme-github-dark.css @@ -978,3 +978,7 @@ footer { .repository.view.issue .comment-list .comment > .content > div:first-child { border-bottom: 1px solid #373e47 !important; } + +.tag-code, .tag-code td, .tag-code .blob-excerpt { + background-color: var(--color-body); +}