Split ChromeMetrics' ContrastColor options into two
One for dark backgrounds, one for light ones. The light one isn't currently being used, but will be by future commits
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
public Color TextColor = ChromeMetrics.Get<Color>("ButtonTextColor");
|
||||
public Color TextColorDisabled = ChromeMetrics.Get<Color>("ButtonTextColorDisabled");
|
||||
public bool Contrast = ChromeMetrics.Get<bool>("ButtonTextContrast");
|
||||
public Color ContrastColor = ChromeMetrics.Get<Color>("ButtonTextContrastColor");
|
||||
public Color ContrastColor = ChromeMetrics.Get<Color>("ButtonTextContrastColorDark");
|
||||
public bool Disabled = false;
|
||||
public bool Highlighted = false;
|
||||
public Func<string> GetText;
|
||||
|
||||
Reference in New Issue
Block a user