Fixed an issue where the correct global colors to the icon weren't being applied in split variant. (#409)
* Fix global icon coloring * Fix themes * Update custom modules to use global colors if enabled * Fix icons * Fix custom module icon color
This commit is contained in:
@@ -54,7 +54,10 @@
|
||||
$transparency-value-hover: 1 - $bar-button-background-hover-opacity-ratio;
|
||||
.bar_item_box_visible {
|
||||
&.#{$class} {
|
||||
background: transparentize($labelBackground, $transparency-value);
|
||||
background: transparentize(
|
||||
if($bar-buttons-monochrome, $bar-buttons-background, $labelBackground),
|
||||
$transparency-value
|
||||
);
|
||||
border: if(
|
||||
$borderEnabled or $bar-buttons-enableBorders,
|
||||
$bar-buttons-borderSize solid if($bar-buttons-monochrome, $bar-buttons-icon, $borderColor),
|
||||
@@ -84,9 +87,9 @@
|
||||
|
||||
.style2 {
|
||||
.module-icon.#{$class} {
|
||||
background: if($bar-buttons-monochrome, $bar-buttons-icon, $iconBackground);
|
||||
background: if($bar-buttons-monochrome, $bar-buttons-icon_background, $iconBackground);
|
||||
padding-right: $spacing;
|
||||
color: if($bar-buttons-monochrome, $bar-buttons-background, $iconColor);
|
||||
color: if($bar-buttons-monochrome, $bar-buttons-icon, $iconColor);
|
||||
border-top-left-radius: if(
|
||||
$borderEnabled or $bar-buttons-enableBorders,
|
||||
$bar-buttons-radius * 0.4,
|
||||
|
||||
Reference in New Issue
Block a user