diff --git a/lib/ColorUtils.sh b/lib/ColorUtils.sh index a4b617b..c601c14 100755 --- a/lib/ColorUtils.sh +++ b/lib/ColorUtils.sh @@ -4,14 +4,56 @@ if [ "$ColorUtilsVersion" ]; then return 0; fi readonly ColorUtilsVersion="1.0" ################################# < Shell Color Codes > ################################ -readonly CRed="\e[1;31m" -readonly CGrn="\e[1;32m" -readonly CYel="\e[1;33m" -readonly CBlu="\e[1;34m" -readonly CPrp="\e[5;35m" -readonly CCyn="\e[5;36m" -readonly CGry="\e[0;37m" -readonly CWht="\e[1;37m" readonly CClr="\e[0m" +# [S] - Strong text (bold) +readonly CSRed="\e[1;31m" +readonly CSGrn="\e[1;32m" +readonly CSYel="\e[1;33m" +readonly CSBlu="\e[1;34m" +readonly CSPrp="\e[1;35m" +readonly CSCyn="\e[1;36m" +readonly CSGry="\e[1;37m" +readonly CSWht="\e[1;37m" + +# [D] - Dark text +readonly CDRed="\e[2;31m" +readonly CDGrn="\e[2;32m" +readonly CDYel="\e[2;33m" +readonly CDBlu="\e[2;34m" +readonly CDPrp="\e[2;35m" +readonly CDCyn="\e[2;36m" +readonly CDGry="\e[2;37m" +readonly CDWht="\e[2;37m" + +# Regular text +readonly CRed="\e[3;31m" +readonly CGrn="\e[3;32m" +readonly CYel="\e[3;33m" +readonly CBlu="\e[3;34m" +readonly CPrp="\e[3;35m" +readonly CCyn="\e[3;36m" +readonly CGry="\e[3;37m" +readonly CWht="\e[3;37m" + +# [U] - Underlined text +readonly CURed="\e[4;31m" +readonly CUGrn="\e[4;32m" +readonly CUYel="\e[4;33m" +readonly CUBlu="\e[4;34m" +readonly CUPrp="\e[4;35m" +readonly CUCyn="\e[4;36m" +readonly CUGry="\e[4;37m" +readonly CUWht="\e[4;37m" + +# [B] - Blinking text +readonly CBRed="\e[5;31m" +readonly CBGrn="\e[5;32m" +readonly CBYel="\e[5;33m" +readonly CBBlu="\e[5;34m" +readonly CBPrp="\e[5;35m" +readonly CBCyn="\e[5;36m" +readonly CBGry="\e[5;37m" +readonly CBWht="\e[5;37m" + # FLUXSCRIPT END