From 7aa9e577193e3a77415434fd5e6e856a21d5efeb Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 21 Nov 2023 17:45:13 +0200 Subject: [PATCH] [develop]: Change color of links and button links to be global --- less/button.less | 4 ++-- less/color.less | 7 +++++-- less/variables.less | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/less/button.less b/less/button.less index 34a5d76..7001ff0 100644 --- a/less/button.less +++ b/less/button.less @@ -76,8 +76,8 @@ @button-text-hover-color: @button-text-color; /* Link */ -@button-link-color: @global-primary-background; -@button-link-hover-color: @global-secondary-background; +@button-link-color: @openaire-primary-color; +@button-link-hover-color: @openaire-secondary-color; /* Disabled */ @button-disabled-box-shadow: none; diff --git a/less/color.less b/less/color.less index 9604eb4..342eeb7 100644 --- a/less/color.less +++ b/less/color.less @@ -1,5 +1,8 @@ -@primary-color: #211F7E; -@primary-light-color: #4687E6; +@openaire-primary-color: #211F7E; +@openaire-secondary-color: #4687E6; + +@primary-color: @openaire-primary-color; +@primary-light-color: @openaire-secondary-color; @primary-dark-color: #1F2379; @secondary-color: #3086ED; diff --git a/less/variables.less b/less/variables.less index bed6aa6..416bdd5 100644 --- a/less/variables.less +++ b/less/variables.less @@ -17,7 +17,7 @@ @global-link-color: @info-color; @global-muted-color: @disable-color; @global-meta-color: @placeholder-color; -@global-link-hover-color: @secondary-color; +@global-link-hover-color: @openaire-secondary-color; @global-overlay-background: fade(@black-color, 60%); /** Backgrounds */