bs_remove {bslib} | R Documentation |
Remove or retrieve Sass code from a theme
bs_remove(theme, ids = character(0))
bs_retrieve(theme, ids = character(0), include_unnamed = TRUE)
theme |
a |
ids |
a character vector of ids |
include_unnamed |
whether or not to include unnamed |
a modified bs_theme()
object.
# Remove CSS rules for print and carousels
bs4 <- bs_theme(version = 4)
bs_remove(bs4, c("_print", "_carousel"))
# Remove BS3 compatibility layer
bs_remove(bs4, "bs3compat")