Module: Colors

Included in:
XBar::Proxy, XBar::Shard
Defined in:
lib/xbar/colors.rb

Constant Summary collapse

BLACK_TEXT =

foreground color

"\033[30m"
RED_TEXT =
"\033[31m"
GREEN_TEXT =
"\033[32m"
BROWN_TEXT =
"\033[33m"
BLUE_TEXT =
"\033[34m"
MAGENTA_TEXT =
"\033[35m"
CYAN_TEXT =
"\033[36m"
GRAY_TEXT =
"\033[37m"
BLACK_BACK =

background color

"\033[40m"
RED_BACK =
"\033[41m"
GREEN_BACK =
"\033[42m"
BROWN_BACK =
"\033[43m"
BLUE_BACK =
"\033[44m"
MAGENTA_BACK =
"\033[45m"
CYAN_BACK =
"\033[46m"
WHITE_BACK =
"\033[47m"
RESET_COLORS =

ANSI control chars

"\033[0m"
BOLD_ON =
"\033[1m"
"\033[5m"
REVERSE_ON =
"\033[7m"
BOLD_OFF =
"\033[22m"
"\033[25m"
REVERSE_OFF =
"\033[27m"