mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Replace non-color names with a bit more descriptive names
This commit is contained in:
parent
01b34a7893
commit
d0fafe7679
@ -3,44 +3,34 @@
|
|||||||
"black": 16,
|
"black": 16,
|
||||||
"white": 231,
|
"white": 231,
|
||||||
|
|
||||||
"green": [2, "719e07"],
|
|
||||||
"darkestgreen": 22,
|
"darkestgreen": 22,
|
||||||
"darkgreen": 28,
|
"darkgreen": 28,
|
||||||
"mediumgreen": 70,
|
"mediumgreen": 70,
|
||||||
"brightgreen": 148,
|
"brightgreen": 148,
|
||||||
|
|
||||||
"cyan": [6, "2aa198"],
|
|
||||||
"darkestcyan": 23,
|
"darkestcyan": 23,
|
||||||
"darkcyan": 74,
|
"darkcyan": 74,
|
||||||
"mediumcyan": 117,
|
"mediumcyan": 117,
|
||||||
"brightcyan": 159,
|
"brightcyan": 159,
|
||||||
|
|
||||||
"blue": [4, "268bd2"],
|
|
||||||
"darkestblue": 24,
|
"darkestblue": 24,
|
||||||
"darkblue": 31,
|
"darkblue": 31,
|
||||||
|
|
||||||
"red": [1, "dc322f"],
|
|
||||||
"darkestred": 52,
|
"darkestred": 52,
|
||||||
"darkred": 88,
|
"darkred": 88,
|
||||||
"mediumred": 124,
|
"mediumred": 124,
|
||||||
"brightred": 160,
|
"brightred": 160,
|
||||||
"brightestred": 196,
|
"brightestred": 196,
|
||||||
|
|
||||||
"magenta": [5, "d33682"],
|
|
||||||
|
|
||||||
"darkestpurple": 55,
|
"darkestpurple": 55,
|
||||||
"mediumpurple": 98,
|
"mediumpurple": 98,
|
||||||
"brightpurple": 189,
|
"brightpurple": 189,
|
||||||
|
|
||||||
"violet": [13, "6c71c4"],
|
|
||||||
|
|
||||||
"orange": [9, "cb4b16"],
|
|
||||||
"darkorange": 94,
|
"darkorange": 94,
|
||||||
"mediumorange": 166,
|
"mediumorange": 166,
|
||||||
"brightorange": 208,
|
"brightorange": 208,
|
||||||
"brightestorange": 214,
|
"brightestorange": 214,
|
||||||
|
|
||||||
"yellow": [3, "b58900"],
|
|
||||||
"brightyellow": 220,
|
"brightyellow": 220,
|
||||||
|
|
||||||
"gray0": 233,
|
"gray0": 233,
|
||||||
@ -55,23 +45,33 @@
|
|||||||
"gray9": 250,
|
"gray9": 250,
|
||||||
"gray10": 252,
|
"gray10": 252,
|
||||||
|
|
||||||
"base03": [8, "002b36"],
|
"gray61": [14, "93a1a1"],
|
||||||
"base02": [0, "073642"],
|
"gray13": [8, "002b36"],
|
||||||
"base01": [10, "586e75"],
|
|
||||||
"base00": [11, "657b83"],
|
|
||||||
"base0": [12, "839496"],
|
|
||||||
"base1": [14, "93a1a1"],
|
|
||||||
"base2": [7, "eee8d5"],
|
|
||||||
"base3": [15, "fdf6e3"],
|
|
||||||
|
|
||||||
"system_load_good": 106,
|
"royalblue5": [0, "073642"],
|
||||||
"system_load_bad": 178,
|
"darkgreencopper": [10, "586e75"],
|
||||||
"system_load_ugly": 202,
|
"lightskyblue4": [11, "657b83"],
|
||||||
|
"azure4": [12, "839496"],
|
||||||
|
"lightyellow": [7, "eee8d5"],
|
||||||
|
"oldlace": [15, "fdf6e3"],
|
||||||
|
|
||||||
"weather_temp_cold": 67,
|
"green": [2, "719e07"],
|
||||||
"weather_temp_hot": 166,
|
"cyan": [6, "2aa198"],
|
||||||
"weather_condition_cold": 117,
|
"blue": [4, "268bd2"],
|
||||||
"weather_condition_hot": 228
|
"red": [1, "dc322f"],
|
||||||
|
"magenta": [5, "d33682"],
|
||||||
|
"violet": [13, "6c71c4"],
|
||||||
|
"orange": [9, "cb4b16"],
|
||||||
|
"yellow": [3, "b58900"],
|
||||||
|
|
||||||
|
"lightyellowgreen": 106,
|
||||||
|
"gold3": 178,
|
||||||
|
"orangered": 202,
|
||||||
|
|
||||||
|
"steelblue": 67,
|
||||||
|
"darkorange3": 166,
|
||||||
|
"skyblue1": 117,
|
||||||
|
"khaki1": 228
|
||||||
},
|
},
|
||||||
"gradients": {
|
"gradients": {
|
||||||
"green_yellow_red": [
|
"green_yellow_red": [
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "Solarized Dark",
|
"name": "Solarized Dark",
|
||||||
"groups": {
|
"groups": {
|
||||||
"user": { "fg": "base3", "bg": "blue", "attr": ["bold"] },
|
"user": { "fg": "oldlace", "bg": "blue", "attr": ["bold"] },
|
||||||
"superuser": { "fg": "base3", "bg": "red", "attr": ["bold"] },
|
"superuser": { "fg": "oldlace", "bg": "red", "attr": ["bold"] },
|
||||||
"virtualenv": { "fg": "base3", "bg": "green" },
|
"virtualenv": { "fg": "oldlace", "bg": "green" },
|
||||||
"branch": { "fg": "base1", "bg": "base02" },
|
"branch": { "fg": "gray61", "bg": "royalblue5" },
|
||||||
"cwd": { "fg": "base2", "bg": "base01" },
|
"cwd": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"cwd:current_folder": { "fg": "base3", "bg": "base01", "attr": ["bold"] },
|
"cwd:current_folder": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
|
||||||
"cwd:divider": { "fg": "base1", "bg": "base01" },
|
"cwd:divider": { "fg": "gray61", "bg": "darkgreencopper" },
|
||||||
"hostname": { "fg": "base3", "bg": "base01" },
|
"hostname": { "fg": "oldlace", "bg": "darkgreencopper" },
|
||||||
"exit_fail": { "fg": "base3", "bg": "red" },
|
"exit_fail": { "fg": "oldlace", "bg": "red" },
|
||||||
"exit_success": { "fg": "base3", "bg": "green" }
|
"exit_success": { "fg": "oldlace", "bg": "green" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,17 +9,17 @@
|
|||||||
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
|
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
|
||||||
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
|
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
|
||||||
"weather": { "fg": "gray8", "bg": "gray0" },
|
"weather": { "fg": "gray8", "bg": "gray0" },
|
||||||
"weather_temp_cold": { "fg": "weather_temp_cold", "bg": "gray0" },
|
"weather_temp_cold": { "fg": "steelblue", "bg": "gray0" },
|
||||||
"weather_temp_hot": { "fg": "weather_temp_hot", "bg": "gray0" },
|
"weather_temp_hot": { "fg": "darkorange3", "bg": "gray0" },
|
||||||
"weather_condition_hot": { "fg": "weather_condition_hot", "bg": "gray0" },
|
"weather_condition_hot": { "fg": "khaki1", "bg": "gray0" },
|
||||||
"weather_condition_snowy": { "fg": "weather_condition_cold", "bg": "gray0" },
|
"weather_condition_snowy": { "fg": "skyblue1", "bg": "gray0" },
|
||||||
"weather_condition_rainy": { "fg": "weather_condition_cold", "bg": "gray0" },
|
"weather_condition_rainy": { "fg": "skyblue1", "bg": "gray0" },
|
||||||
"uptime": { "fg": "gray8", "bg": "gray0" },
|
"uptime": { "fg": "gray8", "bg": "gray0" },
|
||||||
"external_ip": { "fg": "gray8", "bg": "gray0" },
|
"external_ip": { "fg": "gray8", "bg": "gray0" },
|
||||||
"network_load": { "fg": "gray8", "bg": "gray0" },
|
"network_load": { "fg": "gray8", "bg": "gray0" },
|
||||||
"system_load": { "fg": "gray8", "bg": "gray0" },
|
"system_load": { "fg": "gray8", "bg": "gray0" },
|
||||||
"system_load_good": { "fg": "system_load_good", "bg": "gray0" },
|
"system_load_good": { "fg": "lightyellowgreen", "bg": "gray0" },
|
||||||
"system_load_bad": { "fg": "system_load_bad", "bg": "gray0" },
|
"system_load_bad": { "fg": "gold3", "bg": "gray0" },
|
||||||
"system_load_ugly": { "fg": "system_load_ugly", "bg": "gray0" }
|
"system_load_ugly": { "fg": "orangered", "bg": "gray0" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,82 +1,81 @@
|
|||||||
{
|
{
|
||||||
"name": "Solarized Dark",
|
"name": "Solarized Dark",
|
||||||
"groups": {
|
"groups": {
|
||||||
"background": { "fg": "base3", "bg": "base02" },
|
"background": { "fg": "oldlace", "bg": "royalblue5" },
|
||||||
"background:divider": { "fg": "base00", "bg": "base02" },
|
"background:divider": { "fg": "lightskyblue4", "bg": "royalblue5" },
|
||||||
"mode": { "fg": "base3", "bg": "green", "attr": ["bold"] },
|
"mode": { "fg": "oldlace", "bg": "green", "attr": ["bold"] },
|
||||||
"modified_indicator": { "fg": "yellow", "bg": "base01", "attr": ["bold"] },
|
"modified_indicator": { "fg": "yellow", "bg": "darkgreencopper", "attr": ["bold"] },
|
||||||
"paste_indicator": { "fg": "base3", "bg": "orange", "attr": ["bold"] },
|
"paste_indicator": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] },
|
||||||
"readonly_indicator": { "fg": "red", "bg": "base01" },
|
"readonly_indicator": { "fg": "red", "bg": "darkgreencopper" },
|
||||||
"branch": { "fg": "base2", "bg": "base01" },
|
"branch": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"branch:divider": { "fg": "base1", "bg": "base01" },
|
"branch:divider": { "fg": "gray61", "bg": "darkgreencopper" },
|
||||||
"file_directory": { "fg": "base2", "bg": "base01" },
|
"file_directory": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"file_name": { "fg": "base3", "bg": "base01", "attr": ["bold"] },
|
"file_name": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
|
||||||
"file_size": { "fg": "base3", "bg": "base01" },
|
"file_size": { "fg": "oldlace", "bg": "darkgreencopper" },
|
||||||
"file_name_no_file": { "fg": "base3", "bg": "base01", "attr": ["bold"] },
|
"file_name_no_file": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
|
||||||
"file_name_empty": { "fg": "base3", "bg": "base01" },
|
"file_name_empty": { "fg": "oldlace", "bg": "darkgreencopper" },
|
||||||
"file_format": { "fg": "base1", "bg": "base02" },
|
"file_format": { "fg": "gray61", "bg": "royalblue5" },
|
||||||
"file_encoding": { "fg": "base1", "bg": "base02" },
|
"file_encoding": { "fg": "gray61", "bg": "royalblue5" },
|
||||||
"file_type": { "fg": "base1", "bg": "base02" },
|
"file_type": { "fg": "gray61", "bg": "royalblue5" },
|
||||||
"file_vcs_status": { "fg": "red", "bg": "base01" },
|
"file_vcs_status": { "fg": "red", "bg": "darkgreencopper" },
|
||||||
"file_vcs_status_M": { "fg": "yellow", "bg": "base01" },
|
"file_vcs_status_M": { "fg": "yellow", "bg": "darkgreencopper" },
|
||||||
"file_vcs_status_A": { "fg": "green", "bg": "base01" },
|
"file_vcs_status_A": { "fg": "green", "bg": "darkgreencopper" },
|
||||||
"line_percent": { "fg": "base3", "bg": "base00" },
|
"line_percent": { "fg": "oldlace", "bg": "lightskyblue4" },
|
||||||
"line_current": { "fg": "base03", "bg": "base2", "attr": ["bold"] },
|
"line_current": { "fg": "gray13", "bg": "lightyellow", "attr": ["bold"] },
|
||||||
"line_current_symbol": { "fg": "base03", "bg": "base2" },
|
"line_current_symbol": { "fg": "gray13", "bg": "lightyellow" },
|
||||||
"col_current": { "fg": "base0", "bg": "base2" }
|
"col_current": { "fg": "azure4", "bg": "lightyellow" }
|
||||||
},
|
},
|
||||||
"mode_translations": {
|
"mode_translations": {
|
||||||
"nc": {
|
"nc": {
|
||||||
"colors": {
|
"colors": {
|
||||||
"base02": "base02",
|
"darkgreencopper": "royalblue5",
|
||||||
"base01": "base02",
|
"lightskyblue4": "royalblue5",
|
||||||
"base00": "base02",
|
"azure4": "darkgreencopper",
|
||||||
"base0": "base01",
|
"gray61": "lightskyblue4",
|
||||||
"base1": "base00",
|
"lightyellow": "azure4",
|
||||||
"base2": "base0",
|
"oldlace": "gray61"
|
||||||
"base3": "base1"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"i": {
|
"i": {
|
||||||
"groups": {
|
"groups": {
|
||||||
"background": { "fg": "base3", "bg": "base01" },
|
"background": { "fg": "oldlace", "bg": "darkgreencopper" },
|
||||||
"background:divider": { "fg": "base2", "bg": "base01" },
|
"background:divider": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"mode": { "fg": "base3", "bg": "blue", "attr": ["bold"] },
|
"mode": { "fg": "oldlace", "bg": "blue", "attr": ["bold"] },
|
||||||
"modified_indicator": { "fg": "yellow", "bg": "base2", "attr": ["bold"] },
|
"modified_indicator": { "fg": "yellow", "bg": "lightyellow", "attr": ["bold"] },
|
||||||
"paste_indicator": { "fg": "base3", "bg": "orange", "attr": ["bold"] },
|
"paste_indicator": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] },
|
||||||
"readonly_indicator": { "fg": "red", "bg": "base2" },
|
"readonly_indicator": { "fg": "red", "bg": "lightyellow" },
|
||||||
"branch": { "fg": "base01", "bg": "base2" },
|
"branch": { "fg": "darkgreencopper", "bg": "lightyellow" },
|
||||||
"branch:divider": { "fg": "base00", "bg": "base2" },
|
"branch:divider": { "fg": "lightskyblue4", "bg": "lightyellow" },
|
||||||
"file_directory": { "fg": "base01", "bg": "base2" },
|
"file_directory": { "fg": "darkgreencopper", "bg": "lightyellow" },
|
||||||
"file_name": { "fg": "base02", "bg": "base2", "attr": ["bold"] },
|
"file_name": { "fg": "royalblue5", "bg": "lightyellow", "attr": ["bold"] },
|
||||||
"file_size": { "fg": "base02", "bg": "base2" },
|
"file_size": { "fg": "royalblue5", "bg": "lightyellow" },
|
||||||
"file_name_no_file": { "fg": "base02", "bg": "base2", "attr": ["bold"] },
|
"file_name_no_file": { "fg": "royalblue5", "bg": "lightyellow", "attr": ["bold"] },
|
||||||
"file_name_empty": { "fg": "base02", "bg": "base2" },
|
"file_name_empty": { "fg": "royalblue5", "bg": "lightyellow" },
|
||||||
"file_format": { "fg": "base2", "bg": "base01" },
|
"file_format": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"file_encoding": { "fg": "base2", "bg": "base01" },
|
"file_encoding": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"file_type": { "fg": "base2", "bg": "base01" },
|
"file_type": { "fg": "lightyellow", "bg": "darkgreencopper" },
|
||||||
"file_vcs_status": { "fg": "red", "bg": "base2" },
|
"file_vcs_status": { "fg": "red", "bg": "lightyellow" },
|
||||||
"file_vcs_status_M": { "fg": "yellow", "bg": "base2" },
|
"file_vcs_status_M": { "fg": "yellow", "bg": "lightyellow" },
|
||||||
"file_vcs_status_A": { "fg": "green", "bg": "base2" },
|
"file_vcs_status_A": { "fg": "green", "bg": "lightyellow" },
|
||||||
"line_percent": { "fg": "base3", "bg": "base1" },
|
"line_percent": { "fg": "oldlace", "bg": "gray61" },
|
||||||
"line_current": { "fg": "base03", "bg": "base3", "attr": ["bold"] },
|
"line_current": { "fg": "gray13", "bg": "oldlace", "attr": ["bold"] },
|
||||||
"line_current_symbol": { "fg": "base03", "bg": "base3" },
|
"line_current_symbol": { "fg": "gray13", "bg": "oldlace" },
|
||||||
"col_current": { "fg": "base0", "bg": "base3" }
|
"col_current": { "fg": "azure4", "bg": "oldlace" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"v": {
|
"v": {
|
||||||
"groups": {
|
"groups": {
|
||||||
"mode": { "fg": "base3", "bg": "orange", "attr": ["bold"] }
|
"mode": { "fg": "beige", "bg": "orange", "attr": ["bold"] }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"V": {
|
"V": {
|
||||||
"groups": {
|
"groups": {
|
||||||
"mode": { "fg": "base3", "bg": "orange", "attr": ["bold"] }
|
"mode": { "fg": "beige", "bg": "orange", "attr": ["bold"] }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"R": {
|
"R": {
|
||||||
"groups": {
|
"groups": {
|
||||||
"mode": { "fg": "base3", "bg": "red", "attr": ["bold"] }
|
"mode": { "fg": "beige", "bg": "red", "attr": ["bold"] }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,17 +9,17 @@
|
|||||||
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
|
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
|
||||||
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
|
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
|
||||||
"weather": { "fg": "gray8", "bg": "gray0" },
|
"weather": { "fg": "gray8", "bg": "gray0" },
|
||||||
"weather_temp_cold": { "fg": "weather_temp_cold", "bg": "gray0" },
|
"weather_temp_cold": { "fg": "steelblue", "bg": "gray0" },
|
||||||
"weather_temp_hot": { "fg": "weather_temp_hot", "bg": "gray0" },
|
"weather_temp_hot": { "fg": "darkorange3", "bg": "gray0" },
|
||||||
"weather_condition_hot": { "fg": "weather_condition_hot", "bg": "gray0" },
|
"weather_condition_hot": { "fg": "khaki1", "bg": "gray0" },
|
||||||
"weather_condition_snowy": { "fg": "weather_condition_cold", "bg": "gray0" },
|
"weather_condition_snowy": { "fg": "skyblue1", "bg": "gray0" },
|
||||||
"weather_condition_rainy": { "fg": "weather_condition_cold", "bg": "gray0" },
|
"weather_condition_rainy": { "fg": "skyblue1", "bg": "gray0" },
|
||||||
"uptime": { "fg": "gray8", "bg": "gray0" },
|
"uptime": { "fg": "gray8", "bg": "gray0" },
|
||||||
"external_ip": { "fg": "gray8", "bg": "gray0" },
|
"external_ip": { "fg": "gray8", "bg": "gray0" },
|
||||||
"network_load": { "fg": "gray8", "bg": "gray0" },
|
"network_load": { "fg": "gray8", "bg": "gray0" },
|
||||||
"system_load": { "fg": "gray8", "bg": "gray0" },
|
"system_load": { "fg": "gray8", "bg": "gray0" },
|
||||||
"system_load_good": { "fg": "system_load_good", "bg": "gray0" },
|
"system_load_good": { "fg": "lightyellowgreen", "bg": "gray0" },
|
||||||
"system_load_bad": { "fg": "system_load_bad", "bg": "gray0" },
|
"system_load_bad": { "fg": "gold3", "bg": "gray0" },
|
||||||
"system_load_ugly": { "fg": "system_load_ugly", "bg": "gray0" }
|
"system_load_ugly": { "fg": "orangered", "bg": "gray0" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from collections import defaultdict
|
|
||||||
from copy import copy
|
from copy import copy
|
||||||
|
|
||||||
from .segment import gen_segment_getter
|
from .segment import gen_segment_getter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user