Define $active-color in terms of $primary-color

This commit is contained in:
Erik Demaine 2019-01-04 15:46:01 -05:00
parent 6990f8fcc9
commit 04e1614184
3 changed files with 3 additions and 3 deletions

View file

@ -510,7 +510,7 @@
// Scrollspy marks toc items as .active when they are in focus
.active {
background: $active-color;
@include yiq-contrasted($active-color);
}
}

View file

@ -61,7 +61,6 @@ $muted-text-color: mix(#fff, $text-color, 35%) !default;
$border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
$active-color: mix($light-gray, $lighter-gray, 50%) !default;
$primary-color: #6f777d !default;
$success-color: #3fa63f !default;
@ -69,6 +68,7 @@ $warning-color: #d67f05 !default;
$danger-color: #ee5f5b !default;
$info-color: #3b9cba !default;
$focus-color: $primary-color !default;
$active-color: mix(#fff, $primary-color, 80%) !default;
/* YIQ color contrast */
$yiq-contrasted-dark-default: $dark-gray !default;

File diff suppressed because one or more lines are too long