Logg styling fix
This commit is contained in:
parent
4a6ec6c73b
commit
3c064cf2fd
6 changed files with 6 additions and 6 deletions
|
@ -160,7 +160,7 @@ logger() {
|
|||
elif [ "$1" == 'start' ]; then
|
||||
"$GUM_PATH" style " $("$GUM_PATH" style --foreground="#00ff00" "▶") $("$GUM_PATH" style --bold "$(format "$2")")"
|
||||
elif [ "$1" == 'success' ]; then
|
||||
"$GUM_PATH" style "$("$GUM_PATH" style --foreground="#00ff00" "✔") $("$GUM_PATH" style --bold "$(format "$2")")"
|
||||
"$GUM_PATH" style " $("$GUM_PATH" style --foreground="#00ff00" "✔") $("$GUM_PATH" style --bold "$(format "$2")")"
|
||||
elif [ "$1" == 'warn' ]; then
|
||||
"$GUM_PATH" style " $("$GUM_PATH" style --foreground="#d1d100" "◆") $("$GUM_PATH" style --bold --background="#ffff00" --foreground="#000000" " WARNING ") $("$GUM_PATH" style --bold "$(format "$2")")"
|
||||
else
|
||||
|
|
|
@ -100,7 +100,7 @@ logg() {
|
|||
fi
|
||||
elif [ "$TYPE" == 'success' ]; then
|
||||
if command -v gum > /dev/null; then
|
||||
gum style "$(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
gum style " $(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
else
|
||||
echo "SUCCESS: $MSG"
|
||||
fi
|
||||
|
|
|
@ -69,7 +69,7 @@ logg() {
|
|||
fi
|
||||
elif [ "$TYPE" == 'success' ]; then
|
||||
if command -v gum > /dev/null; then
|
||||
gum style "$(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
gum style " $(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
else
|
||||
echo "SUCCESS: $MSG"
|
||||
fi
|
||||
|
|
|
@ -56,7 +56,7 @@ logg() {
|
|||
fi
|
||||
elif [ "$TYPE" == 'success' ]; then
|
||||
if command -v gum > /dev/null; then
|
||||
gum style "$(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
gum style " $(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
else
|
||||
echo "SUCCESS: $MSG"
|
||||
fi
|
||||
|
|
|
@ -64,7 +64,7 @@ logg() {
|
|||
fi
|
||||
elif [ "$TYPE" == 'success' ]; then
|
||||
if command -v gum > /dev/null; then
|
||||
gum style "$(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
gum style " $(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
else
|
||||
echo "SUCCESS: $MSG"
|
||||
fi
|
||||
|
|
|
@ -109,7 +109,7 @@ logg() {
|
|||
fi
|
||||
elif [ "$TYPE" == 'success' ]; then
|
||||
if command -v gum > /dev/null; then
|
||||
gum style "$(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
gum style " $(gum style --foreground="#00ff00" "✔") $(gum style --bold "$MSG")"
|
||||
else
|
||||
echo "SUCCESS: $MSG"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue