gx: complete the string_colors map (#10634)

pull/10650/head
مهدی 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
1 changed files with 20 additions and 3 deletions

View File

@ -206,9 +206,26 @@ pub fn (c Color) abgr8() int {
const ( const (
string_colors = map{ string_colors = map{
'black': black 'blue': blue
'blue': blue 'red': red
'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
} }
) )