Updated colors in gx.v
Removed duplicate color constants, renamed constants appropriately and added more colors.pull/556/head
parent
48d65d6881
commit
7f7cbdab75
40
gx/gx.v
40
gx/gx.v
|
@ -12,19 +12,33 @@ pub:
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
BLUE = Color { r: 60, g: 126, b: 197 }
|
// Primary colors
|
||||||
Blue = Color { r: 60, g: 126, b: 197 }
|
Blue = Color { r: 0, g: 0, b: 255 }
|
||||||
BlueLite = Color { r: 226, g: 233, b: 241 }
|
Red = Color { r: 255, g: 0, b: 0 }
|
||||||
BLACK = Color { r: 0, g: 0, b: 0 }
|
Yellow = Color { r: 255. g: 255, b: 0 }
|
||||||
WHITE = Color { r: 255, g: 255, b: 255 }
|
|
||||||
GRAY = Color { r: 223, g: 223, b: 223 }
|
// Secondary colors
|
||||||
GRAY_DARK = Color { r: 150, g: 150, b: 150 }
|
Green = Color { r: 0, g: 255, b: 0 }
|
||||||
GRAY_LITE = Color { r: 245, g: 245, b: 245 }
|
Orange = Color { r: 255, g: 165, b: 0 }
|
||||||
BLUE_LITE = Color { r: 226, g: 233, b: 241 }
|
Purple = Color { r: 128, g: 0, b: 128 }
|
||||||
ORANGE = Color { r: 255, g: 140, b: 0 }
|
|
||||||
GREEN = Color { r: 0, g: 140, b: 0 }
|
// Other
|
||||||
RED = Color { r: 140, g: 0, b: 0 }
|
Black = Color { r: 0, g: 0, b: 0 }
|
||||||
YELLOW = Color { r: 255, g: 255, b: 0 }
|
Gray = Color { r: 128, g: 128, b: 128 }
|
||||||
|
Indigo = Color { r: 75, g: 0, b: 130 }
|
||||||
|
Pink = Color { r: 255, g: 192, b: 203 }
|
||||||
|
Violet = Color { r: 238, g: 130, b: 238 }
|
||||||
|
White = Color { r: 255, g: 255, b: 255 }
|
||||||
|
|
||||||
|
// Shades
|
||||||
|
DarkBlue = Color { r: 0, g: 0, b: 139 }
|
||||||
|
DarkGray = Color { r: 169, g: 169, b: 169 }
|
||||||
|
DarkGreen = Color { r: 0, g: 100, b: 0 }
|
||||||
|
DarkRed = Color { r: 139, g: 0, b: 0 }
|
||||||
|
LightBlue = Color { r: 173, g: 216, b: 230 }
|
||||||
|
LightGray = Color { r: 211, g: 211, b: 211 }
|
||||||
|
LightGreen = Color { r: 144, g: 238, b: 144 }
|
||||||
|
LightRed = Color { r: 255, g: 204, b: 203 }
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue