From 26fb53f183a310d7f7c809241d9f04859d0e3e41 Mon Sep 17 00:00:00 2001 From: Sinai Date: Sat, 15 May 2021 20:39:38 +1000 Subject: [PATCH] Color adjustments --- src/UI/Widgets/AutoComplete/AutoCompleteModal.cs | 2 +- src/UI/Widgets/ButtonList/ButtonCell.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UI/Widgets/AutoComplete/AutoCompleteModal.cs b/src/UI/Widgets/AutoComplete/AutoCompleteModal.cs index 9a1eba9..4e59e90 100644 --- a/src/UI/Widgets/AutoComplete/AutoCompleteModal.cs +++ b/src/UI/Widgets/AutoComplete/AutoCompleteModal.cs @@ -170,7 +170,7 @@ namespace UnityExplorer.UI.Widgets.AutoComplete // Setting autocomplete cell buttons - private readonly Color selectedSuggestionColor = new Color(46/255f, 54/255f, 53/255f); + private readonly Color selectedSuggestionColor = new Color(45/255f, 75/255f, 80/255f); private readonly Color inactiveSuggestionColor = new Color(0.11f, 0.11f, 0.11f); private List GetEntries() => Suggestions; diff --git a/src/UI/Widgets/ButtonList/ButtonCell.cs b/src/UI/Widgets/ButtonList/ButtonCell.cs index 6de051e..e1299ef 100644 --- a/src/UI/Widgets/ButtonList/ButtonCell.cs +++ b/src/UI/Widgets/ButtonList/ButtonCell.cs @@ -59,7 +59,7 @@ namespace UnityExplorer.UI.Widgets buttonText.alignment = TextAnchor.MiddleLeft; Color normal = new Color(0.11f, 0.11f, 0.11f); - Color highlight = new Color(0.25f, 0.25f, 0.25f); + Color highlight = new Color(0.16f, 0.16f, 0.16f); Color pressed = new Color(0.05f, 0.05f, 0.05f); Color disabled = new Color(1, 1, 1, 0); RuntimeProvider.Instance.SetColorBlock(Button.Component, normal, highlight, pressed, disabled);