Release new version 0.19.7
[grml-etc-core.git] / etc / grml_colors
1 # Filename:      grml_colors 
2 # Purpose:       color definition file
3 # Authors:       (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2.
6 ################################################################################
7
8 # don't use highlighed colors under systemd to match its style
9 if [ "$(cat /proc/1/comm 2>/dev/null)" = "systemd" ] ; then
10   HIGHLIGHT=0
11 else
12   HIGHLIGHT=1
13 fi
14
15 # ANSI COLORS
16 CRE="\r\e[K"
17 NORMAL="\e[0;39m"
18 # RED: Failure or error message
19 RED="\e[${HIGHLIGHT};31m"
20 # GREEN: Success message
21 GREEN="\e[${HIGHLIGHT};32m"
22 # YELLOW: Descriptions
23 YELLOW="\e[${HIGHLIGHT};33m"
24 # BLUE: System messages
25 BLUE="\e[${HIGHLIGHT};34m"
26 # MAGENTA: Found devices or drivers
27 MAGENTA="\e[${HIGHLIGHT};35m"
28 # CYAN: Questions
29 CYAN="\e[${HIGHLIGHT};36m"
30 # BOLD WHITE: Hint
31 WHITE="\e[${HIGHLIGHT};37m"
32
33 # don't expose unneeded local variables
34 unset HIGHLIGHT
35
36 ## END OF FILE #################################################################