From b785db39a2cfc8beb4b5274ff9b99407fc4707a0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann <daniel@debian.org> Date: Thu, 4 Sep 2008 10:05:50 +0200 Subject: Adding color functions for future usage. --- functions/color.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 functions/color.sh diff --git a/functions/color.sh b/functions/color.sh new file mode 100755 index 0000000..c4f8743 --- /dev/null +++ b/functions/color.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +# color.sh - define color values +# Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org> +# +# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +# This is free software, and you are welcome to redistribute it +# under certain conditions; see COPYING for details. + +set -e + +NO_COLOR="[0m" + +UNDERSCORE="[4m" +BLINK="[5m" + +BLACK="[0;30m" +DARK_GRAY="[1;30m" + +RED="[0;31m" +LIGHT_RED="[1;31m" + +GREEN="[0;32m" +LIGHT_GREEN="[1;32m" + +BROWN="[0;33m" +YELLOW="[1;33m" + +BLUE="[0;34m" +LIGHT_BLUE="[1;34m" + +PURPLE="[0;35m" +LIGHT_PURPLE="[1;35m" + +CYAN="[0;36m" +LIGHT_CYAN="[1;36m" + +GRAY="[0;37m" +WHITE="[1;37m" -- cgit v1.0