Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/229-themable-components' into 22…
Browse files Browse the repository at this point in the history
…9-themable-components
  • Loading branch information
snixtho committed Dec 11, 2023
2 parents 2576bd3 + fa681ce commit d0c8554
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/EvoSC.Common/Util/ColorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static string Lighten(TextColor color, float amount) =>
public static string Lighten(string hexColor) => Lighten(hexColor, 10);

/// <summary>
/// Lighten a texdt color by 10%.
/// Lighten a text color by 10%.
/// </summary>
/// <param name="color">Text color to lighten.</param>
/// <returns></returns>
Expand All @@ -83,7 +83,8 @@ public static string Lighten(TextColor color, float amount) =>
/// <param name="amount">Amount to darken in percentage (0-100).</param>
/// <returns></returns>
public static string Darken(string hexColor, float amount) => Lighten(hexColor, -amount);
/// <summary>

/// <summary>
/// Darken a text color by a set amount.
/// </summary>
/// <param name="color">Text color to darken.</param>
Expand Down

0 comments on commit d0c8554

Please sign in to comment.