1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix dangerous buttons using different shades of pink

This commit is contained in:
Bartłomiej Dach 2023-10-13 13:16:24 +02:00
parent 6358a5e210
commit af89d69fc4
No known key found for this signature in database
6 changed files with 7 additions and 5 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Game.Tournament.Screens.Editors
new TourneyButton new TourneyButton
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
BackgroundColour = colours.Pink3, BackgroundColour = colours.DangerousButtonColour,
Text = "Clear all", Text = "Clear all",
Action = () => Action = () =>
{ {

View File

@ -397,5 +397,7 @@ namespace osu.Game.Graphics
public Color4 SpotlightColour => Green2; public Color4 SpotlightColour => Green2;
public Color4 FeaturedArtistColour => Blue2; public Color4 FeaturedArtistColour => Blue2;
public Color4 DangerousButtonColour => Pink3;
} }
} }

View File

@ -11,7 +11,7 @@ namespace osu.Game.Graphics.UserInterface
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
BackgroundColour = colours.PinkDark; BackgroundColour = colours.DangerousButtonColour;
} }
} }
} }

View File

@ -65,7 +65,7 @@ namespace osu.Game.Overlays.FirstRunSetup
{ {
Anchor = Anchor.TopRight, Anchor = Anchor.TopRight,
Origin = Anchor.TopRight, Origin = Anchor.TopRight,
BackgroundColour = colours.Pink3, BackgroundColour = colours.DangerousButtonColour,
Text = FirstRunSetupOverlayStrings.ClassicDefaults, Text = FirstRunSetupOverlayStrings.ClassicDefaults,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Action = applyClassic Action = applyClassic

View File

@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Settings
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
BackgroundColour = colours.Pink3; BackgroundColour = colours.DangerousButtonColour;
} }
} }
} }

View File

@ -90,7 +90,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
applyNewButton = new HoverableRoundedButton applyNewButton = new HoverableRoundedButton
{ {
Text = InputSettingsStrings.ApplyNewBinding, Text = InputSettingsStrings.ApplyNewBinding,
BackgroundColour = colours.Pink3, BackgroundColour = colours.DangerousButtonColour,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Width = 0.48f, Width = 0.48f,
Anchor = Anchor.CentreRight, Anchor = Anchor.CentreRight,