mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 20:47:24 +09:00
Use Colour2
of orange theme for explicit pill
This commit is contained in:
parent
e275dd02e0
commit
43daa7c7c0
@ -7,8 +7,6 @@ using osu.Framework.Graphics.Containers;
|
|||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osuTK;
|
|
||||||
using osuTK.Graphics;
|
|
||||||
|
|
||||||
namespace osu.Game.Overlays.BeatmapSet
|
namespace osu.Game.Overlays.BeatmapSet
|
||||||
{
|
{
|
||||||
@ -38,9 +36,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Margin = new MarginPadding { Horizontal = 10f, Vertical = 2f },
|
Margin = new MarginPadding { Horizontal = 10f, Vertical = 2f },
|
||||||
Text = "EXPLICIT",
|
Text = "EXPLICIT",
|
||||||
Font = OsuFont.GetFont(size: 10, weight: FontWeight.Bold),
|
Font = OsuFont.GetFont(size: 10, weight: FontWeight.Bold),
|
||||||
// todo: this is --hsl-orange-2 from the new palette in https://github.com/ppy/osu-web/blob/8ceb46f/resources/assets/less/colors.less#L128-L151,
|
Colour = OverlayColourProvider.Orange.Colour2,
|
||||||
// should probably take the whole palette from there onto OsuColour for a nicer look in code.
|
|
||||||
Colour = Color4.FromHsl(new Vector4(45f / 360, 0.8f, 0.6f, 1f)),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user