1
0
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:
smoogipoo 2019-06-24 13:27:58 +09:00
parent 8430ac6d1c
commit 5272b3a929

View File

@ -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));
}
}