mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 14:13:18 +08:00
Use .Darken() instead of hex-based colour
This commit is contained in:
parent
8430ac6d1c
commit
5272b3a929
@ -131,7 +131,7 @@ namespace osu.Game.Overlays.Profile
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
triangles.ColourLight = colours.GreySeafoamDark;
|
||||
triangles.ColourDark = OsuColour.FromHex("171b1a");
|
||||
triangles.ColourDark = colours.GreySeafoamDarker.Darken(0.2f);
|
||||
foreground.Colour = ColourInfo.GradientVertical(colours.GreySeafoamDarker, colours.GreySeafoamDarker.Opacity(0));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user