diff --git a/resources/mediawiki.less.legacy/mediawiki.skin.variables.less b/resources/mediawiki.less.legacy/mediawiki.skin.variables.less index 30b50aab8..715f95778 100644 --- a/resources/mediawiki.less.legacy/mediawiki.skin.variables.less +++ b/resources/mediawiki.less.legacy/mediawiki.skin.variables.less @@ -9,3 +9,5 @@ // Set pre July 2022 colors for links (T213778). @color-link: #0645ad; @color-link--visited: #0b0080; +@color-link-new: #ba0000; +@color-link-new--visited: #a55858; diff --git a/resources/skins.vector.styles.legacy/skin-legacy.less b/resources/skins.vector.styles.legacy/skin-legacy.less index a5de62bff..ae298f249 100644 --- a/resources/skins.vector.styles.legacy/skin-legacy.less +++ b/resources/skins.vector.styles.legacy/skin-legacy.less @@ -15,23 +15,6 @@ @import './components/Sidebar.less'; @import './components/TabWatchstarLink.less'; @import './components/UserLinks.less'; - - // Overrides - // Since these override declarations in ResourceLoaderSkinModule they require - // the `skin-vector-legacy` class for greater specificity. See T288739. - // FIXME: This can be considered for removal in future or can be repurposed as a skin - // variable when modern and legacy Vector use different skin keys. - .skin-vector-legacy { - a.new { - color: #ba0000; - } - - a.new:visited, - .vector-menu-tabs .new a, - .vector-menu-tabs .new a:visited { - color: #a55858; - } - } } @media print {