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