From 6a0bacc805e9587712919a2da81b758a18e8fb50 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sat, 16 Jun 2018 15:25:41 +1000 Subject: [PATCH] Tweaked status colours. - The normal and okay statuses were too similar. --- tests/golden-files/help | 2 +- vigil/termstr.py | 1 + vigil/tools.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/golden-files/help b/tests/golden-files/help index eb3df65..7fd3954 100644 --- a/tests/golden-files/help +++ b/tests/golden-files/help @@ -26,7 +26,7 @@ │ (Bf(B - Resize the focused pane to the full screen. (toggle) │ │ │ │Statuses: │ -│ (B (B Normal │ +│ (B (B Normal │ │ (B (B Ok │ │ (B (B Problem │ │ (B (B Not applicable │ diff --git a/vigil/termstr.py b/vigil/termstr.py index ab2bc4c..082a273 100644 --- a/vigil/termstr.py +++ b/vigil/termstr.py @@ -46,6 +46,7 @@ class Color: grey_50 = (50, 50, 50) grey_100 = (100, 100, 100) grey_150 = (150, 150, 150) + grey_200 = (200, 200, 200) light_blue = (173, 216, 230) purple = (200, 0, 200) brown = (150, 75, 0) diff --git a/vigil/tools.py b/vigil/tools.py index 6eadaab..ed9f061 100644 --- a/vigil/tools.py +++ b/vigil/tools.py @@ -55,7 +55,7 @@ class Status(enum.IntEnum): _STATUS_COLORS = {Status.ok: termstr.Color.green, Status.problem: termstr.Color.red, - Status.normal: termstr.Color.grey_150, + Status.normal: termstr.Color.grey_200, Status.not_applicable: termstr.Color.grey_100, Status.running: termstr.Color.blue, Status.paused: termstr.Color.yellow,