0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Variable darken percentage for emphasized links

This commit is contained in:
Martijn Cuppens 2018-10-22 19:52:20 +02:00 committed by XhmikosR
parent ff40e00323
commit 1c91f48251
2 changed files with 7 additions and 6 deletions

View File

@ -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
// //

View File

@ -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;
} }
} }
} }