FIX: low contrast issues for dark themes in edit history modal

This commit is contained in:
Joe 2018-06-29 14:42:26 +08:00 committed by GitHub
parent f4f95ce956
commit 15bb8954de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,12 +57,13 @@
filter: alpha(opacity=75);
}
.diff-ins {
color: dark-light-choose($primary, $secondary);
color: $primary;
background: $success-low;
}
ins {
color: $success;
color: $primary;
background: $success-low;
text-decoration: none;
}
del,
.diff-del {
@ -88,11 +89,14 @@
filter: alpha(opacity=50);
}
.diff-del {
color: $primary;
background: $danger-low;
text-decoration: none;
}
del {
color: $danger;
color: $primary;
background: $danger-low;
text-decoration: none;
}
span.date {
font-weight: bold;