EVOLUTION-MANAGER
Edit File: bs_remove.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Remove or retrieve Sass code from a theme</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for bs_remove {bslib}"><tr><td>bs_remove {bslib}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Remove or retrieve Sass code from a theme</h2> <h3>Description</h3> <p>Remove or retrieve Sass code from a theme </p> <h3>Usage</h3> <pre> bs_remove(theme, ids = character(0)) bs_retrieve(theme, ids = character(0), include_unnamed = TRUE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>theme</code></td> <td> <p>a <code><a href="bs_theme.html">bs_theme()</a></code> object.</p> </td></tr> <tr valign="top"><td><code>ids</code></td> <td> <p>a character vector of ids</p> </td></tr> <tr valign="top"><td><code>include_unnamed</code></td> <td> <p>whether or not to include unnamed <code><a href="../../sass/html/sass_layer.html">sass::sass_layer()</a></code>s (e.g., Bootstrap Sass variables, functions, and mixins).</p> </td></tr> </table> <h3>Value</h3> <p>a modified <code><a href="bs_theme.html">bs_theme()</a></code> object. </p> <h3>Examples</h3> <pre> # 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") </pre> <hr /><div style="text-align: center;">[Package <em>bslib</em> version 0.4.0 <a href="00Index.html">Index</a>]</div> </body></html>