RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

shiny 1.6.0 themes #106

Closed JorisGanne closed 3 years ago

JorisGanne commented 3 years ago

I'm excited about the new version of shiny (shiny 1.6.0) and also love the features of the package shinydashboardPlus. I was wondering if it is possible to use the bslib package to adjust the theme of a shiny app as is introduced with the new version of shiny. If it is not, becomes it possible in the future (I understand it takes some time to do) or do I need to look for another solution to combine those two nice things?

If I try to adjust the theme right now with dashboardPage and the theme argument, I receive the error message "unused argument (theme = ...)

Thanks for helping me

DavidJesse21 commented 3 years ago

If you take a look at the documentation of shinydashboardPlus::dashboardPage() you can see that there is no argument called theme.

Also you should take a look at the documentation/introduction on the {bslib} website. At the bottom they refer to your question and recommend using the {fresh} package.

So if you use shinydashboardPlus::dashboardPage() you need to make use of the freshTheme argument.

JorisGanne commented 3 years ago

Thank you for the explanation, it makes the things more clear!