rstudio / shinythemes

Themes for Shiny
http://rstudio.github.io/shinythemes/
Other
152 stars 78 forks source link

Did new Rstudio version break shinythemes? #21

Closed dejan94it closed 2 years ago

dejan94it commented 2 years ago

I updated Rstudio this morning and now the only theme available is "default"

j0gabonit0 commented 2 years ago

I had the same problem, but i recognised that in the README FILE is a note

"NOTE: This package has been superseded by the {bslib} package, which provides Bootswatch (and as well as custom) themes for both Bootstrap 3 and 4."

I replaced

fluidPage(theme = shinytheme("flatly"),

with

fluidPage(theme = bs_theme(version = 3, bootswatch = "flatly"),

and it works.

dejan94it commented 2 years ago

I had the same problem, but i recognised that in the README FILE is a note

"NOTE: This package has been superseded by the {bslib} package, which provides Bootswatch (and as well as custom) themes for both Bootstrap 3 and 4."

I replaced

fluidPage(theme = shinytheme("flatly"),

with

fluidPage(theme = bs_theme(version = 3, bootswatch = "flatly"),

and it works.

Yep! I solved a few hours ago in that way! Thanks!