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 ################################################################################
8 # don't use highlighed colors under systemd to match its style
9 if [ "$(cat /proc/1/comm 2>/dev/null)" = "systemd" ] ; then
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"
29 CYAN="
\e[${HIGHLIGHT};36m"
31 WHITE="
\e[${HIGHLIGHT};37m"
33 # don't expose unneeded local variables
36 ## END OF FILE #################################################################