dreamRs / shinypop

Collection of notifications, confirm dialogs and alerts for 'Shiny' applications
GNU General Public License v3.0
51 stars 7 forks source link

Add titleColor option to notiflix confirm #2

Closed tomicapretto closed 3 years ago

tomicapretto commented 3 years ago

This PR is in response to the issue #1

This adds a the argument titleColor to use_notiflix_confirm().

Before:

shinypop::use_notiflix_confirm(
  okButtonBackground = "#367fa9"
)
#[...]
shinypop::nx_confirm(
  inputId = "confirm",
  title = "Confirm?",
  button_ok = "Confirm",
  button_cancel = "Cancel"
)

1

Now:

shinypop::use_notiflix_confirm(
  okButtonBackground = "#367fa9",
  titleColor = "#367fa9"
)
#[...]
shinypop::nx_confirm(
  inputId = "confirm",
  title = "Confirm?",
  button_ok = "Confirm",
  button_cancel = "Cancel"
)

2

pvictor commented 3 years ago

Thank you!