Define $active-color in terms of $primary-color
This commit is contained in:
parent
6990f8fcc9
commit
04e1614184
3 changed files with 3 additions and 3 deletions
|
@ -510,7 +510,7 @@
|
||||||
|
|
||||||
// Scrollspy marks toc items as .active when they are in focus
|
// Scrollspy marks toc items as .active when they are in focus
|
||||||
.active {
|
.active {
|
||||||
background: $active-color;
|
@include yiq-contrasted($active-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,6 @@ $muted-text-color: mix(#fff, $text-color, 35%) !default;
|
||||||
$border-color: $lighter-gray !default;
|
$border-color: $lighter-gray !default;
|
||||||
$form-background-color: $lighter-gray !default;
|
$form-background-color: $lighter-gray !default;
|
||||||
$footer-background-color: $lighter-gray !default;
|
$footer-background-color: $lighter-gray !default;
|
||||||
$active-color: mix($light-gray, $lighter-gray, 50%) !default;
|
|
||||||
|
|
||||||
$primary-color: #6f777d !default;
|
$primary-color: #6f777d !default;
|
||||||
$success-color: #3fa63f !default;
|
$success-color: #3fa63f !default;
|
||||||
|
@ -69,6 +68,7 @@ $warning-color: #d67f05 !default;
|
||||||
$danger-color: #ee5f5b !default;
|
$danger-color: #ee5f5b !default;
|
||||||
$info-color: #3b9cba !default;
|
$info-color: #3b9cba !default;
|
||||||
$focus-color: $primary-color !default;
|
$focus-color: $primary-color !default;
|
||||||
|
$active-color: mix(#fff, $primary-color, 80%) !default;
|
||||||
|
|
||||||
/* YIQ color contrast */
|
/* YIQ color contrast */
|
||||||
$yiq-contrasted-dark-default: $dark-gray !default;
|
$yiq-contrasted-dark-default: $dark-gray !default;
|
||||||
|
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue