1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gx: complete the string_colors map (#10634)

This commit is contained in:
مهدی 2021-07-03 11:39:11 +04:30 committed by GitHub
parent ec973f5c6e
commit 55aa810e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,9 +206,26 @@ pub fn (c Color) abgr8() int {
const (
string_colors = map{
'black': black
'blue': blue
'red': red
'blue': blue
'red': red
'green': green
'yellow': yellow
'orange': orange
'purple': purple
'black': black
'gray': gray
'indigo': indigo
'pink': pink
'violet': violet
'white': white
'dark_blue': dark_blue
'dark_gray': dark_gray
'dark_green': dark_green
'dark_red': dark_red
'light_blue': light_blue
'light_gray': light_gray
'light_green': light_green
'light_red': light_red
}
)