inst/themer-demo/deploy/app.R
raw| 1 | library(shiny) |
| 2 | library(bslib) |
| 3 | library(ggplot2) |
| 4 | library(lattice) |
| 5 | library(thematic) |
| 6 | library(rlang) |
| 7 | library(curl) |
| 8 | library(DT) |
| 9 | library(knitr) |
| 10 | library(reactable) |
| 11 | library(reshape2) |
| 12 | library(bsicons) |
| 13 | library(ggridges) |
| 14 | |
| 15 | theme <- bs_theme(preset = "shiny") |
| 16 | |
| 17 | old_theme <- bs_global_get() |
| 18 | bs_global_set(theme) |
| 19 | onStop(function() bs_global_set(old_theme)) |
| 20 | |
| 21 | bslib:::as_themer_app( |
| 22 | system.file("themer-demo", package = "bslib") |
| 23 | ) |