Skip to content

Commit

Permalink
gx: complete the string_colors map (#10634)
Browse files Browse the repository at this point in the history
  • Loading branch information
metif12 committed Jul 3, 2021
1 parent ec973f5 commit 55aa810
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions vlib/gx/color.v
Expand Up @@ -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
}
)

Expand Down

0 comments on commit 55aa810

Please sign in to comment.