Skip to content

Commit eb9b9be

Browse files
committed
Standardizing name on Secondary color rather than Accent color.
1 parent 309f76d commit eb9b9be

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

MaterialDesignThemes.MahApps/MaterialDesignAssist.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
43
using System.Text.RegularExpressions;
54
using System.Windows;

MaterialDesignThemes.Wpf/Theme.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static Theme Create(IBaseTheme baseTheme, Color primary, Color accent)
1616

1717
theme.SetBaseTheme(baseTheme);
1818
theme.SetPrimaryColor(primary);
19-
theme.SetAccentColor(accent);
19+
theme.SetSecondaryColor(accent);
2020

2121
return theme;
2222
}

MaterialDesignThemes.Wpf/ThemeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static void SetPrimaryColor(this ITheme theme, Color primaryColor)
7676
theme.PrimaryDark = primaryColor.Darken();
7777
}
7878

79-
public static void SetAccentColor(this ITheme theme, Color accentColor)
79+
public static void SetSecondaryColor(this ITheme theme, Color accentColor)
8080
{
8181
if (theme == null) throw new ArgumentNullException(nameof(theme));
8282
theme.SecondaryLight = accentColor.Lighten();

0 commit comments

Comments
 (0)