1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 16:20:06 +00:00

Add missing colors to fix color comparison

Added magenta and cyan that were only present with their alternative
names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
This commit is contained in:
Dominik Ritter 2018-07-24 00:51:37 +02:00
parent 22a761208d
commit 345cf87b8f

View file

@ -97,7 +97,9 @@ function getColorCode() {
codes[yellow]=011 codes[yellow]=011
codes[blue]=012 codes[blue]=012
codes[fuchsia]=013 codes[fuchsia]=013
codes[magenta]=013
codes[aqua]=014 codes[aqua]=014
codes[cyan]=014
codes[white]=015 codes[white]=015
codes[grey0]=016 codes[grey0]=016
codes[navyblue]=017 codes[navyblue]=017