From 0131b2be88ad23e4d15223bfaa431673be9b6baf Mon Sep 17 00:00:00 2001 From: mbergen Date: Thu, 14 Mar 2024 11:31:05 +0100 Subject: [PATCH] fix(matchlist): publishertier darkmode compatibility (#4086) --- stylesheets/commons/Miscellaneous.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stylesheets/commons/Miscellaneous.less b/stylesheets/commons/Miscellaneous.less index 5e2ae528b27..c9caa88a372 100644 --- a/stylesheets/commons/Miscellaneous.less +++ b/stylesheets/commons/Miscellaneous.less @@ -4442,15 +4442,15 @@ Author(s): hjpalpha } .recent-matches-left-publishertier { - background-image: linear-gradient( to left, #fbdfdf 25%, #ffffcc 45%, #ffffff 55%, #ddf4dd 75% ) !important; + background-image: linear-gradient( to left, var( --clr-cinnabar-background-color, #fbdfdf ) 25%, var( --publisher-premier-highlight-background-color, #ffffcc ) 45%, var( --publisher-premier-highlight-background-color, #ffffcc ) 55%, var( --clr-forestgreen-background-color, #ddf4dd ) 75% ) !important; } .recent-matches-right-publishertier { - background-image: linear-gradient( to right, #fbdfdf 25%, #ffffcc 45%, #ffffff 55%, #ddf4dd 75% ) !important; + background-image: linear-gradient( to right, var( --clr-cinnabar-background-color, #fbdfdf ) 25%, var( --publisher-premier-highlight-background-color, #ffffcc ) 45%, var( --publisher-premier-highlight-background-color, #ffffcc ) 55%, var( --clr-forestgreen-background-color, #ddf4dd ) 75% ) !important; } .recent-matches-draw-publishertier { - background-image: linear-gradient( to left, #f9f9c7 25%, #ffffcc 45%, #ffffff 55%, #f9f9c7 75% ) !important; + background-image: linear-gradient( to left, var( --clr-pear-background-color, #f9f9c7 ) 25%, var( --publisher-premier-highlight-background-color, #ffffcc ) 45%, var( --publisher-premier-highlight-background-color, #ffffcc ) 55%, var( --clr-pear-background-color, #f9f9c7 ) 75% ) !important; } /*******************************************************************************