1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Improve contrast in default OverlayColourProvider-themed appearance

This commit is contained in:
Bartłomiej Dach 2021-10-19 22:55:49 +02:00
parent 80da153697
commit f29eb08d93
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -54,8 +54,8 @@ namespace osu.Game.Graphics.UserInterface
private void load(OverlayColourProvider? colourProvider, OsuColour colours, AudioManager audio)
{
BackgroundColour = colourProvider?.Background5 ?? Color4.Black.Opacity(0.5f);
HoverColour = colourProvider?.Highlight1 ?? colours.PinkDarker;
SelectionColour = colourProvider?.Light4 ?? colours.PinkDarker.Opacity(0.5f);
HoverColour = colourProvider?.Light4 ?? colours.PinkDarker;
SelectionColour = colourProvider?.Background3 ?? colours.PinkDarker.Opacity(0.5f);
sampleOpen = audio.Samples.Get(@"UI/dropdown-open");
sampleClose = audio.Samples.Get(@"UI/dropdown-close");
@ -344,7 +344,7 @@ namespace osu.Game.Graphics.UserInterface
private void load(OverlayColourProvider? colourProvider, OsuColour colours)
{
BackgroundColour = colourProvider?.Background5 ?? Color4.Black.Opacity(0.5f);
BackgroundColourHover = colourProvider?.Highlight1 ?? colours.PinkDarker;
BackgroundColourHover = colourProvider?.Light4 ?? colours.PinkDarker;
}
}
}