Skip to content

Commit

Permalink
misc(lib): introduce LIB_GREEN_PASS and LIB_RED_FAIL
Browse files Browse the repository at this point in the history
  • Loading branch information
tcodes0 committed Sep 10, 2024
1 parent a35252e commit 0d9c8e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
export LIB_LOADED=true

# ANSI escape codes for specific colors
export LIB_COLOR_PASS="\e[7;38;05;242m PASS \e[0m"
export LIB_COLOR_FAIL="\e[2;7;38;05;197;47m FAIL \e[0m"
export LIB_COLOR_PASS="\e[7;38;05;242m PASS \e[0m" # deprecated in favor of LIB_GREEN_PASS
export LIB_COLOR_FAIL="\e[2;7;38;05;197;47m FAIL \e[0m" # deprecated in favor of LIB_RED_FAIL
export LIB_GREEN_PASS="\e[7;38;05;242m PASS \e[0m"
export LIB_RED_FAIL="\e[2;7;38;05;197;47m FAIL \e[0m"

# ANSI escape codes for visual formatting
export LIB_VISUAL_END="\e[0m"
Expand Down

0 comments on commit 0d9c8e8

Please sign in to comment.