Browse Source

Add coloured messages

master
belliash 7 years ago
parent
commit
d34105360b
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      libraries/colors

+ 4
- 0
libraries/colors View File

@@ -28,6 +28,10 @@ BORDER_DD="${COLOR_BOLD}========================================================
28 28
 BORDER_SD="${COLOR_BOLD}--------------------------------------------------------------------------------${COLOR_NORMAL}"
29 29
 BORDER_STAR="${COLOR_BOLD}********************************************************************************${COLOR_NORMAL}"
30 30
 
31
+MESSAGE_ERROR="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_RED}>${COLOR_BOLD}> ERROR:${COLOR_NORMAL}${COLOR_WHITE}"
32
+MESSAGE_INFO="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_CYAN}>${COLOR_BOLD}>${COLOR_NORMAL}${COLOR_WHITE}"
33
+MESSAGE_WARN="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_YELLOW}>${COLOR_BOLD}> WARNING:${COLOR_NORMAL}${COLOR_WHITE}"
34
+
31 35
 STAR_BLUE="${COLOR_BOLD}${COLOR_BLUE}*${COLOR_NORMAL}${COLOR_WHITE}"
32 36
 STAR_CYAN="${COLOR_BOLD}${COLOR_CYAN}*${COLOR_NORMAL}${COLOR_WHITE}"
33 37
 STAR_GREEN="${COLOR_BOLD}${COLOR_GREEN}*${COLOR_NORMAL}${COLOR_WHITE}"

Loading…
Cancel
Save