1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Recolor DetailHeaderContainer

This commit is contained in:
TheWildTree 2020-01-29 22:10:58 +01:00
parent 85990cdcdb
commit 06eded16e2

View File

@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Profile.Header
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OverlayColourProvider colourProvider, OsuColour colours)
{ {
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;
@ -65,7 +65,7 @@ namespace osu.Game.Overlays.Profile.Header
new Box new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = colours.GreySeafoamDarker, Colour = colourProvider.Background5,
}, },
fillFlow = new FillFlowContainer fillFlow = new FillFlowContainer
{ {
@ -152,12 +152,12 @@ namespace osu.Game.Overlays.Profile.Header
detailGlobalRank = new OverlinedInfoContainer(true, 110) detailGlobalRank = new OverlinedInfoContainer(true, 110)
{ {
Title = "Global Ranking", Title = "Global Ranking",
LineColour = colours.Yellow, LineColour = colourProvider.Highlight1,
}, },
detailCountryRank = new OverlinedInfoContainer(false, 110) detailCountryRank = new OverlinedInfoContainer(false, 110)
{ {
Title = "Country Ranking", Title = "Country Ranking",
LineColour = colours.Yellow, LineColour = colourProvider.Highlight1,
}, },
} }
} }