From 72bcebeba859abe19d431988bce08049ea11cdcb Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Tue, 11 Jun 2024 18:19:50 -0700 Subject: [PATCH] Use upstream codex variables for diffs and red links Bug: T361717 Bug: T363743 Change-Id: I4e49a07f9f092ab00e2b2d12fcb146c91a21d8d8 --- .../CSSCustomProperties.less | 14 -------------- skinStyles/mediawiki.special.changeslist.less | 6 +++--- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/resources/skins.minerva.base.styles/CSSCustomProperties.less b/resources/skins.minerva.base.styles/CSSCustomProperties.less index d18e5e032..75699c3ce 100644 --- a/resources/skins.minerva.base.styles/CSSCustomProperties.less +++ b/resources/skins.minerva.base.styles/CSSCustomProperties.less @@ -23,10 +23,6 @@ */ .mixin-night-mode-palette() { .cdx-mode-dark(); - // FIXME: These can be removed when T361717 is resolved. - --minerva-diff-deletedline: #886525; - --minerva-diff-addedline: #36c; - // } /** @@ -53,10 +49,6 @@ .skin-invert, .notheme { .cdx-mode-reset(); - // FIXME: These can be removed when T361717 is resolved. - --minerva-diff-addedline: @color-success; - --minerva-diff-deletedline: @color-destructive; - // } .skin-invert, @@ -73,9 +65,6 @@ html.skin-theme-clientpref-night { color-scheme: dark; .mixin-night-mode-palette(); - // T363911 Temporarily override Codex variable for Vector night mode release - // Remove after task has been resolved and new color is available in Codex. - --color-link-red: #b97876; .skin-invert, .skin-invert-image img, @@ -104,9 +93,6 @@ html.skin-theme-clientpref-night { html.skin-theme-clientpref-os { color-scheme: light dark; .mixin-night-mode-palette(); - // T363911 Temporarily override Codex variable for Vector night mode release - // Remove after task has been resolved and new color is available in Codex. - --color-link-red: #b97876; .skin-invert, .skin-invert-image img, diff --git a/skinStyles/mediawiki.special.changeslist.less b/skinStyles/mediawiki.special.changeslist.less index 8eb792922..03908c05a 100644 --- a/skinStyles/mediawiki.special.changeslist.less +++ b/skinStyles/mediawiki.special.changeslist.less @@ -85,15 +85,15 @@ ul.mw-contributions-list li > * { * Colored watchlist and recent changes numbers. */ .mw-plusminus-pos { - color: var( --minerva-diff-addedline ); + color: @color-content-added; } .mw-plusminus-neg { - color: var( --minerva-diff-deletedline ); + color: @color-content-removed; } .mw-plusminus-null { - color: @color-subtle; + color: @color-disabled; } /*