Rely on core .new color

Relying on core's 'elements.less' `.new` color without overriding it.
Also renaming variable to apply to standard naming scheme.

Depends-On: If9ce056ef1a186db86584897707b7bcf890137a6
Change-Id: I0c151ba95c4b51bb857dba69fa7e9eeec8a96263
This commit is contained in:
Volker E 2020-06-11 19:20:48 -07:00 committed by VolkerE
parent 9b943bb495
commit ce5f213dda
2 changed files with 2 additions and 3 deletions

View file

@ -93,7 +93,7 @@
@semiTransparent: rgba( 0, 0, 0, 0.8 );
@linkColor: @colorProgressive;
@redLinkColor: @colorError;
@color-link--new: @colorError;
@lastModifiedBarActiveBackgroundColor: #00af89;
@toastNotificationColor: @colorGray2;

View file

@ -35,10 +35,9 @@ a {
&.new,
&.new:visited,
&.new:hover {
color: @redLinkColor;
// Take care of headings in page lists.
> * {
color: @redLinkColor;
color: @color-link--new;
}
}