EVOLUTION-MANAGER
Edit File: bs_theme_preview.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: Preview the currently set 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_theme_preview {bslib}"><tr><td>bs_theme_preview {bslib}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Preview the currently set theme</h2> <h3>Description</h3> <p>Launches an example shiny app via <code>run_with_themer()</code> and <code>bs_theme_dependencies()</code>. Useful for getting a quick preview of the current theme setting as well as an interactive GUI for tweaking some of the main theme settings. </p> <h3>Usage</h3> <pre> bs_theme_preview(theme = bs_theme(), ..., with_themer = 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>...</code></td> <td> <p>passed along to <code><a href="../../shiny/html/runApp.html">shiny::runApp()</a></code>.</p> </td></tr> <tr valign="top"><td><code>with_themer</code></td> <td> <p>whether or not to run the app with <code><a href="run_with_themer.html">run_with_themer()</a></code>.</p> </td></tr> </table> <h3>Details</h3> <p>The app that this launches is subject to change. </p> <h3>Value</h3> <p>nothing, this function is called for its side-effects (launching an application). </p> <h3>See Also</h3> <p><code><a href="run_with_themer.html">run_with_themer()</a></code> </p> <h3>Examples</h3> <pre> theme <- bs_theme(bg = "#6c757d", fg = "white", primary = "orange") if (interactive()) bs_theme_preview(theme) </pre> <hr /><div style="text-align: center;">[Package <em>bslib</em> version 0.4.0 <a href="00Index.html">Index</a>]</div> </body></html>