From c8c9880b196c1c0772d32a662a7211d9e6d12541 Mon Sep 17 00:00:00 2001 From: matr1x-101 Date: Fri, 20 Sep 2024 18:16:35 +0100 Subject: [PATCH] ManualWidget: Added design token for dark mode compatibility A previous comment said design token "background-color-interactive" was unsuitable for the given context, so using "background-color-neutral" design token instead. Change-Id: I614369dcb402fdd7368be5996f3bb9720ad780b5 --- modules/realtimepreview/ManualWidget.less | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/realtimepreview/ManualWidget.less b/modules/realtimepreview/ManualWidget.less index c3dd110b..d359a0d8 100644 --- a/modules/realtimepreview/ManualWidget.less +++ b/modules/realtimepreview/ManualWidget.less @@ -1,9 +1,7 @@ @import 'mediawiki.skin.variables.less'; .ext-WikiEditor-ManualWidget { - // TODO: The only background-color token carrying `#eaecf0` right now is - // `@background-color-interactive`, which shouldn't be used here. - background-color: #eaecf0; + background-color: @background-color-neutral; display: flex; align-items: center; justify-content: space-between;