From de175400f7e91a65ee58de9c6a6c3b4338c8db05 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 28 Aug 2024 18:49:44 +0200 Subject: [PATCH] use mainforegroundcolor for toggle label --- functions/public/Invoke-WPFUIElements.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index 2319d6fe..f8e9c7ba 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -186,6 +186,7 @@ function Invoke-WPFUIElements { $label.ToolTip = $entryInfo.Description $label.HorizontalAlignment = "Left" $label.FontSize = $theme.FontSize + $label.Foreground = $theme.MainForegroundColor $dockPanel.Children.Add($label) | Out-Null $stackPanel.Children.Add($dockPanel) | Out-Null