From ea57d157c70886f0776acd7cdecdba52e3ce8599 Mon Sep 17 00:00:00 2001 From: gmeral Date: Fri, 20 Sep 2019 11:43:30 +0200 Subject: [PATCH] #111 more contrasted colors for alert and emergency (#112) * Set alert and emergency colors to more readable values * Add entry to CHANGELOG.md about #111 --- CHANGELOG.md | 1 + main.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87524c9..27a7c5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Released: TBA. - [x] Fix typo in FAQ (#92, @gmasse) - [x] Fix Travis CI failure on src/templater.sh (@gmasse) - [x] Add magic variable which contains full command invocation +- [x] More contrasted alert and emergency colors (#111 @gmeral) - [x] Add support for repeatable arguments (@genesiscloud) - [x] Fix remaining warnings with shellcheck v0.7.0 (#107, @genesiscloud) diff --git a/main.sh b/main.sh index dfe004c..fea687a 100755 --- a/main.sh +++ b/main.sh @@ -75,9 +75,9 @@ function __b3bp_log () { # shellcheck disable=SC2034 local color_critical="\\x1b[1;31m" # shellcheck disable=SC2034 - local color_alert="\\x1b[1;33;41m" + local color_alert="\\x1b[1;37;41m" # shellcheck disable=SC2034 - local color_emergency="\\x1b[1;4;5;33;41m" + local color_emergency="\\x1b[1;4;5;37;41m" local colorvar="color_${log_level}"