As far as I can tell the library uses <del> and <ins> elements, which are styled as red and green.
However there's also a style for del + ins which sets the text to orange:
|
del + ins { |
|
color: #e36209; |
|
background-color: #ffebda; |
|
} |
This applies only to insertions that follow deletions, but I don't see why that should get a different colour. It's still an insertion right? Is there some nuance in the library that makes this distinct from a regular insertion, to explain its unique colour?
As far as I can tell the library uses
<del>and<ins>elements, which are styled as red and green.However there's also a style for
del + inswhich sets the text to orange:pandiff/assets/pandiff.css
Lines 25 to 28 in 2631bb9
This applies only to insertions that follow deletions, but I don't see why that should get a different colour. It's still an insertion right? Is there some nuance in the library that makes this distinct from a regular insertion, to explain its unique colour?