
Build the top-level bslib page shell shared by the app modules
Source:R/ui-helpers.R
shinyngsPageNavbar.RdApplies the package's Bootstrap 5 theme and dark navbar styling, injects
the package CSS/JS and shinyjs, adds a light/dark mode toggle and a
"Credits" link (software acknowledgements, via the shinyngs_credits
modal wired up in configureBookmarking()) to the navbar, and
constructs the resulting bslib::page_navbar(). The accent colour is
defined once here, on the theme, and everything else (CSS, plots) derives
from the resulting Bootstrap variables.
Arguments
A named list of arguments accepted by
bslib::page_navbar()(id,title,window_title, and one or morebslib::nav_panel()/bslib::nav_menu()elements).