mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +00:00
DAT-3855, move ligthness condition to separate variable
This commit is contained in:
parent
971a012f8c
commit
f2c89bad0e
|
@ -5,6 +5,7 @@ $infobox-width: 300px;
|
|||
$white: #fff;
|
||||
$black: #000;
|
||||
$backgroundColorMix: 10%;
|
||||
$tabberLightnessCondition: 30;
|
||||
$backgroundColor: mix($black, $color-page, $backgroundColorMix);
|
||||
$horizontalGroupStripeBackground: mix($black, $color-page, $backgroundColorMix * 2);
|
||||
$tabberBackgroundColor: mix($black, $color-buttons, $backgroundColorMix * 4);
|
||||
|
@ -25,7 +26,7 @@ $collapsibleChevronNegativeMargin: -7px;
|
|||
$horizontalGroupStripeBackground: mix($white, $color-page, $backgroundColorMix * 2);
|
||||
}
|
||||
|
||||
@if lightness($color-buttons) < 30 {
|
||||
@if lightness($color-buttons) < $tabberLightnessCondition {
|
||||
$tabberBackgroundColor: mix($white, $color-buttons, $backgroundColorMix * 4);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue