the-bastion/lib/shell/colors.inc

22 lines
635 B
PHP
Raw Normal View History

2020-10-16 00:32:37 +08:00
# vim: set filetype=sh ts=4 sw=4 sts=4 et:
# shellcheck shell=bash
# shellcheck disable=SC2034
RED=$(printf "%b" '\033[31m')
GREEN=$(printf "%b" '\033[32m')
YELLOW=$(printf "%b" '\033[33m')
BLUE=$(printf "%b" '\033[34m')
MAGENTA=$(printf "%b" '\033[35m')
CYAN=$(printf "%b" '\033[36m')
LIGHTGRAY=$(printf "%b" '\033[37m')
DARKGRAY=$(printf "%b" '\033[90m')
2020-10-16 00:32:37 +08:00
BOLD_CYAN=$(printf "%b" '\033[1;36m')
WHITE_ON_RED=$(printf "%b" '\033[41m')
WHITE_ON_BLUE=$(printf "%b" '\033[44m')
BLACK_ON_GREEN=$(printf "%b" '\033[30m\033[42m')
BLACK_ON_RED=$(printf "%b" '\033[1;30m\033[41m')
NOC=$(printf "%b" '\033[0m')