mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Refactor colors to palette based design
This commit is contained in:
@ -33,14 +33,16 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
base.Selected();
|
||||
GainedSelection?.Invoke(this);
|
||||
|
||||
background.ColourInfo = OsuColor.BeatmapPanelSelected;
|
||||
background.ColourInfo = ColourInfo.GradientVertical(
|
||||
new Color4(20, 43, 51, 255),
|
||||
new Color4(40, 86, 102, 255));
|
||||
}
|
||||
|
||||
protected override void Deselected()
|
||||
{
|
||||
base.Deselected();
|
||||
|
||||
background.Colour = OsuColor.BeatmapPanelUnselected;
|
||||
background.Colour = new Color4(20, 43, 51, 255);
|
||||
}
|
||||
|
||||
protected override bool OnClick(InputState state)
|
||||
@ -70,7 +72,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
CornerRadius = Content.CornerRadius,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
BlendingMode = BlendingMode.Additive,
|
||||
Colour = OsuColor.BeatmapPanelUnselected,
|
||||
Colour = new Color4(20, 43, 51, 255),
|
||||
},
|
||||
new FlowContainer
|
||||
{
|
||||
|
Reference in New Issue
Block a user