Restyle settings panel header

This commit is contained in:
Bartłomiej Dach 2021-10-09 19:20:44 +02:00
parent 315581f4c8
commit 4c293b637f
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
1 changed files with 3 additions and 3 deletions

View File

@ -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