From 1b38a7e51a7a772517115c98c3947f00bd7e62ed Mon Sep 17 00:00:00 2001 From: Eric Poirier <eric.poirier@eclipse-foundation.org> Date: Fri, 22 Oct 2021 09:06:53 -0400 Subject: [PATCH] Use variables to changes button color Signed-off-by: Eric Poirier <eric.poirier@eclipse-foundation.org> --- less/_variables.less | 5 ++++- less/styles.less | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/less/_variables.less b/less/_variables.less index c50533c..6ee2e77 100644 --- a/less/_variables.less +++ b/less/_variables.less @@ -11,4 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 */ -@coming-soon-container-bg:#000; \ No newline at end of file +@coming-soon-container-bg:#000; + +@btn-primary-bg: #d6006e; +@btn-primary-border: #d6006e; \ No newline at end of file diff --git a/less/styles.less b/less/styles.less index d94bc17..5466b6a 100644 --- a/less/styles.less +++ b/less/styles.less @@ -32,11 +32,4 @@ h2 { font-size: 24px; } - .btn-primary { - background-color: #d6006e; - border: none; - &:hover { - background-color: darken(#d6006e, 15%); - } - } } \ No newline at end of file -- GitLab