---
name: bash_colors
kind: function
lang: bash
domain: shell
version: "1.0.0"
purity: pure
signature: "bash_colors() -> void"
description: "Exporta variables ANSI de colores, caracteres box drawing y simbolos unicode para uso en scripts de terminal."
tags: [bash, colors, ansi, terminal, symbols, box]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params: []
output: "exporta variables de entorno con codigos ANSI: colores (RED, GREEN, BLUE, etc.), box drawing (BOX_TL, BOX_H, etc.) y simbolos (CHECKMARK, CROSS, ARROW, etc.)"
tested: false
tests: []
test_file_path: ""
file_path: "bash/functions/shell/bash_colors.sh"
source_repo: "https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git"
source_license: "MIT"
source_file: "scripts/lib/common.sh"
---

## Ejemplo

```bash
source bash/functions/shell/bash_colors.sh
bash_colors

echo -e "${GREEN}Todo bien${NC}"
echo -e "${RED}${CROSS} Error detectado${NC}"
echo -e "${BOX_TL}${BOX_H}${BOX_TR}"
```

## Notas

Funcion pura: solo define y exporta variables de entorno, sin I/O ni efectos secundarios. Debe llamarse una vez antes de usar cualquier variable de color o simbolo.

Variables de color disponibles: PURPLE, MAGENTA, GREEN, BLUE, YELLOW, RED, CYAN, ORANGE, GRAY, DIM_GRAY, BOLD, DIM, NC.

Variables box drawing: BOX_TL, BOX_TR, BOX_BL, BOX_BR, BOX_H, BOX_V, BOX_ML, BOX_MR, BOX_SEP.

Simbolos unicode: CHECKMARK, CROSS, ARROW, BULLET, WARNING, INFO.
