Update colors.inc

This commit is contained in:
2019-01-05 13:31:22 -06:00
parent ebb8f62835
commit 8dba176e70

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
###### OLD ############
declare -A CS
CS[color,Default]="\e[39m"
CS[color,Black]="\e[30m"
@@ -44,3 +46,52 @@ CS[style,UnderLine]="\e[4m"
CS[style,Blink]="\e[5m"
CS[style,Invert]="\e[7m"
CS[style,Hidden]="\e[8m"
#######################################
declare -A idsCL
idsCL[Default]="\e[39m"
idsCL[Black]="\e[30m"
idsCL[Red]="\e[31m"
idsCL[Green]="\e[32m"
idsCL[Yellow]="\e[33m"
idsCL[Blue]="\e[34m"
idsCL[Magenta]="\e[35m"
idsCL[Cyan]="\e[36m"
idsCL[LightGray]="\e[37m"
idsCL[DarkGray]="\e[90m"
idsCL[LightRed]="\e[91m"
idsCL[LightGreen]="\e[92m"
idsCL[LightYellow]="\e[93m"
idsCL[LightBlue]="\e[94m"
idsCL[LightMagenta]="\e[95m"
idsCL[LightCyan]="\e[96m"
idsCL[White]="\e[97m"
declare -A idsBG
idsBG[Default]="\e[49m"
idsBG[Black]="\e[40m"
idsBG[Red]="\e[41m"
idsBG[Green]="\e[42m"
idsBG[Yellow]="\e[43m"
idsBG[Blue]="\e[44m"
idsBG[Magenta]="\e[45m"
idsBG[Cyan]="\e[46m"
idsBG[LightGray]="\e[47m"
idsBG[DarkGray]="\e[100m"
idsBG[LightRed]="\e[101m"
idsBG[LightGreen]="\e[102m"
idsBG[LightYellow]="\e[103m"
idsBG[LightBlue]="\e[104m"
idsBG[LightMagenta]="\e[105m"
idsBG[LightCyan]="\e[106m"
idsBG[White]="\e[107m"
declare -A idsST
idsST[Reset]="\e[0m"
idsST[Bold]="\e[1m"
idsST[Dim]="\e[2m"
idsST[UnderLine]="\e[4m"
idsST[Blink]="\e[5m"
idsST[Invert]="\e[7m"
idsST[Hidden]="\e[8m"