#!/usr/bin/env bash
# Common color definitions for scripts
# Usage: source "$SCRIPT_DIR/lib/common/colors.sh"

# Color codes
readonly RED='\033[0;31m'
readonly GREEN='\033[0;32m'
readonly YELLOW='\033[1;33m'
readonly BLUE='\033[0;34m'
readonly MAGENTA='\033[0;35m'
readonly CYAN='\033[0;36m'
readonly WHITE='\033[1;37m'
readonly BOLD='\033[1m'
readonly NC='\033[0m' # No Color

# Color functions for output
color_red() { echo -e "${RED}$*${NC}"; }
color_green() { echo -e "${GREEN}$*${NC}"; }
color_yellow() { echo -e "${YELLOW}$*${NC}"; }
color_blue() { echo -e "${BLUE}$*${NC}"; }
color_cyan() { echo -e "${CYAN}$*${NC}"; }
color_bold() { echo -e "${BOLD}$*${NC}"; }

