mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 19:19:58 +08:00
Add new named colors to webconfig
The 'br' variants were added in 0a0acc8
, but not to named_colors in
webconfig.py.
Fix this oversight.
This commit is contained in:
parent
4c4020babe
commit
4f519297dd
|
@ -64,16 +64,24 @@ def escape_fish_cmd(text):
|
||||||
return "'" + escaped + "'"
|
return "'" + escaped + "'"
|
||||||
|
|
||||||
named_colors = {
|
named_colors = {
|
||||||
'black' : '000000',
|
'black' : '000000',
|
||||||
'red' : 'FF0000',
|
'red' : 'FF0000',
|
||||||
'green' : '00FF00',
|
'green' : '00FF00',
|
||||||
'brown' : '725000',
|
'brown' : '725000',
|
||||||
'yellow' : 'FFFF00',
|
'yellow' : 'FFFF00',
|
||||||
'blue' : '0000FF',
|
'blue' : '0000FF',
|
||||||
'magenta' : 'FF00FF',
|
'magenta' : 'FF00FF',
|
||||||
'purple' : 'FF00FF',
|
'purple' : 'FF00FF',
|
||||||
'cyan' : '00FFFF',
|
'cyan' : '00FFFF',
|
||||||
'white' : 'FFFFFF'
|
'grey' : 'E5E5E5',
|
||||||
|
'brgrey' : '555555',
|
||||||
|
'brbrown' : 'FFFF55',
|
||||||
|
'bryellow' : 'FFFF55',
|
||||||
|
'brblue' : '5555FF',
|
||||||
|
'brmagenta' : 'FF55FF',
|
||||||
|
'brpurple' : 'FF55FF',
|
||||||
|
'brcyan' : '55FFFF',
|
||||||
|
'white' : 'FFFFFF'
|
||||||
}
|
}
|
||||||
|
|
||||||
def parse_one_color(comp):
|
def parse_one_color(comp):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user