Skip to content

Commit 8ea4cb8

Browse files
committed
left-menu-tweaks
1 parent dbcff56 commit 8ea4cb8

50 files changed

Lines changed: 542 additions & 334 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core/Plugin/ThemeStyles.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class ThemeStyles
6060
'colorWidgetBackground' => 'theme-color-widget-background',
6161
'colorWidgetBorder' => 'theme-color-widget-border',
6262
'filterOnIllustration' => 'theme-filter-on-illustration',
63+
'colorMenuContrastBackgroundHover' => 'theme-color-menu-contrast-backgroundHover',
6364
];
6465

6566
/**
@@ -175,13 +176,18 @@ class ThemeStyles
175176
/**
176177
* @var string|array<string>
177178
*/
178-
public $colorMenuContrastTextSelected;
179+
public $colorMenuContrastTextSelected = ['#1976D2', '#ccc'];
179180

180181
/**
181182
* @var string|array<string>
182183
*/
183184
public $colorMenuContrastTextActive = ['#3450A3', '#fff'];
184185

186+
/**
187+
* @var string|array<string>
188+
*/
189+
public $colorMenuContrastBackgroundHover = ['#eff0f1', '#151819'];
190+
185191
/**
186192
* @var string|array<string>
187193
*/
@@ -277,7 +283,6 @@ public function __construct(string $themeMode)
277283
$this->themeMode = $themeMode;
278284
$this->colorFocusRingAlternative = $this->colorBrand;
279285
$this->colorMenuContrastText = $this->colorText;
280-
$this->colorMenuContrastTextSelected = $this->colorMenuContrastText;
281286
$this->colorMenuContrastBackground = $this->colorBackgroundContrast;
282287
$this->colorWidgetExportedBackgroundBase = $this->colorBackgroundContrast;
283288
$this->colorWidgetTitleText = $this->colorText;
953 Bytes
Loading

0 commit comments

Comments
 (0)