Add header as color

This commit is contained in:
Michael Boelen 2016-07-24 13:05:36 +02:00
parent c1d351fe32
commit 65eaeb7ce9
2 changed files with 22 additions and 14 deletions

View File

@ -239,12 +239,6 @@ unset LANG
#
#################################################################################
#
NORMAL=""
WARNING="" # Bad (red)
SECTION="" # Section (yellow)
NOTICE="" # Notice (yellow)
OK="" # Ok (green)
BAD="" # Bad (red)
# Normal color names
CYAN=""
@ -260,10 +254,21 @@ unset LANG
YELLOW=""
WHITE=""
# Markup
BOLD="${WHITE}"
# With background
BG_BLUE=""
# Semantic names
HEADER="${WHITE}"
NORMAL=""
WARNING="" # Bad (red)
SECTION="" # Section (yellow)
NOTICE="" # Notice (yellow)
OK="" # Ok (green)
BAD="" # Bad (red)
#
#################################################################################
#

View File

@ -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=""
}
################################################################################