Refactor colors to palette based design

This commit is contained in:
Drew DeVault
2017-01-12 16:38:27 -05:00
parent c222be05c0
commit fa007e632d
26 changed files with 150 additions and 155 deletions

View File

@ -66,7 +66,7 @@ namespace osu.Game.Overlays.Toolbar
solidBackground = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = OsuColor.Gray(0.1f),
Colour = OsuColour.Gray(0.1f),
Alpha = alpha_normal,
},
gradientBackground = new Box
@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Toolbar
Alpha = 0,
Height = 90,
ColourInfo = ColourInfo.GradientVertical(
OsuColor.Gray(0.1f).Opacity(0.5f), OsuColor.Gray(0.1f).Opacity(0)),
OsuColour.Gray(0.1f).Opacity(0.5f), OsuColour.Gray(0.1f).Opacity(0)),
},
new FlowContainer
{

View File

@ -70,7 +70,7 @@ namespace osu.Game.Overlays.Toolbar
HoverBackground = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = OsuColor.Gray(80).Opacity(180),
Colour = OsuColour.Gray(80).Opacity(180),
BlendingMode = BlendingMode.Additive,
Alpha = 0,
},
@ -174,7 +174,7 @@ namespace osu.Game.Overlays.Toolbar
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = OsuColor.Gray(30)
Colour = OsuColour.Gray(30)
},
new Triangles
{

View File

@ -35,7 +35,7 @@ namespace osu.Game.Overlays.Toolbar
DrawableIcon.EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Glow,
Colour = OsuColor.ToolbarModeButtonIconActiveGlow,
Colour = new Color4(255, 194, 224, 100),
Radius = 15,
Roundness = 15,
};
@ -43,7 +43,7 @@ namespace osu.Game.Overlays.Toolbar
else
{
DrawableIcon.Masking = false;
DrawableIcon.Colour = OsuColor.ToolbarModeButtonIcon;
DrawableIcon.Colour = new Color4(255, 194, 224, 255);
}
}
}

View File

@ -53,7 +53,7 @@ namespace osu.Game.Overlays.Toolbar
EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Glow,
Colour = OsuColor.ToolbarModeButtonIconActiveGlow,
Colour = new Color4(255, 194, 224, 100),
Radius = 15,
Roundness = 15,
},

View File

@ -42,7 +42,7 @@ namespace osu.Game.Overlays.Toolbar
Add(StateBackground = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = OsuColor.Gray(150).Opacity(180),
Colour = OsuColour.Gray(150).Opacity(180),
BlendingMode = BlendingMode.Additive,
Depth = 2,
Alpha = 0,