diff --git a/README.md b/README.md index 760fd89..baf1a2e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ gum style --foreground 212 --padding "1 4" \ "Nice to meet you, $NAME." # Do some work while spinning -gum spin --title "Taking a nap..." --color 212 -- sleep 5 +gum spin --title "Taking a nap..." --title.foreground 212 -- sleep 5 # Fuzzy find a file or directory find . -type f | gum filter diff --git a/examples/demo.sh b/examples/demo.sh index 3ff2334..a7f572a 100755 --- a/examples/demo.sh +++ b/examples/demo.sh @@ -12,7 +12,7 @@ COLOR=$(gum input --placeholder "What is your favorite color? (#HEX)") echo "Wait a moment, while I think of my favorite color..." -gum spin --title "Thinking..." --color 212 -- sleep 3 +gum spin --title "Thinking..." -- sleep 3 echo "I like $(gum style --padding "0 1" --background $COLOR $COLOR), too. In fact, it's my $(gum style --padding "0 1" --background $COLOR 'favorite color!')" @@ -31,7 +31,7 @@ Orange" | gum filter) echo "One sec, while I finish my drink." -gum spin --title "Chewing some $GUM bubble gum..." --color 212 -- sleep 5 +gum spin --title "Chewing some $GUM bubble gum..." -- sleep 5 gum style --width 50 --padding "1 5" --margin "1 2" --border double --border-foreground 212 \ "Well, it was nice meeting you, $(gum style --foreground 212 "$NAME"). Hope to see you soon!"\