From e848f04c18efa7ed805e2b31383e7f99398eab43 Mon Sep 17 00:00:00 2001 From: snixtho Date: Mon, 11 Dec 2023 12:40:04 +0100 Subject: [PATCH 1/2] Update src/EvoSC.Common/Util/ColorUtils.cs Co-authored-by: AtomicLiquid --- src/EvoSC.Common/Util/ColorUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EvoSC.Common/Util/ColorUtils.cs b/src/EvoSC.Common/Util/ColorUtils.cs index 84fe172af..3f72564e4 100644 --- a/src/EvoSC.Common/Util/ColorUtils.cs +++ b/src/EvoSC.Common/Util/ColorUtils.cs @@ -70,7 +70,7 @@ public static string Lighten(TextColor color, float amount) => public static string Lighten(string hexColor) => Lighten(hexColor, 10); /// - /// Lighten a texdt color by 10%. + /// Lighten a text color by 10%. /// /// Text color to lighten. /// From fa681ce13a3a1a8256d2eea1a6d434743b52ba2a Mon Sep 17 00:00:00 2001 From: snixtho Date: Mon, 11 Dec 2023 12:40:14 +0100 Subject: [PATCH 2/2] Update src/EvoSC.Common/Util/ColorUtils.cs Co-authored-by: AtomicLiquid --- src/EvoSC.Common/Util/ColorUtils.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/EvoSC.Common/Util/ColorUtils.cs b/src/EvoSC.Common/Util/ColorUtils.cs index 3f72564e4..648a8834a 100644 --- a/src/EvoSC.Common/Util/ColorUtils.cs +++ b/src/EvoSC.Common/Util/ColorUtils.cs @@ -83,7 +83,8 @@ public static string Lighten(TextColor color, float amount) => /// Amount to darken in percentage (0-100). /// public static string Darken(string hexColor, float amount) => Lighten(hexColor, -amount); - /// + + /// /// Darken a text color by a set amount. /// /// Text color to darken.