mirror of https://github.com/ppy/osu
Fix dangerous buttons using different shades of pink
This commit is contained in:
parent
6358a5e210
commit
af89d69fc4
|
@ -82,7 +82,7 @@ private void load(OsuColour colours)
|
|||
new TourneyButton
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
BackgroundColour = colours.Pink3,
|
||||
BackgroundColour = colours.DangerousButtonColour,
|
||||
Text = "Clear all",
|
||||
Action = () =>
|
||||
{
|
||||
|
|
|
@ -397,5 +397,7 @@ public static Color4 ForegroundTextColourFor(Color4 backgroundColour)
|
|||
|
||||
public Color4 SpotlightColour => Green2;
|
||||
public Color4 FeaturedArtistColour => Blue2;
|
||||
|
||||
public Color4 DangerousButtonColour => Pink3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ public partial class DangerousRoundedButton : RoundedButton
|
|||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
BackgroundColour = colours.PinkDark;
|
||||
BackgroundColour = colours.DangerousButtonColour;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ private void load(OsuColour colours)
|
|||
{
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight,
|
||||
BackgroundColour = colours.Pink3,
|
||||
BackgroundColour = colours.DangerousButtonColour,
|
||||
Text = FirstRunSetupOverlayStrings.ClassicDefaults,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Action = applyClassic
|
||||
|
|
|
@ -14,7 +14,7 @@ public partial class DangerousSettingsButton : SettingsButton
|
|||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
BackgroundColour = colours.Pink3;
|
||||
BackgroundColour = colours.DangerousButtonColour;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ private void load()
|
|||
applyNewButton = new HoverableRoundedButton
|
||||
{
|
||||
Text = InputSettingsStrings.ApplyNewBinding,
|
||||
BackgroundColour = colours.Pink3,
|
||||
BackgroundColour = colours.DangerousButtonColour,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Width = 0.48f,
|
||||
Anchor = Anchor.CentreRight,
|
||||
|
|
Loading…
Reference in New Issue