Remove SourceColor from theme

This commit is contained in:
John Lewin 2018-10-22 08:38:22 -07:00
parent 490a3a4068
commit fcf6f03916
2 changed files with 2 additions and 10 deletions

View file

@ -35,8 +35,6 @@ namespace MatterHackers.Agg.UI
{
public Color PrimaryTextColor { get; set; }
public Color SourceColor { get; set; }
public static (ThemeColors ThemeColors, Color AccentColor) Create(Color accentColor, bool darkTheme = true)
{
var primaryBackgroundColor = new Color(darkTheme ? "#444" : "#D0D0D0");
@ -45,7 +43,6 @@ namespace MatterHackers.Agg.UI
new ThemeColors
{
PrimaryTextColor = new Color(darkTheme ? "#FFFFFF" : "#222"),
SourceColor = accentColor,
},
GetAdjustedAccentColor(accentColor, primaryBackgroundColor));
}