Refine navigation UX and header action styling
This commit is contained in:
@@ -200,9 +200,9 @@ namespace C4IT_CustomerPanel.libs
|
||||
{
|
||||
return cpConfig._linkList;
|
||||
}
|
||||
public Color GetButtonHoverColor()
|
||||
public Color GetButtonHoverColor(Color? baseColor = null)
|
||||
{
|
||||
Color activeColor = GetActiveButtonColor().Color;
|
||||
Color activeColor = baseColor ?? GetActiveButtonColor().Color;
|
||||
bool isLightActive = GetRelativeLuminance(activeColor) >= 0.55;
|
||||
return BlendColor(activeColor, isLightActive ? Colors.Black : Colors.White, isLightActive ? 0.10 : 0.12);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user