mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Restyle settings panel header
This commit is contained in:
parent
315581f4c8
commit
4c293b637f
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Settings
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
private void load(OverlayColourProvider colourProvider)
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
@ -39,7 +39,7 @@ namespace osu.Game.Overlays.Settings
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = heading,
|
||||
Font = OsuFont.GetFont(size: 40),
|
||||
Font = OsuFont.TorusAlternate.With(size: 40),
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Left = SettingsPanel.CONTENT_MARGINS,
|
||||
@ -48,7 +48,7 @@ namespace osu.Game.Overlays.Settings
|
||||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
Colour = colours.Pink,
|
||||
Colour = colourProvider.Content2,
|
||||
Text = subheading,
|
||||
Font = OsuFont.GetFont(size: 18),
|
||||
Margin = new MarginPadding
|
||||
|
Loading…
Reference in New Issue
Block a user