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:
Jas Singh
2024-10-31 00:49:05 -07:00
committed by GitHub
parent 77d4512c82
commit c2e46f098e
25 changed files with 399 additions and 385 deletions

View File

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