Merge pull request #2857 from larsbrubaker/design_tools
Make themes default to have more contrast when required
This commit is contained in:
commit
e00d5c1437
3 changed files with 4 additions and 5 deletions
|
|
@ -75,13 +75,13 @@ namespace MatterHackers.MatterControl
|
|||
public Button CreateThemeButton(IThemeColors darkTheme, int darkThemeIndex)
|
||||
{
|
||||
var normal = new GuiWidget(colorSelectSize, colorSelectSize);
|
||||
normal.BackgroundColor = darkTheme.PrimaryAccentColor;
|
||||
normal.BackgroundColor = darkTheme.SourceColor;
|
||||
|
||||
var hover = new GuiWidget(colorSelectSize, colorSelectSize);
|
||||
hover.BackgroundColor = darkTheme.SecondaryAccentColor;
|
||||
hover.BackgroundColor = darkTheme.SourceColor;
|
||||
|
||||
var pressed = new GuiWidget(colorSelectSize, colorSelectSize);
|
||||
pressed.BackgroundColor = darkTheme.SecondaryAccentColor;
|
||||
pressed.BackgroundColor = darkTheme.SourceColor;
|
||||
|
||||
var disabled = new GuiWidget(colorSelectSize, colorSelectSize);
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
public ILibraryContainer ActiveContainer => this.LibraryContext.ActiveContainer;
|
||||
|
||||
public Color ThumbnailBackground { get; } = ActiveTheme.Instance.TertiaryBackgroundColor.AdjustLightness(1.05).ToColor();
|
||||
public Color ThumbnailForeground { get; set; } = ActiveTheme.Instance.PrimaryAccentColor;
|
||||
|
||||
private async void ActiveContainer_Changed(object sender, ContainerChangedEventArgs e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5ac31a91bf082a4e699390235116ee410ee0a742
|
||||
Subproject commit bad43f38ef713d6b5b953cc674bfd600edfe5082
|
||||
Loading…
Add table
Add a link
Reference in a new issue