Commit 1c91f482 authored by Martijn Cuppens's avatar Martijn Cuppens Committed by XhmikosR
Browse files

Variable darken percentage for emphasized links

parent ff40e003
Showing with 7 additions and 6 deletions
+7 -6
...@@ -166,11 +166,12 @@ $body-color: $gray-900 !default; ...@@ -166,11 +166,12 @@ $body-color: $gray-900 !default;
// //
// Style anchor elements. // Style anchor elements.
$link-color: $primary !default; $link-color: $primary !default;
$link-decoration: none !default; $link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default; $link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: underline !default; $link-hover-decoration: underline !default;
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
$emphasized-link-hover-darken-percentage: 15% !default;
// Paragraphs // Paragraphs
// //
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
} }
a#{$parent} { a#{$parent} {
@include hover-focus { @include hover-focus {
color: darken($color, 10%) !important; color: darken($color, $emphasized-link-hover-darken-percentage) !important;
} }
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment