From 2b75c6f36a3478a438c909456847cfb3d94eb69c Mon Sep 17 00:00:00 2001 From: Ana Laura de Araujo Date: Wed, 7 Oct 2020 10:41:18 -0300 Subject: [PATCH] 145 - Change the appears of the button when active --- src/_Button.sass | 10 +++++----- src/_Color.sass | 1 + src/_Link.sass | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/_Button.sass b/src/_Button.sass index c861c41..942f3ec 100644 --- a/src/_Button.sass +++ b/src/_Button.sass @@ -26,8 +26,8 @@ input[type='submit'] &:focus, &:hover - background-color: $color-secondary - border-color: $color-secondary + background-color: $color-primary-darker + border-color: $color-primary-darker color: $color-initial outline: 0 @@ -47,8 +47,8 @@ input[type='submit'] &:focus, &:hover background-color: transparent - border-color: $color-secondary - color: $color-secondary + border-color: $color-primary-darker + color: $color-primary-darker &[disabled] @@ -66,7 +66,7 @@ input[type='submit'] &:hover background-color: transparent border-color: transparent - color: $color-secondary + color: $color-primary-darker &[disabled] diff --git a/src/_Color.sass b/src/_Color.sass index a0279e9..ebc78fa 100644 --- a/src/_Color.sass +++ b/src/_Color.sass @@ -4,6 +4,7 @@ $color-initial: #fff !default $color-primary: #9b4dca !default +$color-primary-darker: #642989 !default $color-secondary: #606c76 !default $color-tertiary: #f4f5f6 !default $color-quaternary: #d1d1d1 !default diff --git a/src/_Link.sass b/src/_Link.sass index f026b5c..a08492a 100644 --- a/src/_Link.sass +++ b/src/_Link.sass @@ -8,4 +8,4 @@ a &:focus, &:hover - color: $color-secondary + color: $color-primary-darker