-
Notifications
You must be signed in to change notification settings - Fork 0
/
colors.sh
36 lines (33 loc) · 1.03 KB
/
colors.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# set common colors
# Foreground colors
var NASH_FG_BLACK = "\033[30m"
var NASH_FG_RED = "\033[31m"
var NASH_FG_GREEN = "\033[32m"
var NASH_FG_YELLOW = "\033[33m"
var NASH_FG_BLUE = "\033[34m"
var NASH_FG_MAGENTA = "\033[35m"
var NASH_FG_CYAN = "\033[36m"
var NASH_FG_LGRAY = "\033[37m"
var NASH_FG_DGRAY = "\033[90m"
var NASH_FG_LRED = "\033[91m"
var NASH_FG_LGREEN = "\033[92m"
var NASH_FG_LYELLOW = "\033[93m"
var NASH_FG_LBLUE = "\033[94m"
var NASH_FG_LMAGENTA = "\033[95m"
var NASH_FG_LCYAN = "\033[96m"
var NASH_FG_WHITE = "\033[97m"
var NASH_FG_RESET = "\033[0m"
# some alias
var NASH_BLACK = $NASH_FG_BLACK
var NASH_RED = $NASH_FG_RED
var NASH_GREEN = $NASH_FG_GREEN
var NASH_YELLOW = $NASH_FG_YELLOW
var NASH_BLUE = $NASH_FG_BLUE
var NASH_MAGENTA = $NASH_FG_MAGENTA
var NASH_RESET = $NASH_FG_RESET
# Background colors
var NASH_BG_BLACK = "\033[40m"
var NASH_BG_RED = "\033[41m"
var NASH_BG_GREEN = "\033[42m"
var NASH_BG_YELLOW = "\033[43m"
var NASH_BG_BLUE = "\033[44m"