Rename theme
This commit is contained in:
parent
2cff274e75
commit
29af22e2ec
4 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"ThemeName": "Affinity Dark",
|
||||
"ThemeName": "Modern Dark",
|
||||
"AccentColors": [
|
||||
"#B58900",
|
||||
"#CB4B16",
|
||||
Loading…
Add table
Add a link
Reference in a new issue