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 6f91122 + f44e7b6 commit f38e4e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EvoSC.Common/Util/ColorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public static string Lighten(TextColor color, float amount) =>
/// <param name="hexColor">Hex color to calculate luma from.</param>
/// <returns></returns>
public static double Luma(string hexColor) => Luma(new Hex(hexColor).ToRgb());

/// <summary>
/// Get the luma of a color.
/// </summary>
Expand Down

0 comments on commit f38e4e3

Please sign in to comment.