mirror of
https://github.com/vector-im/element-web.git
synced 2026-02-26 18:12:02 +01:00
Merge pull request #3790 from justin-sleep/fix-dark-diff-highlighting
Fix inverted diff line highlighting in dark theme
This commit is contained in:
commit
92fb6fcdc2
@ -246,3 +246,13 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// diff highlight colors
|
||||
// intentionally swapped to avoid inversion
|
||||
.hljs-addition {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
@ -341,3 +341,12 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
||||
color: $accent-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// diff highlight colors
|
||||
.hljs-addition {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user