Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-07 19:46:55 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-07 19:46:55 +0300
commit05012f60fd5b7cfa902aa8964d0f9bcf98281ca1 (patch)
tree5f121d764a4815a1936aa9b9d12ab37ebf997778 /include/consts
parent007faf47c35ad4606af8d1340674c46b09079fd5 (diff)
Added new colors and regrouping
Diffstat (limited to 'include/consts')
-rw-r--r--include/consts11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/consts b/include/consts
index 0bbde60c..b29c4d67 100644
--- a/include/consts
+++ b/include/consts
@@ -349,7 +349,8 @@ unset LANG
#################################################################################
#
- # Normal color names
+ # Normal color names (BG will color background)
+ BG_BLUE="$(printf '\033[0;44m')"
CYAN="$(printf '\033[0;36m')"
BLUE="$(printf '\033[0;34m')"
BROWN="$(printf '\033[0;33m')"
@@ -363,15 +364,13 @@ unset LANG
YELLOW="$(printf '\033[1;33m')"
WHITE="$(printf '\033[1;37m')"
- # Markup
+ # Special markup
BOLD="${WHITE}"
-
- # With background
- BG_BLUE="$(printf '\033[0;44m')"
+ NORMAL="$(printf '\033[0m')"
# Semantic names
+ BG_WARNING="$(printf '\033[30;43m')" # Yellow background with grey text
HEADER="${WHITE}"
- NORMAL="$(printf '\033[0m')"
WARNING="${RED}"
SECTION="${YELLOW}"
NOTICE="${YELLOW}"