From b3bb486e30b235024f3069b53234a77bad50cb13 Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Thu, 27 Jun 2024 17:02:42 -0700 Subject: [PATCH] Fix color contrast issues in DiscussionToolsDebug in night theme Visual change: tokens are switched out for closest available. Bug: T366524 Change-Id: I185bf496e3b2974ec4cb873719327e6898ca57db --- modules/dt.debug.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/dt.debug.less b/modules/dt.debug.less index fac86d942..ffdb84064 100644 --- a/modules/dt.debug.less +++ b/modules/dt.debug.less @@ -1,3 +1,5 @@ +@import 'mediawiki.skin.variables.less'; + .mw-dt-heading { font-size: 110%; font-weight: bold; @@ -14,7 +16,7 @@ &:focus { outline: 0; - background: #f0f3fc !important; /* stylelint-disable-line declaration-no-important */ + background: @background-color-progressive-subtle !important; /* stylelint-disable-line declaration-no-important */ } } @@ -51,7 +53,7 @@ [ data-level='7' ], [ data-level='9' ], [ data-level='11' ] { - background: #f6f6f6; + background: @background-color-interactive; } [ data-level='0' ], @@ -60,6 +62,6 @@ [ data-level='6' ], [ data-level='8' ], [ data-level='10' ] { - background: #fff; + background: @background-color-base; } }