dark: adaptions to PR diff view coloring

This commit is contained in:
pat-s 2021-10-12 23:05:16 +02:00
parent c3e99fc8e3
commit 19c6092361
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -279,7 +279,7 @@ textarea,
background-color: #22272e; background-color: #22272e;
} }
.code-diff-unified .add-code, .code-diff-unified .add-code td, .code-diff-split .add-code .lines-num-new, .code-diff-split .add-code .lines-type-marker-new, .code-diff-split .add-code .lines-code-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-code-new { .code-diff-unified .add-code, .code-diff-unified .add-code td, .code-diff-split .add-code .lines-num-new, .code-diff-split .add-code .lines-type-marker-new, .code-diff-split .add-code .lines-code-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-code-new {
background: var(--color-navbar); background: #224035;
} }
.tag-code, .tag-code td { .tag-code, .tag-code td {
background-color: var(--color-body); background-color: var(--color-body);
@ -361,3 +361,25 @@ textarea,
.ui.positive.message { .ui.positive.message {
color: #bbc0ca; color: #bbc0ca;
} }
/* diff color deletion */
.code-diff-unified .del-code, .code-diff-unified .del-code td, .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;
}
/* diff color neutral */
.lines-num, .lines-code {
background-color: var(--color-navbar);
}
.lines-type-marker {
background-color: var(--color-navbar);
}
a.blob-excerpt {
background: var(--color-body);
}
/* PR open label */
.ui.green.labels .label, .ui.ui.ui.green.label {
background-color: #347d39;
}