Add central color class

I didn't move _every_ color here, but most of them. The ones I left
behind are mostly just shades of gray.

Closes #126
This commit is contained in:
Drew DeVault
2017-01-09 17:18:47 -05:00
parent 4899d88d19
commit 70ecf48ca7
21 changed files with 312 additions and 246 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Game.Graphics.UserInterface
leftBox = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = new Color4(195, 40, 140, 255),
Colour = OsuColor.BackButtonLeft,
Shear = new Vector2(shear, 0),
},
icon = new TextAwesome
@ -67,7 +67,7 @@ namespace osu.Game.Graphics.UserInterface
{
rightBox = new Box
{
Colour = new Color4(238, 51, 153, 255),
Colour = OsuColor.BackButtonRight,
Origin = Anchor.TopLeft,
Anchor = Anchor.TopLeft,
RelativeSizeAxes = Axes.Both,