Enable hover effect so that color gets dark by 20%

This commit is contained in:
Bartlomiej Pluta (PGS Software)
2018-03-19 17:01:03 +01:00
parent 4087a53940
commit 7f9f6ae510
3 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
}
.rounded-button:hover {
background-color: $primary-light;
background-color: darken($primary, $hover-threshold);
transition: $hover-duration;
text-decoration: none;
color: white;

View File

@@ -48,6 +48,6 @@ $shrinking-duration: 0.4s;
}
.navbar__link:hover {
color: $primary;
color: darken($primary-dark, $hover-threshold);
transition: $hover-duration;
}

View File

@@ -3,4 +3,5 @@ $primary-dark: #635c73;
$primary-light: #a599c8;
$regular-text: #848e97;
$hover-threshold: 20%;
$hover-duration: 0.3s;