Browse Source

Add coloured messages

master
belliash 8 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}========================================================
BORDER_SD="${COLOR_BOLD}--------------------------------------------------------------------------------${COLOR_NORMAL}"
BORDER_STAR="${COLOR_BOLD}********************************************************************************${COLOR_NORMAL}"

MESSAGE_ERROR="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_RED}>${COLOR_BOLD}> ERROR:${COLOR_NORMAL}${COLOR_WHITE}"
MESSAGE_INFO="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_CYAN}>${COLOR_BOLD}>${COLOR_NORMAL}${COLOR_WHITE}"
MESSAGE_WARN="${COLOR_BOLD}${COLOR_BLACK}>${COLOR_NORMAL}${COLOR_YELLOW}>${COLOR_BOLD}> WARNING:${COLOR_NORMAL}${COLOR_WHITE}"

STAR_BLUE="${COLOR_BOLD}${COLOR_BLUE}*${COLOR_NORMAL}${COLOR_WHITE}"
STAR_CYAN="${COLOR_BOLD}${COLOR_CYAN}*${COLOR_NORMAL}${COLOR_WHITE}"
STAR_GREEN="${COLOR_BOLD}${COLOR_GREEN}*${COLOR_NORMAL}${COLOR_WHITE}"

Loading…
Cancel
Save