From 08730d2a8534f00a43013c6898d356d241a47cbe Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Mon, 24 Jun 2024 20:38:55 -0400 Subject: [PATCH] CM5 mediawiki.less: Inherit font color from skin This is a short-gap measure to make the 2017 editor + dark theme more readable. Implementing a dark theme for all of the MediaWiki tokens will come in a future patch. Bug: T365311 Change-Id: Ie56b88960eb0d27e9a1f821101dfa14af37c0130 --- resources/mode/mediawiki/mediawiki.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/mode/mediawiki/mediawiki.less b/resources/mode/mediawiki/mediawiki.less index a0c08987..4b0044b3 100644 --- a/resources/mode/mediawiki/mediawiki.less +++ b/resources/mode/mediawiki/mediawiki.less @@ -28,6 +28,9 @@ stylistic/declaration-block-semicolon-newline-after, stylistic/selector-list-comma-newline-after */ +// See T365311 +.CodeMirror { color: inherit; } + .cm-mw-pagename { text-decoration: underline; } // TODO: It appears like this was never used. Remove?