Apply color inversion until dark syntax styles are chosen

Bug: T365311
Change-Id: I72cf4e5ca776e7fda11b07174493696bfde7fde0
This commit is contained in:
Sjoerd de Bruin 2024-07-27 23:21:44 +02:00 committed by Sjoerddebruin
parent 0e0e4927ab
commit c25da847c2

View file

@ -237,6 +237,9 @@ function init() {
$codeMirror.addClass( 'cm-mw-colorblind-colors' );
}
// T365311: Apply color inversion until dark syntax styles are chosen
$codeMirror.addClass( 'notheme skin-invert' );
// T305333: Reload CodeMirror to fix a cursor caret issue.
codeMirror.refresh();