Remove FIXME, add variables

These overrides are now redundant now that Vector and Vector 2022
are separate skins.

This override was technical debt, but is now causing inconsistency
in styles as a result of T315321

These are now defined in the variables file instead.

Bug: T315662
Change-Id: I7cb3e7f439daa9d1974ec414ee4c8a905b5e513f
This commit is contained in:
Jon Robson 2022-08-22 12:32:19 +01:00
parent 392e251a62
commit fc2a899b4d
2 changed files with 2 additions and 17 deletions

View file

@ -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;

View file

@ -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 {