#!/bin/zsh

autoload -U colors && colors;

COLOR_BLACK=$'\033'"[${color[black]}m"
COLOR_RED=$'\033'"[${color[red]}m"
COLOR_GREEN=$'\033'"[${color[green]}m"
COLOR_YELLOW=$'\033'"[${color[yellow]}m"
COLOR_BLUE=$'\033'"[${color[blue]}m"
COLOR_MAGENTA=$'\033'"[${color[magenta]}m"
COLOR_CYAN=$'\033'"[${color[cyan]}m"
COLOR_WHITE=$'\033'"[${color[white]}m"

COLOR_BG_BLACK=$'\033'"[${color[bg-black]}m"
COLOR_BG_RED=$'\033'"[${color[bg-red]}m"
COLOR_BG_GREEN=$'\033'"[${color[bg-green]}m"
COLOR_BG_YELLOW=$'\033'"[${color[bg-yellow]}m"
COLOR_BG_BLUE=$'\033'"[${color[bg-blue]}m"
COLOR_BG_MAGENTA=$'\033'"[${color[bg-magenta]}m"
COLOR_BG_CYAN=$'\033'"[${color[bg-cyan]}m"
COLOR_BG_WHITE=$'\033'"[${color[bg-white]}m"

COLOR_BOLD=$'\033'"[${color[bold]}m"
COLOR_RESET=$'\033'"[${color[none]}m"

# COLOR_BLACK=`tput setaf 0`
# COLOR_RED=`tput setaf 1`
# COLOR_GREEN=`tput setaf 2`
# COLOR_YELLOW=`tput setaf 3`
# COLOR_BLUE=`tput setaf 4`
# COLOR_MAGENTA=`tput setaf 5`
# COLOR_CYAN=`tput setaf 6`
# COLOR_WHITE=`tput setaf 7`
# 
# COLOR_BG_BLACK=`tput setab 0`
# COLOR_BG_RED=`tput setab 1`
# COLOR_BG_GREEN=`tput setab 2`
# COLOR_BG_YELLOW=`tput setab 3`
# COLOR_BG_BLUE=`tput setab 4`
# COLOR_BG_MAGENTA=`tput setab 5`
# COLOR_BG_CYAN=`tput setab 6`
# COLOR_BG_WHITE=`tput setab 7`
# 
# COLOR_BOLD=`tput bold`
# COLOR_RESET=`tput sgr0`
