mirror of https://github.com/ppy/osu
Restyle settings panel header
This commit is contained in:
parent
315581f4c8
commit
4c293b637f
|
@ -22,7 +22,7 @@ public SettingsHeader(LocalisableString heading, LocalisableString subheading)
|
|||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
private void load(OverlayColourProvider colourProvider)
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
@ -39,7 +39,7 @@ private void load(OsuColour colours)
|
|||
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 @@ private void load(OsuColour colours)
|
|||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
Colour = colours.Pink,
|
||||
Colour = colourProvider.Content2,
|
||||
Text = subheading,
|
||||
Font = OsuFont.GetFont(size: 18),
|
||||
Margin = new MarginPadding
|
||||
|
|
Loading…
Reference in New Issue