diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-24 14:05:36 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-24 14:05:36 +0300 |
commit | 65eaeb7ce935952fc23cfc48d11b74e96e6383e4 (patch) | |
tree | d3d4c62fc338299208bd7a209be6c084aeadecf1 /include | |
parent | c1d351fe32194d71853c6cb7692127a7a6571b87 (diff) |
Add header as color
Diffstat (limited to 'include')
-rw-r--r-- | include/consts | 17 | ||||
-rw-r--r-- | include/functions | 19 |
2 files changed, 22 insertions, 14 deletions
diff --git a/include/consts b/include/consts index d8486d26..d29018e5 100644 --- a/include/consts +++ b/include/consts @@ -239,12 +239,6 @@ unset LANG # ################################################################################# # - NORMAL="[0;39m" - WARNING="[1;31m" # Bad (red) - SECTION="[1;33m" # Section (yellow) - NOTICE="[1;33m" # Notice (yellow) - OK="[1;32m" # Ok (green) - BAD="[1;31m" # Bad (red) # Normal color names CYAN="[0;36m" @@ -260,10 +254,21 @@ unset LANG YELLOW="[1;33m" WHITE="[1;37m" + # Markup BOLD="${WHITE}" # With background BG_BLUE="[0;44m" + + # Semantic names + HEADER="${WHITE}" + NORMAL="[0;39m" + WARNING="[1;31m" # Bad (red) + SECTION="[1;33m" # Section (yellow) + NOTICE="[1;33m" # Notice (yellow) + OK="[1;32m" # Ok (green) + BAD="[1;31m" # Bad (red) + # ################################################################################# # diff --git a/include/functions b/include/functions index b47cad7b..5030eb08 100644 --- a/include/functions +++ b/include/functions @@ -1855,13 +1855,6 @@ RemoveColors() { COLORS=0 # disable most color selections - NORMAL="" - WARNING="" - SECTION="" - NOTICE="" - OK="" - BAD="" - BOLD="" # Normal color names CYAN="" @@ -1878,7 +1871,17 @@ WHITE="" # Colors with background - BG_BLUE= + BG_BLUE="" + + # Semantic names + BAD="" + BOLD="" + HEADER="" + NORMAL="" + NOTICE="" + OK="" + WARNING="" + SECTION="" } ################################################################################ |