fix: Improved styles for diffs, closes #4430

This commit is contained in:
Tom Moor
2022-11-20 14:09:11 -05:00
parent 6e36ffb706
commit 088ef81133
3 changed files with 22 additions and 14 deletions

View File

@@ -1291,20 +1291,22 @@ table {
display: block;
}
ins {
background-color: #128a2929;
text-decoration: none;
}
del {
color: ${props.theme.slate};
text-decoration: strikethrough;
}
ins[data-operation-index] {
color: ${props.theme.textDiffInserted};
background-color: ${props.theme.textDiffInsertedBackground};
text-decoration: none;
}
del[data-operation-index] {
color: ${props.theme.textDeleted};
background-color: ${props.theme.textDeletedBackground};
color: ${props.theme.textDiffDeleted};
background-color: ${props.theme.textDiffDeletedBackground};
text-decoration: none;
img {
opacity: .5;
}