diff --git a/config/themes.json b/config/themes.json index 5335a4b3..2ed412ef 100644 --- a/config/themes.json +++ b/config/themes.json @@ -7,7 +7,7 @@ "CustomDialogHeight": "200", "FontSize": "12", "FontFamily": "Arial", - "FontSizeHeading": "16", + "HeadingFontSize": "16", "HeaderFontFamily": "Consolas, Monaco", "CheckBoxBulletDecoratorSize": "14", "CheckBoxMargin": "15,0,0,2", diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index 3851536d..7ae7f094 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -142,7 +142,7 @@ function Invoke-WPFUIElements { $label = New-Object Windows.Controls.Label $label.Content = $category -replace ".*__", "" - $label.FontSize = $theme.FontSizeHeading + $label.FontSize = $theme.HeadingFontSize $label.FontFamily = $theme.HeaderFontFamily $stackPanel.Children.Add($label) | Out-Null