Rename theme

This commit is contained in:
John Lewin 2018-10-24 08:07:07 -07:00
parent 2cff274e75
commit 29af22e2ec
4 changed files with 5 additions and 5 deletions

View file

@ -164,8 +164,8 @@ namespace MatterHackers.MatterControl
if (themeset == null)
{
var themeProvider = ThemeProviders.Values.First();
themeset = themeProvider.GetTheme(themeProvider.ThemeNames.First());
var themeProvider = ThemeProviders["Modern"];
themeset = themeProvider.GetTheme("Modern-Dark");
}
DefaultThumbView.ThumbColor = new Color(themeset.Theme.Colors.PrimaryTextColor, 30);

View file

@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl
public ThemeSet GetTheme(string themeName)
{
var themeset = this.LoadTheme(themeName);
themeset.SetAccentColor(themeset.AccentColors.First());
themeset.SetAccentColor(themeset.AccentColors[2]);
return themeset;
}

View file

@ -1,5 +1,5 @@
/*
Copyright (c) 2016, Lars Brubaker, Kevin Pope
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
{
"ThemeName": "Affinity Dark",
"ThemeName": "Modern Dark",
"AccentColors": [
"#B58900",
"#CB4B16",