Use upstream codex variables for diffs and red links

Bug: T361717
Bug: T363743
Change-Id: I4e49a07f9f092ab00e2b2d12fcb146c91a21d8d8
This commit is contained in:
Jon Robson 2024-06-11 18:19:50 -07:00
parent 6d037d4e9f
commit 72bcebeba8
2 changed files with 3 additions and 17 deletions

View file

@ -23,10 +23,6 @@
*/
.mixin-night-mode-palette() {
.cdx-mode-dark();
// <T361717>FIXME: These can be removed when T361717 is resolved.
--minerva-diff-deletedline: #886525;
--minerva-diff-addedline: #36c;
// </T361717>
}
/**
@ -53,10 +49,6 @@
.skin-invert,
.notheme {
.cdx-mode-reset();
// <T361717>FIXME: These can be removed when T361717 is resolved.
--minerva-diff-addedline: @color-success;
--minerva-diff-deletedline: @color-destructive;
// </T361717>
}
.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,

View file

@ -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;
}
/*