Trying more subdued colours for the statuses.
- This will also let the cursor line stand out more.
This commit is contained in:
parent
8289e22919
commit
293f013236
6 changed files with 19 additions and 14 deletions
|
|
@ -26,10 +26,10 @@
|
|||
│ (B[m[38;2;0;255;0m[48;2;0;0;0mf(B[m[38;2;255;255;255m[48;2;0;0;0m - Resize the focused pane to the full screen. (toggle) │
|
||||
│ │
|
||||
│Statuses: │
|
||||
│ (B[m[38;2;255;255;255m[48;2;255;255;255m (B[m[38;2;255;255;255m[48;2;0;0;0m Normal │
|
||||
│ (B[m[38;2;255;255;255m[48;2;0;255;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Ok │
|
||||
│ (B[m[38;2;255;255;255m[48;2;255;0;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Problem │
|
||||
│ (B[m[38;2;255;255;255m[48;2;100;100;100m (B[m[38;2;255;255;255m[48;2;0;0;0m Not applicable │
|
||||
│ (B[m[38;2;255;255;255m[48;2;150;150;150m (B[m[38;2;255;255;255m[48;2;0;0;0m Normal │
|
||||
│ (B[m[38;2;255;255;255m[48;2;0;128;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Ok │
|
||||
│ (B[m[38;2;255;255;255m[48;2;139;0;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Problem │
|
||||
│ (B[m[38;2;255;255;255m[48;2;150;75;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Not applicable │
|
||||
│ (B[m[38;2;255;255;255m[48;2;90;90;255m (B[m[38;2;255;255;255m[48;2;0;0;0m Running │
|
||||
│ (B[m[38;2;255;255;255m[48;2;255;255;0m (B[m[38;2;255;255;255m[48;2;0;0;0m Paused │
|
||||
│ (B[m[38;2;255;255;255m[48;2;200;0;200m (B[m[38;2;255;255;255m[48;2;0;0;0m Timed out │
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
(B[m[38;2;0;255;0m[48;2;0;0;0m> def hi():(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
(B[m[38;2;0;255;0m[48;2;0;0;0m> print("hi")(B[m
|
||||
(B[m[38;2;0;128;0m[48;2;0;0;0m> def hi():(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
(B[m[38;2;0;128;0m[48;2;0;0;0m> print("hi")(B[m
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
(B[m[38;2;0;255;0m[48;2;0;0;0m> def hi():(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
(B[m[38;2;0;255;0m[48;2;0;0;0m> print "hi"(B[m
|
||||
(B[m[38;2;0;128;0m[48;2;0;0;0m> def hi():(B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
(B[m[38;2;0;128;0m[48;2;0;0;0m> print "hi"(B[m
|
||||
|
|
@ -161,7 +161,7 @@ def change_background(str_, new_background):
|
|||
|
||||
|
||||
def in_green(str_):
|
||||
return termstr.TermStr(str_, termstr.CharStyle(termstr.Color.green))
|
||||
return termstr.TermStr(str_, termstr.CharStyle(termstr.Color.lime))
|
||||
|
||||
|
||||
_UP, _DOWN, _LEFT, _RIGHT = (0, -1), (0, 1), (-1, 0), (1, 0)
|
||||
|
|
@ -446,7 +446,7 @@ class Summary:
|
|||
class Log:
|
||||
|
||||
_GREY_BOLD_STYLE = termstr.CharStyle(termstr.Color.grey_100, is_bold=True)
|
||||
_GREEN_STYLE = termstr.CharStyle(termstr.Color.green)
|
||||
_GREEN_STYLE = termstr.CharStyle(termstr.Color.lime)
|
||||
LOG_PATH = os.path.join(tools.CACHE_PATH, "log")
|
||||
|
||||
def __init__(self, appearance_changed_event):
|
||||
|
|
|
|||
|
|
@ -38,13 +38,18 @@ class Color:
|
|||
black = (0, 0, 0)
|
||||
white = (255, 255, 255)
|
||||
red = (255, 0, 0)
|
||||
green = (0, 255, 0)
|
||||
green = (0, 128, 0)
|
||||
blue = (0, 0, 255)
|
||||
dark_red = (139, 0, 0)
|
||||
lime = (0, 255, 0)
|
||||
yellow = (255, 255, 0)
|
||||
grey_50 = (50, 50, 50)
|
||||
grey_100 = (100, 100, 100)
|
||||
grey_150 = (150, 150, 150)
|
||||
light_blue = (90, 90, 255)
|
||||
purple = (200, 0, 200)
|
||||
brown = (150, 75, 0)
|
||||
orange = (255, 153, 0)
|
||||
|
||||
|
||||
class CharStyle:
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@ class Status(enum.IntEnum):
|
|||
|
||||
|
||||
_STATUS_COLORS = {Status.ok: termstr.Color.green,
|
||||
Status.problem: termstr.Color.red,
|
||||
Status.normal: termstr.Color.white,
|
||||
Status.not_applicable: termstr.Color.grey_100,
|
||||
Status.problem: termstr.Color.dark_red,
|
||||
Status.normal: termstr.Color.grey_150,
|
||||
Status.not_applicable: termstr.Color.brown,
|
||||
Status.running: termstr.Color.light_blue,
|
||||
Status.paused: termstr.Color.yellow,
|
||||
Status.timed_out: termstr.Color.purple}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue