1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-08 00:12:57 +08:00

Recolor TopHeaderContainer

This commit is contained in:
TheWildTree 2020-01-29 21:48:02 +01:00
parent c091b31fe8
commit 12a49b74bb

View File

@ -33,7 +33,7 @@ namespace osu.Game.Overlays.Profile.Header
private FillFlowContainer userStats; private FillFlowContainer userStats;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OverlayColourProvider colourProvider)
{ {
Height = 150; Height = 150;
@ -42,7 +42,7 @@ namespace osu.Game.Overlays.Profile.Header
new Box new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = colours.GreySeafoamDark, Colour = colourProvider.Background5,
}, },
new FillFlowContainer new FillFlowContainer
{ {
@ -117,7 +117,7 @@ namespace osu.Game.Overlays.Profile.Header
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 1.5f, Height = 1.5f,
Margin = new MarginPadding { Top = 10 }, Margin = new MarginPadding { Top = 10 },
Colour = colours.GreySeafoamLighter, Colour = colourProvider.Light1,
}, },
new FillFlowContainer new FillFlowContainer
{ {
@ -137,7 +137,7 @@ namespace osu.Game.Overlays.Profile.Header
Margin = new MarginPadding { Left = 10 }, Margin = new MarginPadding { Left = 10 },
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Colour = colours.GreySeafoamLighter, Colour = colourProvider.Light1,
} }
} }
}, },