From ce5f213dda45620e47cbc05ea3e9915d33a6643e Mon Sep 17 00:00:00 2001 From: Volker E Date: Thu, 11 Jun 2020 19:20:48 -0700 Subject: [PATCH] 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 --- minerva.less/minerva.variables.less | 2 +- resources/skins.minerva.content.styles/links.less | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/minerva.less/minerva.variables.less b/minerva.less/minerva.variables.less index b2691cd88..4c75d9dcf 100644 --- a/minerva.less/minerva.variables.less +++ b/minerva.less/minerva.variables.less @@ -93,7 +93,7 @@ @semiTransparent: rgba( 0, 0, 0, 0.8 ); @linkColor: @colorProgressive; -@redLinkColor: @colorError; +@color-link--new: @colorError; @lastModifiedBarActiveBackgroundColor: #00af89; @toastNotificationColor: @colorGray2; diff --git a/resources/skins.minerva.content.styles/links.less b/resources/skins.minerva.content.styles/links.less index 27f5c1cea..47b462ebc 100644 --- a/resources/skins.minerva.content.styles/links.less +++ b/resources/skins.minerva.content.styles/links.less @@ -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; } }