diff --git a/resources/skins.vector.styles.legacy/skin-legacy.less b/resources/skins.vector.styles.legacy/skin-legacy.less index 4e7ae76..133b048 100644 --- a/resources/skins.vector.styles.legacy/skin-legacy.less +++ b/resources/skins.vector.styles.legacy/skin-legacy.less @@ -12,6 +12,23 @@ @import './components/SearchBox.less'; @import './components/Sidebar.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 {